78c2a9f763
The big.LITTLE configurations can be optimised for by gcc, and a few users wonder what they should choose when they have such CPUs. Add new entries for those big.LITTLE configurations. Note: the various combos were added in various gcc versions, but only really worked in later versions: Variant | Introduced in | First built in ----------+---------------+---------------- a15-a7 | 4.9 | 4.9 a17-a7 | 5 | 5 a57-a53 | 4.9 | 6 a72-a53 | 5 | 6 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
40 lines
1.6 KiB
Plaintext
40 lines
1.6 KiB
Plaintext
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM
|
|
bool "Sourcery CodeBench ARM 2014.05"
|
|
depends on BR2_arm
|
|
# a15/a7 appeared in gcc-4.9, a17/a7 in gcc-5, a57/a53 and a72/a53
|
|
# in gcc-6, or they each were broken earlier than that.
|
|
depends on !BR2_cortex_a15_a7 && !BR2_cortex_a17_a7
|
|
depends on !BR2_cortex_a57_53 && !BR2_cortex_a72_53
|
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
|
depends on BR2_ARM_EABI
|
|
# Unsupported ARM cores
|
|
depends on !BR2_cortex_a12 && !BR2_cortex_a17 && !BR2_ARM_CPU_ARMV8
|
|
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_13
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
|
help
|
|
Sourcery CodeBench toolchain for the ARM architecture, from
|
|
Mentor Graphics. It uses gcc 4.8.3, binutils 2.24.51, glibc
|
|
2.18 and gdb 7.7.50, kernel headers 3.13. It has support
|
|
for the following variants:
|
|
- ARMv5TE, little endian, soft-float, glibc
|
|
Select ARM926T, ARM10T, XScale or another ARMv5 core
|
|
Select BR2_SOFT_FLOAT
|
|
- ARMv4T, little endian, soft-float, glibc
|
|
Select ARM720T, ARM920T, ARM922T or another ARMv4 core
|
|
Select BR2_SOFT_FLOAT
|
|
- ARMv7-A, Thumb 2, little endian, soft-float, glibc
|
|
Select Cortex-A8, Cortex-A9 or another ARMv7-A core
|
|
Select BR2_SOFT_FLOAT
|
|
Set BR2_TARGET_OPTIMIZATION to -mthumb
|
|
|
|
comment "Sourcery CodeBench toolchains available for the EABI ABI"
|
|
depends on BR2_arm
|
|
depends on !BR2_ARM_EABI
|
|
depends on !BR2_STATIC_LIBS
|