|
@@ -8,6 +8,12 @@ choice
|
|
|
comment "glibc toolchains only available with shared lib support"
|
|
|
depends on BR2_STATIC_LIBS
|
|
|
|
|
|
+# Kept toolchains sorted by architecture in order to use some toolchain
|
|
|
+# as default choice
|
|
|
+
|
|
|
+# Aarch64 (use Linaro toolchain by default)
|
|
|
+source "toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in"
|
|
|
+
|
|
|
comment "Linaro toolchains available for Cortex-A + EABIhf"
|
|
|
depends on BR2_arm || BR2_armeb
|
|
|
depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF
|
|
@@ -485,22 +491,6 @@ config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX
|
|
|
Toolchain for the Blackfin architecture, from
|
|
|
http://blackfin.uclinux.org.
|
|
|
|
|
|
-config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
|
|
|
- bool "Linaro AArch64 2016.05"
|
|
|
- depends on BR2_aarch64
|
|
|
- depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
|
|
- depends on !BR2_STATIC_LIBS
|
|
|
- select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
|
|
- select BR2_TOOLCHAIN_HAS_SSP
|
|
|
- select BR2_INSTALL_LIBSTDCPP
|
|
|
- select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
|
|
- select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
|
|
|
- select BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
|
|
- select BR2_TOOLCHAIN_HAS_FORTRAN
|
|
|
- help
|
|
|
- Toolchain for the AArch64 architecture, from
|
|
|
- http://www.linaro.org/engineering/armv8/
|
|
|
-
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
|
|
|
bool "CodeSourcery AArch64 2014.11"
|
|
|
depends on BR2_aarch64
|
|
@@ -628,7 +618,6 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
|
|
|
default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM
|
|
|
default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A
|
|
|
default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE
|
|
|
- default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
|
|
|
default "aarch64-amd-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
|
|
|
default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
|
|
default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
|
|
@@ -675,6 +664,13 @@ config BR2_PACKAGE_HAS_TOOLCHAIN_EXTERNAL
|
|
|
config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL
|
|
|
string
|
|
|
|
|
|
+# Kept toolchains sorted as in the choice above
|
|
|
+# The toolchain Config.in.options must define
|
|
|
+# BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL and BR2_TOOLCHAIN_EXTERNAL_PREFIX
|
|
|
+
|
|
|
+# Aarch64
|
|
|
+source "toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in.options"
|
|
|
+
|
|
|
if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
|
|
|
|
|
|
choice
|