This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
Releases: MiyooCFW/toolchain
Releases · MiyooCFW/toolchain
MiyooCFW Cross-Compile Toolchain v2.0.0
This toolchain may be used to compile software for the upcoming MiyooCFW 2.0 release. Software built with this toolchain should also be backwards-compatible with the 1.3.3 release.
Notable changes:
- This toolchain uses musl libc (the Miyoo 1.3.3 toolchain used uClibc)
- This toolchain uses gcc10
- This may change to gcc11 in a future 2.x release; 10 was chosen due to a limitation with our current buildroot version's external toolchain support
For local use:
- Download and extract the toolchain to
/opt/miyoo
- Set the following environment variables when compiling your software:
CROSS_ROOT=/opt/miyoo CROSS_TRIPLE=arm-buildroot-linux-musleabi SYSROOT="${CROSS_ROOT}/${CROSS_TRIPLE}/sysroot" PATH="${CROSS_ROOT}/bin:${SYSROOT}/usr/bin:${PATH}" ARCH=arm CROSS_COMPILE="${CROSS_TRIPLE}-"
Or use the provided docker image:
docker pull miyoocfw/toolchain:2.0.0
- The
2.0
,2
, andlatest
tags also currently point to this release, but will be updated over time, as appropriate.
- The
To use this this release as an external buildroot toolchain, please set the following Toolchain options in make menuconfig
:
- Set Toolchain type to External toolchain
- Set Toolchain to Custom toolchain
- Set Toolchain origin to Pre-installed toolchain
- Or, to download it at build-time, set it to Toolchain to be downloaded and installed
- Set Toolchain path t0
/opt/miyoo
- Or, to download it at build-time, Set Toolchain URL to
https://github.com/MiyooCFW/toolchain/releases/download/v2.0.0/miyoo-toolchain-v2.0.0-arm-buildroot-linux-musleabi_sdk-buildroot.tar.gz
- Or, to download it at build-time, Set Toolchain URL to
- Set Toolchain prefix to
arm-buildroot-linux-musleabi
- Set External toolchain gcc version to
10.x
- Set External toolchain kernel headers series to
4.14.x
- Set External toolchain C library to
musl
- Select Toolchain has SSP support?
- Select Toolchain has SSP strong support?
- Select Toolchain has C++ support?
- Select Enable MMU support
- Set Target Optimizations to
-fno-PIC -march=armv5te -mtune=arm926ej-s
- Set Target linker options to
-lc -no-pie