- Build micropython. If you aren't building on a ppc64le box you
will need a cross compiler. If it isn't available on your distro
- grab the powerpc64le-power8 toolchain from https://toolchains.bootlin.com
+ grab the powerpc64le-power8 toolchain from https://toolchains.bootlin.com.
+ You may need to set the CROSS_COMPILE environment variable
+ to the prefix used for your cross compilers. The default is
+ powerpc64le-linux-gnu-.
```
git clone https://github.com/micropython/micropython.git
ARCH = $(shell uname -m)
ifneq ("$(ARCH)", "ppc64")
ifneq ("$(ARCH)", "ppc64le")
- CROSS_COMPILE ?= powerpc64le-linux-
+ CROSS_COMPILE ?= powerpc64le-linux-gnu-
endif
endif
ARCH = $(shell uname -m)
ifneq ("$(ARCH)", "ppc64")
ifneq ("$(ARCH)", "ppc64le")
- CROSS_COMPILE ?= powerpc64le-linux-
+ CROSS_COMPILE ?= powerpc64le-linux-gnu-
endif
endif
ARCH = $(shell uname -m)
ifneq ("$(ARCH)", "ppc64")
ifneq ("$(ARCH)", "ppc64le")
- CROSS_COMPILE ?= powerpc64le-linux-
+ CROSS_COMPILE ?= powerpc64le-linux-gnu-
endif
endif