|
@@ -33,6 +33,9 @@ source "toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Confi
|
|
|
# NIOSII
|
|
|
source "toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in"
|
|
|
|
|
|
+# SH4a
|
|
|
+source "toolchain/toolchain-external/toolchain-external-codesourcery-sh/Config.in"
|
|
|
+
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A
|
|
|
bool "Arago ARMv7 2011.09"
|
|
|
depends on BR2_arm
|
|
@@ -78,32 +81,6 @@ config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE
|
|
|
|
|
|
This toolchain uses software-floating point.
|
|
|
|
|
|
-config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH
|
|
|
- bool "Sourcery CodeBench SH 2012.09"
|
|
|
- depends on BR2_sh4a || BR2_sh4aeb
|
|
|
- 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_TOOLCHAIN_HAS_NATIVE_RPC
|
|
|
- select BR2_INSTALL_LIBSTDCPP
|
|
|
- select BR2_HOSTARCH_NEEDS_IA32_LIBS
|
|
|
- select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
|
|
|
- select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
|
|
|
- help
|
|
|
- Sourcery CodeBench toolchain for the SuperH architecture,
|
|
|
- from Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51,
|
|
|
- glibc 2.16, uClibc 0.9.30, gdb 7.4.50 and kernel headers
|
|
|
- 3.5.4. It has support for the following variants:
|
|
|
- - SH4A, glibc, little endian
|
|
|
- Default.
|
|
|
- - SH4A, glibc, big endian
|
|
|
- Add -mb to BR2_TARGET_OPTIMIZATION
|
|
|
- - SH4A, uClibc, little endian
|
|
|
- Not usable in Buildroot yet.
|
|
|
- - SH4A, uClibc, big endian
|
|
|
- Not usable in Buildroot yet.
|
|
|
-
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64
|
|
|
bool "Sourcery CodeBench AMD64 2015.11"
|
|
|
depends on BR2_x86_64
|
|
@@ -265,7 +242,6 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
|
|
|
default "arceb-linux" if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC && BR2_arceb
|
|
|
default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A
|
|
|
default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE
|
|
|
- default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH
|
|
|
default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86
|
|
|
default "x86_64-amd-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64
|
|
|
default "arm-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_arm && BR2_ARM_EABI
|
|
@@ -330,6 +306,9 @@ source "toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Confi
|
|
|
# NIOSII
|
|
|
source "toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in.options"
|
|
|
|
|
|
+# SH4a
|
|
|
+source "toolchain/toolchain-external/toolchain-external-codesourcery-sh/Config.in.options"
|
|
|
+
|
|
|
if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
|
|
|
|
|
|
choice
|