2007-09-26 23:12:38 +02:00
|
|
|
if BR2_TOOLCHAIN_EXTERNAL
|
2010-12-13 17:27:39 +01:00
|
|
|
|
2009-05-29 18:37:41 +02:00
|
|
|
choice
|
2010-12-13 17:27:39 +01:00
|
|
|
prompt "Toolchain"
|
2007-02-06 19:19:38 +01:00
|
|
|
|
2016-06-08 23:40:54 +02:00
|
|
|
comment "glibc toolchains only available with shared lib support"
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on BR2_STATIC_LIBS
|
2013-11-11 18:57:32 +01:00
|
|
|
|
2015-09-20 23:45:49 +02:00
|
|
|
comment "Linaro toolchains available for Cortex-A + EABIhf"
|
|
|
|
depends on BR2_arm || BR2_armeb
|
|
|
|
depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF
|
|
|
|
depends on !BR2_STATIC_LIBS
|
|
|
|
|
2015-10-27 00:49:39 +01:00
|
|
|
# Note: we use the same symbol for both Linaro toolchains.
|
|
|
|
# Since they have different dependencies (the host), we can
|
|
|
|
# give them different prompts and different help texts.
|
2014-06-01 12:47:40 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
|
2014-11-10 11:06:31 +01:00
|
|
|
bool "Linaro ARM 2014.09"
|
2012-12-20 14:23:27 +01:00
|
|
|
depends on BR2_arm
|
2014-10-21 22:27:06 +02:00
|
|
|
depends on BR2_ARM_CPU_ARMV7A
|
2015-10-27 00:49:39 +01:00
|
|
|
depends on BR2_HOSTARCH = "x86"
|
2013-07-16 10:03:20 +02:00
|
|
|
depends on BR2_ARM_EABIHF
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2012-12-20 14:23:27 +01:00
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2016-03-15 17:40:38 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_SSP
|
2012-12-20 14:23:27 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
2014-03-01 15:52:58 +01:00
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
|
2015-08-04 20:00:35 +02:00
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
2016-07-03 15:47:48 +02:00
|
|
|
select BR2_TOOLCHAIN_HAS_FORTRAN
|
2012-12-20 14:23:27 +01:00
|
|
|
help
|
|
|
|
Linaro toolchain for the ARM architecture. It uses Linaro
|
2014-11-10 11:06:31 +01:00
|
|
|
GCC 2014.09 (based on gcc 4.9), Linaro GDB 2013.10 (based on
|
|
|
|
GDB 7.6), eglibc 2.19, Binutils 2014.09 (based on 2.24). It
|
2013-09-02 18:06:39 +02:00
|
|
|
generates code that runs on all Cortex-A profile devices,
|
|
|
|
but tuned for the Cortex-A9. The code generated is Thumb 2,
|
|
|
|
with the hard floating point calling convention, and uses
|
|
|
|
the VFPv3-D16 FPU instructions.
|
2012-12-20 14:23:27 +01:00
|
|
|
|
2015-10-27 00:49:39 +01:00
|
|
|
# See the note above.
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
|
2016-09-24 11:37:51 +02:00
|
|
|
bool "Linaro ARM 2016.05"
|
2015-10-27 00:49:39 +01:00
|
|
|
depends on BR2_arm
|
|
|
|
depends on BR2_ARM_CPU_ARMV7A
|
|
|
|
depends on BR2_HOSTARCH = "x86_64"
|
|
|
|
depends on BR2_ARM_EABIHF
|
|
|
|
depends on !BR2_STATIC_LIBS
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2016-03-15 17:40:38 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_SSP
|
2015-10-27 00:49:39 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
|
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
2016-07-03 15:47:48 +02:00
|
|
|
select BR2_TOOLCHAIN_HAS_FORTRAN
|
2015-10-27 00:49:39 +01:00
|
|
|
help
|
|
|
|
Linaro toolchain for the ARM architecture. It uses Linaro
|
2016-09-24 11:37:51 +02:00
|
|
|
GCC 2016.05 (based on gcc 5.3.1), Linaro GDB 2016.05 (based on
|
|
|
|
GDB 7.11.1), glibc 2.21, Binutils 2016.05 (based on 2.25). It
|
2015-10-27 00:49:39 +01:00
|
|
|
generates code that runs on all Cortex-A profile devices,
|
|
|
|
but tuned for the Cortex-A9. The code generated is Thumb 2,
|
|
|
|
with the hard floating point calling convention, and uses
|
|
|
|
the VFPv3-D16 FPU instructions.
|
|
|
|
|
2015-10-27 00:49:40 +01:00
|
|
|
# See the note above.
|
2014-03-05 23:23:40 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
|
2014-11-10 11:06:31 +01:00
|
|
|
bool "Linaro armeb 2014.09"
|
2014-03-05 23:23:40 +01:00
|
|
|
depends on BR2_armeb
|
2014-10-21 22:27:06 +02:00
|
|
|
depends on BR2_ARM_CPU_ARMV7A
|
2015-10-27 00:49:40 +01:00
|
|
|
depends on BR2_HOSTARCH = "x86"
|
2014-03-05 23:23:40 +01:00
|
|
|
depends on BR2_ARM_EABIHF
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2014-03-05 23:23:40 +01:00
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2016-03-15 17:40:38 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_SSP
|
2014-03-05 23:23:40 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
|
2015-08-04 20:00:35 +02:00
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
2016-07-03 15:47:48 +02:00
|
|
|
select BR2_TOOLCHAIN_HAS_FORTRAN
|
2014-03-05 23:23:40 +01:00
|
|
|
help
|
|
|
|
Linaro toolchain for the ARM big endian architecture. It
|
2014-11-10 11:06:31 +01:00
|
|
|
uses Linaro GCC 2014.09 (based on gcc 4.9), Linaro GDB
|
|
|
|
2013.10 (based on GDB 7.6), eglibc 2.19, Binutils 2014.09
|
2014-03-05 23:23:40 +01:00
|
|
|
(based on 2.24). It generates code that runs on all Cortex-A
|
|
|
|
profile devices, but tuned for the Cortex-A9. The code
|
|
|
|
generated is Thumb 2, with the hard floating point calling
|
|
|
|
convention, and uses the VFPv3-D16 FPU instructions.
|
|
|
|
|
2015-10-27 00:49:40 +01:00
|
|
|
# See the note above.
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
|
2016-09-24 11:37:52 +02:00
|
|
|
bool "Linaro armeb 2016.05"
|
2015-10-27 00:49:40 +01:00
|
|
|
depends on BR2_armeb
|
|
|
|
depends on BR2_ARM_CPU_ARMV7A
|
|
|
|
depends on BR2_HOSTARCH = "x86_64"
|
|
|
|
depends on BR2_ARM_EABIHF
|
|
|
|
depends on !BR2_STATIC_LIBS
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2016-03-15 17:40:38 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_SSP
|
2015-10-27 00:49:40 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
|
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
|
|
|
help
|
|
|
|
Linaro toolchain for the ARM big endian architecture. It
|
2016-09-24 11:37:52 +02:00
|
|
|
uses Linaro GCC 2016.05 (based on gcc 5.3.1), Linaro GDB
|
|
|
|
2016.05 (based on GDB 7.11.1), glibc 2.21, Binutils 2016.05
|
2015-10-27 00:49:40 +01:00
|
|
|
(based on 2.25). It generates code that runs on all Cortex-A
|
|
|
|
profile devices, but tuned for the Cortex-A9. The code
|
|
|
|
generated is Thumb 2, with the hard floating point calling
|
|
|
|
convention, and uses the VFPv3-D16 FPU instructions.
|
|
|
|
|
2015-12-19 19:14:40 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM
|
2014-09-15 23:49:35 +02:00
|
|
|
bool "Sourcery CodeBench ARM 2014.05"
|
2013-05-26 14:08:19 +02:00
|
|
|
depends on BR2_arm
|
|
|
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
2013-07-16 10:03:20 +02:00
|
|
|
depends on BR2_ARM_EABI
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2013-05-26 14:08:19 +02:00
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2016-03-15 17:40:38 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_SSP
|
2013-05-26 14:08:19 +02:00
|
|
|
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
select BR2_HOSTARCH_NEEDS_IA32_LIBS
|
2014-09-15 23:49:35 +02:00
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
|
2015-08-04 20:00:35 +02:00
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
2013-05-26 14:08:19 +02:00
|
|
|
help
|
|
|
|
Sourcery CodeBench toolchain for the ARM architecture, from
|
2014-09-15 23:49:35 +02:00
|
|
|
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
|
2013-05-26 14:08:19 +02:00
|
|
|
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
|
|
|
|
|
2013-07-16 10:03:20 +02:00
|
|
|
comment "Sourcery CodeBench toolchains available for the EABI ABI"
|
|
|
|
depends on BR2_arm
|
|
|
|
depends on !BR2_ARM_EABI
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2013-07-16 10:03:20 +02:00
|
|
|
|
2015-12-19 19:14:46 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A
|
2013-06-08 11:14:17 +02:00
|
|
|
bool "Arago ARMv7 2011.09"
|
|
|
|
depends on BR2_arm
|
|
|
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
2014-10-21 22:27:06 +02:00
|
|
|
depends on BR2_ARM_CPU_ARMV7A
|
2013-07-16 10:03:20 +02:00
|
|
|
depends on BR2_ARM_EABI
|
2015-12-26 17:05:45 +01:00
|
|
|
depends on BR2_ARM_CPU_HAS_VFPV3
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2013-06-08 11:14:17 +02:00
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2016-03-15 17:40:38 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_SSP
|
2013-06-08 11:14:17 +02:00
|
|
|
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
select BR2_HOSTARCH_NEEDS_IA32_LIBS
|
2015-08-04 20:00:35 +02:00
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
|
2014-03-01 15:52:58 +01:00
|
|
|
# kernel headers: 2.6.31
|
2013-06-08 11:14:17 +02:00
|
|
|
help
|
|
|
|
Texas Instruments Arago 2011.09 toolchain, with gcc 4.5.3,
|
|
|
|
binutils 2.20.1, glibc 2.12, gdb 7.2.
|
|
|
|
|
2013-07-16 10:03:20 +02:00
|
|
|
This toolchain uses -mfloat-abi=softfp (i.e can use FPU
|
|
|
|
instructions, but passes floating point function arguments
|
|
|
|
in integer registers), and requires a VFPv3 floating point
|
|
|
|
unit to work properly. This unit is available on most
|
|
|
|
Cortex-A ARM processors, but not all.
|
2013-06-08 11:14:17 +02:00
|
|
|
|
2015-12-19 19:14:46 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE
|
2013-06-08 11:14:18 +02:00
|
|
|
bool "Arago ARMv5 2011.09"
|
|
|
|
depends on BR2_arm
|
|
|
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
2014-10-21 22:27:06 +02:00
|
|
|
depends on !BR2_ARM_CPU_ARMV4
|
2013-07-16 10:03:20 +02:00
|
|
|
depends on BR2_ARM_EABI
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2013-06-08 11:14:18 +02:00
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2016-03-15 17:40:38 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_SSP
|
2013-06-08 11:14:18 +02:00
|
|
|
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
select BR2_HOSTARCH_NEEDS_IA32_LIBS
|
2015-08-04 20:00:35 +02:00
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
|
2014-03-01 15:52:58 +01:00
|
|
|
# kernel headers: 2.6.31
|
2013-06-08 11:14:18 +02:00
|
|
|
help
|
|
|
|
Texas Instruments Arago ARMv5 2011.09 toolchain, with gcc
|
|
|
|
4.5.3, binutils 2.20.1, glibc 2.12, gdb 7.2.
|
|
|
|
|
|
|
|
This toolchain uses software-floating point.
|
|
|
|
|
2015-11-21 17:36:19 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
2016-04-30 23:10:25 +02:00
|
|
|
bool "Sourcery CodeBench MIPS 2016.05"
|
2013-06-08 11:14:14 +02:00
|
|
|
depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
2016-09-30 11:36:49 +02:00
|
|
|
depends on BR2_MIPS_CPU_MIPS32R2 || BR2_MIPS_CPU_MIPS64R2
|
2012-12-29 07:14:48 +01:00
|
|
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
2013-08-13 10:45:44 +02:00
|
|
|
depends on !BR2_MIPS_NABI32
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2012-12-20 14:23:21 +01:00
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2016-03-15 17:40:38 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_SSP
|
2012-12-20 14:23:21 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
2012-12-29 07:14:50 +01:00
|
|
|
select BR2_HOSTARCH_NEEDS_IA32_LIBS
|
2016-04-30 23:10:25 +02:00
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
|
2015-11-21 17:36:20 +01:00
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
2012-12-20 14:23:21 +01:00
|
|
|
help
|
|
|
|
Sourcery CodeBench toolchain for the MIPS architecture, from
|
2016-04-30 23:10:25 +02:00
|
|
|
Mentor Graphics. It uses gcc 5.3, binutils 2.25.51, glibc
|
|
|
|
2.23, uClibc 0.9.30 and gdb 7.10.50, kernel headers 4.4.1. It
|
2014-12-03 17:52:24 +01:00
|
|
|
has support for the following variants:
|
|
|
|
- MIPS32r2 - Big-Endian, 2008 NaN, O32
|
|
|
|
Select MIPS (big endian) core
|
2012-12-20 14:23:21 +01:00
|
|
|
Disable BR2_SOFT_FLOAT
|
2014-12-03 17:52:24 +01:00
|
|
|
Set BR2_TARGET_OPTIMIZATION to -mnan=2008
|
|
|
|
- MIPS32r2 - Big-Endian, O32
|
|
|
|
Select MIPS (big endian) core
|
2012-12-20 14:23:21 +01:00
|
|
|
Disable BR2_SOFT_FLOAT
|
2014-12-03 17:52:24 +01:00
|
|
|
- MIPS32r2 - Big-Endian, O32, MIPS16
|
|
|
|
Select MIPS (big endian) core
|
2012-12-20 14:23:21 +01:00
|
|
|
Disable BR2_SOFT_FLOAT
|
2014-12-03 17:52:24 +01:00
|
|
|
Set BR2_TARGET_OPTIMIZATION to -mips16
|
|
|
|
- MIPS32r2 - Big-Endian, Soft-Float, O32
|
|
|
|
Select MIPS (big endian) core
|
2012-12-20 14:23:21 +01:00
|
|
|
Select BR2_SOFT_FLOAT
|
2014-12-03 17:52:24 +01:00
|
|
|
- MIPS32r2 - Big-Endian, Soft-Float, O32, MIPS16
|
|
|
|
Select MIPS (big endian) core
|
2012-12-20 14:23:21 +01:00
|
|
|
Select BR2_SOFT_FLOAT
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to -mips16
|
2014-12-03 17:52:24 +01:00
|
|
|
- MIPS32r2 - Little-Endian, 2008 NaN, O32
|
|
|
|
Select MIPS (little endian) core
|
|
|
|
Disable BR2_SOFT_FLOAT
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to -mnan=2008
|
|
|
|
- MIPS32r2 - Little-Endian, O32
|
|
|
|
Select MIPS (little endian) core
|
|
|
|
Disable BR2_SOFT_FLOAT
|
|
|
|
- MIPS32r2 - Little-Endian, O32, MIPS16
|
|
|
|
Select MIPS (little endian) core
|
2012-12-20 14:23:21 +01:00
|
|
|
Disable BR2_SOFT_FLOAT
|
2013-10-14 11:52:25 +02:00
|
|
|
Set BR2_TARGET_OPTIMIZATION to -mips16
|
2014-12-03 17:52:24 +01:00
|
|
|
- MIPS32r2 - Little-Endian, Soft-Float, O32
|
|
|
|
Select MIPS (little endian) core
|
2012-12-20 14:23:21 +01:00
|
|
|
Select BR2_SOFT_FLOAT
|
2014-12-03 17:52:24 +01:00
|
|
|
- MIPS32r2 - Little-Endian, Soft-Float, O32, MIPS16
|
|
|
|
Select MIPS (little endian) core
|
2012-12-20 14:23:21 +01:00
|
|
|
Select BR2_SOFT_FLOAT
|
2013-10-14 11:52:25 +02:00
|
|
|
Set BR2_TARGET_OPTIMIZATION to -mips16
|
2014-12-03 17:52:24 +01:00
|
|
|
- MIPS32r2 - Little-Endian, Soft-Float, O32, microMIPS
|
|
|
|
Select MIPS (little endian) core
|
|
|
|
Select BR2_SOFT_FLOAT
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to -mmicromips
|
|
|
|
- MIPS32r2 - uClibc, Big-Endian, 2008 NaN, O32
|
|
|
|
Not usable in Buildroot yet.
|
|
|
|
- MIPS32r2 - uClibc, Big-Endian, O32
|
2012-12-20 14:23:21 +01:00
|
|
|
Not usable in Buildroot yet.
|
2014-12-03 17:52:24 +01:00
|
|
|
- MIPS32r2 - uClibc, Big-Endian, Soft-Float, O32
|
2012-12-20 14:23:21 +01:00
|
|
|
Not usable in Buildroot yet.
|
2014-12-03 17:52:24 +01:00
|
|
|
- MIPS32r2 - uClibc, Little-Endian, 2008 NaN, O32
|
2012-12-20 14:23:21 +01:00
|
|
|
Not usable in Buildroot yet.
|
2014-12-03 17:52:24 +01:00
|
|
|
- MIPS32r2 - uClibc, Little-Endian, O32
|
2012-12-20 14:23:21 +01:00
|
|
|
Not usable in Buildroot yet.
|
2014-12-03 17:52:24 +01:00
|
|
|
- MIPS32r2 - uClibc, Little-Endian, Soft-Float, O32
|
|
|
|
Not usable in Buildroot yet.
|
|
|
|
- MIPS64r2 - Big-Endian, N64
|
|
|
|
Select MIPS64 (big endian) core
|
|
|
|
Select the n64 ABI
|
|
|
|
Disable BR2_SOFT_FLOAT
|
|
|
|
- MIPS64r2 - Big-Endian, Soft-Float, N64
|
|
|
|
Select MIPS64 (big endian) core
|
|
|
|
Select the n64 ABI
|
|
|
|
Select BR2_SOFT_FLOAT
|
|
|
|
- MIPS64r2 - Little-Endian, N64
|
|
|
|
Select MIPS64 (little endian) core
|
|
|
|
Select the n64 ABI
|
|
|
|
Disable BR2_SOFT_FLOAT
|
|
|
|
- MIPS64r2 - Little-Endian, Soft-Float, N64
|
|
|
|
Select MIPS64 (little endian) core
|
|
|
|
Select the n64 ABI
|
|
|
|
Select BR2_SOFT_FLOAT
|
2012-12-20 14:23:21 +01:00
|
|
|
|
2013-08-13 10:45:44 +02:00
|
|
|
comment "Sourcery CodeBench toolchains are only available for MIPS/MIPS64 o32 and n64"
|
|
|
|
depends on BR2_MIPS_NABI32
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2013-08-13 10:45:44 +02:00
|
|
|
|
2015-12-15 17:21:25 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS
|
2016-07-04 12:17:40 +02:00
|
|
|
bool "Codescape IMG GNU Linux Toolchain 2016.05"
|
2015-12-15 17:21:25 +01:00
|
|
|
depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
|
|
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
2016-09-30 11:36:49 +02:00
|
|
|
depends on BR2_MIPS_CPU_MIPS32R6 || (BR2_MIPS_CPU_MIPS64R6 && !BR2_MIPS_SOFT_FLOAT)
|
2015-12-15 17:21:25 +01:00
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
select BR2_HOSTARCH_NEEDS_IA32_LIBS
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
|
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
2016-07-04 12:17:40 +02:00
|
|
|
select BR2_TOOLCHAIN_HAS_FORTRAN
|
2015-12-15 17:21:25 +01:00
|
|
|
help
|
2016-03-08 10:46:09 +01:00
|
|
|
Codescape IMG GNU Linux Toolchain 2015.10 for the MIPS
|
2015-12-15 17:21:25 +01:00
|
|
|
architecture, from Imagination Technologies. It uses gcc
|
|
|
|
4.9.2, binutils 2.24.90, glibc 2.20, gdb 7.9.1 and kernel
|
|
|
|
headers 4.0. It has support for the following variants:
|
2016-03-08 10:46:09 +01:00
|
|
|
- MIPS32r6 - Big-Endian, Hard-Float, 2008 NaN, o32 ABI
|
2015-12-15 17:21:25 +01:00
|
|
|
Select 'MIPS (big endian)' Target Architecture
|
|
|
|
Select 'mips 32r6' Target Architecture Variant
|
2016-03-08 10:46:09 +01:00
|
|
|
Disable 'Use soft-float'
|
|
|
|
- MIPS32r6 - Big-Endian, Soft-Float, 2008 NaN, o32 ABI
|
|
|
|
Select 'MIPS (big endian)' Target Architecture
|
|
|
|
Select 'mips 32r6' Target Architecture Variant
|
|
|
|
Enable 'Use soft-float'
|
|
|
|
- MIPS32r6 - Little-Endian, Hard-Float, 2008 NaN, o32 ABI
|
|
|
|
Select 'MIPS (little endian)' Target Architecture
|
|
|
|
Select 'mips 32r6' Target Architecture Variant
|
|
|
|
Disable 'Use soft-float'
|
|
|
|
- MIPS32r6 - Little-Endian, Soft-Float, 2008 NaN, o32 ABI
|
|
|
|
Select 'MIPS (little endian)' Target Architecture
|
|
|
|
Select 'mips 32r6' Target Architecture Variant
|
|
|
|
Enable 'Use soft-float'
|
|
|
|
- MIPS32r6 - Little-Endian, Hard-Float, 2008 NaN, o32 ABI, microMIPS
|
2015-12-15 17:21:25 +01:00
|
|
|
Select 'MIPS (little endian)' Target Architecture
|
|
|
|
Select 'mips 32r6' Target Architecture Variant
|
2016-03-08 10:46:09 +01:00
|
|
|
Disable 'Use soft-float'
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to '-mmicromips'
|
|
|
|
- MIPS32r6 - Little-Endian, Soft-Float, 2008 NaN, o32 ABI, microMIPS
|
2015-12-15 17:21:25 +01:00
|
|
|
Select 'MIPS (little endian)' Target Architecture
|
|
|
|
Select 'mips 32r6' Target Architecture Variant
|
2016-03-08 10:46:09 +01:00
|
|
|
Enable 'Use soft-float'
|
2015-12-15 17:21:25 +01:00
|
|
|
Set BR2_TARGET_OPTIMIZATION to '-mmicromips'
|
2016-03-08 10:46:09 +01:00
|
|
|
- MIPS64r6 - Big-Endian, Hard-Float, 2008 NaN, n32 ABI
|
2015-12-15 17:21:25 +01:00
|
|
|
Select 'MIPS64 (big endian)' Target Architecture
|
|
|
|
Select 'mips 64r6' Target Architecture Variant
|
|
|
|
Select 'n32' Target ABI
|
2016-03-08 10:46:09 +01:00
|
|
|
Disable 'Use soft-float'
|
|
|
|
- MIPS64r6 - Little-Endian, Hard-Float, 2008 NaN, n32 ABI
|
2015-12-15 17:21:25 +01:00
|
|
|
Select 'MIPS64 (little endian)' Target Architecture
|
|
|
|
Select 'mips 64r6' Target Architecture Variant
|
|
|
|
Select 'n32' Target ABI
|
2016-03-08 10:46:09 +01:00
|
|
|
Disable 'Use soft-float'
|
|
|
|
- MIPS64r6 - Big-Endian, Hard-Float, 2008 NaN, n64 ABI
|
2015-12-15 17:21:25 +01:00
|
|
|
Select 'MIPS64 (big endian)' Target Architecture
|
|
|
|
Select 'mips 64r6' Target Architecture Variant
|
|
|
|
Select 'n64' Target ABI
|
2016-03-08 10:46:09 +01:00
|
|
|
Disable 'Use soft-float'
|
|
|
|
- MIPS64r6 - Little-Endian, Hard-Float, 2008 NaN, n64 ABI
|
2015-12-15 17:21:25 +01:00
|
|
|
Select 'MIPS64 (little endian)' Target Architecture
|
|
|
|
Select 'mips 64r6' Target Architecture Variant
|
|
|
|
Select 'n64' Target ABI
|
2016-03-08 10:46:09 +01:00
|
|
|
Disable 'Use soft-float'
|
2015-12-15 17:21:25 +01:00
|
|
|
|
2015-12-15 17:21:24 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS
|
2016-07-04 12:17:40 +02:00
|
|
|
bool "Codescape MTI GNU Linux Toolchain 2016.05"
|
2015-12-15 17:21:24 +01:00
|
|
|
depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
|
|
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
2016-09-30 11:36:53 +02:00
|
|
|
depends on BR2_MIPS_CPU_MIPS32R2 || (BR2_MIPS_CPU_MIPS64R2 && !BR2_MIPS_SOFT_FLOAT) || \
|
|
|
|
BR2_MIPS_CPU_MIPS32R5 || (BR2_MIPS_CPU_MIPS64R5 && !BR2_MIPS_SOFT_FLOAT)
|
2015-12-15 17:21:24 +01:00
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
select BR2_HOSTARCH_NEEDS_IA32_LIBS
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
|
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
2016-07-04 12:17:40 +02:00
|
|
|
select BR2_TOOLCHAIN_HAS_FORTRAN
|
2015-12-15 17:21:24 +01:00
|
|
|
help
|
2016-03-08 10:46:09 +01:00
|
|
|
Codescape MTI GNU Linux Toolchain 2015.10 for the MIPS
|
2015-12-15 17:21:24 +01:00
|
|
|
architecture, from Imagination Technologies. It uses gcc
|
|
|
|
4.9.2, binutils 2.24.90, glibc 2.20, gdb 7.9.1 and kernel
|
|
|
|
headers 4.0. It has support for the following variants:
|
2016-03-08 10:46:09 +01:00
|
|
|
- MIPS32r2 - Big-Endian, Hard-Float, Legacy NaN, o32 ABI
|
2015-12-15 17:21:24 +01:00
|
|
|
Select 'MIPS (big endian)' Target Architecture
|
|
|
|
Select 'mips 32r2' Target Architecture Variant
|
2016-03-08 10:46:09 +01:00
|
|
|
Disable 'Use soft-float'
|
|
|
|
- MIPS32r2 - Big-Endian, Hard-Float, 2008 NaN, o32 ABI
|
2015-12-15 17:21:24 +01:00
|
|
|
Select 'MIPS (big endian)' Target Architecture
|
|
|
|
Select 'mips 32r2' Target Architecture Variant
|
2016-03-08 10:46:09 +01:00
|
|
|
Disable 'Use soft-float'
|
2015-12-15 17:21:24 +01:00
|
|
|
Set BR2_TARGET_OPTIMIZATION to '-mnan=2008'
|
2016-03-08 10:46:09 +01:00
|
|
|
- MIPS32r2 - Big-Endian, Soft-Float, Legacy NaN, o32 ABI
|
|
|
|
Select 'MIPS (big endian)' Target Architecture
|
|
|
|
Select 'mips 32r2' Target Architecture Variant
|
|
|
|
Enable 'Use soft-float'
|
|
|
|
- MIPS32r2 - Little-Endian, Hard-Float, Legacy NaN, o32 ABI
|
|
|
|
Select 'MIPS (little endian)' Target Architecture
|
|
|
|
Select 'mips 32r2' Target Architecture Variant
|
|
|
|
Disable 'Use soft-float'
|
|
|
|
- MIPS32r2 - Little-Endian, Hard-Float, 2008 NaN, o32 ABI
|
2015-12-15 17:21:24 +01:00
|
|
|
Select 'MIPS (little endian)' Target Architecture
|
|
|
|
Select 'mips 32r2' Target Architecture Variant
|
2016-03-08 10:46:09 +01:00
|
|
|
Disable 'Use soft-float'
|
2015-12-15 17:21:24 +01:00
|
|
|
Set BR2_TARGET_OPTIMIZATION to '-mnan=2008'
|
2016-03-08 10:46:09 +01:00
|
|
|
- MIPS32r2 - Little-Endian, Soft-Float, Legacy NaN, o32 ABI
|
|
|
|
Select 'MIPS (little endian)' Target Architecture
|
|
|
|
Select 'mips 32r2' Target Architecture Variant
|
|
|
|
Enable 'Use soft-float'
|
|
|
|
- MIPS32r2 - Little-Endian, Hard-Float, 2008 NaN, o32 ABI, microMIPS
|
|
|
|
Select 'MIPS (little endian)' Target Architecture
|
|
|
|
Select 'mips 32r2' Target Architecture Variant
|
|
|
|
Enable 'Use soft-float'
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to '-mmicromips'
|
|
|
|
- MIPS32r2 - Little-Endian, Soft-Float, Legacy NaN, o32 ABI, microMIPS
|
2015-12-15 17:21:24 +01:00
|
|
|
Select 'MIPS (little endian)' Target Architecture
|
|
|
|
Select 'mips 32r2' Target Architecture Variant
|
2016-03-08 10:46:09 +01:00
|
|
|
Disable 'Use soft-float'
|
2015-12-15 17:21:24 +01:00
|
|
|
Set BR2_TARGET_OPTIMIZATION to '-mmicromips'
|
2016-03-08 10:46:09 +01:00
|
|
|
- MIPS64r2 - Big-Endian, Hard-Float, Legacy NaN, n32 ABI
|
2015-12-15 17:21:24 +01:00
|
|
|
Select 'MIPS64 (big endian)' Target Architecture
|
|
|
|
Select 'mips 64r2' Target Architecture Variant
|
|
|
|
Select 'n32' Target ABI
|
2016-03-08 10:46:09 +01:00
|
|
|
Disable 'Use soft-float'
|
|
|
|
- MIPS64r2 - Little-Endian, Hard-Float, Legacy NaN, n32 ABI
|
2015-12-15 17:21:24 +01:00
|
|
|
Select 'MIPS64 (little endian)' Target Architecture
|
|
|
|
Select 'mips 64r2' Target Architecture Variant
|
|
|
|
Select 'n32' Target ABI
|
2016-03-08 10:46:09 +01:00
|
|
|
Disable 'Use soft-float'
|
|
|
|
- MIPS64r2 - Big-Endian, Hard-Float, Legacy NaN, n64 ABI
|
2015-12-15 17:21:24 +01:00
|
|
|
Select 'MIPS64 (big endian)' Target Architecture
|
|
|
|
Select 'mips 64r2' Target Architecture Variant
|
|
|
|
Select 'n64' Target ABI
|
2016-03-08 10:46:09 +01:00
|
|
|
Disable 'Use soft-float'
|
|
|
|
- MIPS64r2 - Little-Endian, Hard-Float, Legacy NaN, n64 ABI
|
2015-12-15 17:21:24 +01:00
|
|
|
Select 'MIPS64 (little endian)' Target Architecture
|
|
|
|
Select 'mips 64r2' Target Architecture Variant
|
|
|
|
Select 'n64' Target ABI
|
2016-03-08 10:46:09 +01:00
|
|
|
Disable 'Use soft-float'
|
2015-12-15 17:21:24 +01:00
|
|
|
|
2015-11-21 17:36:16 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
|
2016-05-19 00:23:30 +02:00
|
|
|
bool "Sourcery CodeBench Nios-II 2016.05"
|
2014-08-31 23:33:39 +02:00
|
|
|
depends on BR2_nios2
|
|
|
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2014-08-31 23:33:39 +02:00
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2016-03-15 17:40:38 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_SSP
|
2014-08-31 23:33:39 +02:00
|
|
|
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
select BR2_HOSTARCH_NEEDS_IA32_LIBS
|
2016-05-19 00:23:30 +02:00
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
|
2015-11-21 17:36:17 +01:00
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
2016-02-20 13:42:46 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # based-on binutils-2.25.1
|
2014-08-31 23:33:39 +02:00
|
|
|
help
|
|
|
|
Sourcery CodeBench toolchain for the Nios-II architecture,
|
2016-05-19 00:23:30 +02:00
|
|
|
from Mentor Graphics. It uses gcc 5.3, binutils 2.25.51,
|
|
|
|
glibc 2.23, gdb 7.10.50 and kernel headers 4.4.
|
2014-08-31 23:33:39 +02:00
|
|
|
|
2015-12-19 19:14:42 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH
|
2012-11-04 08:34:21 +01:00
|
|
|
bool "Sourcery CodeBench SH 2012.09"
|
|
|
|
depends on BR2_sh4a || BR2_sh4aeb
|
2012-12-29 07:14:48 +01:00
|
|
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2012-11-04 08:34:21 +01:00
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2016-03-15 17:40:38 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_SSP
|
2012-11-04 08:34:21 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
2012-12-29 07:14:50 +01:00
|
|
|
select BR2_HOSTARCH_NEEDS_IA32_LIBS
|
2014-03-01 15:52:58 +01:00
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
|
2015-08-04 20:00:35 +02:00
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
|
2012-11-04 08:34:21 +01:00
|
|
|
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:
|
2013-11-11 17:23:23 +01:00
|
|
|
- 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.
|
2012-11-04 08:34:21 +01:00
|
|
|
|
2015-11-21 17:36:14 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64
|
2015-11-21 17:36:15 +01:00
|
|
|
bool "Sourcery CodeBench AMD64 2015.11"
|
2015-03-03 16:52:31 +01:00
|
|
|
depends on BR2_x86_64
|
|
|
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
|
|
|
depends on !BR2_STATIC_LIBS
|
|
|
|
depends on BR2_x86_jaguar || BR2_x86_steamroller
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2016-03-15 17:40:38 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_SSP
|
2015-03-03 16:52:31 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
select BR2_HOSTARCH_NEEDS_IA32_LIBS
|
2015-11-21 17:36:15 +01:00
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
|
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
2015-03-03 16:52:31 +01:00
|
|
|
help
|
|
|
|
Sourcery CodeBench toolchain for the amd64 (x86_64)
|
2015-11-21 17:36:15 +01:00
|
|
|
architectures, from Mentor Graphics. It uses gcc 5.2,
|
|
|
|
binutils 2.25.51, glibc 2.22, gdb 7.10.50 and kernel headers
|
|
|
|
4.2. It has support for the following variants:
|
2015-03-03 16:52:31 +01:00
|
|
|
- AMD Puma/Jaguar (family 16h), glibc
|
|
|
|
Default for x86_64, nothing special to do.
|
|
|
|
- AMD Steamroller (family 15h), glibc
|
|
|
|
Select a steamroller core.
|
|
|
|
No other architecture variants are supported since glibc
|
|
|
|
is optimized for one of these two baselines.
|
|
|
|
|
2015-12-19 19:14:43 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86
|
2012-11-04 08:34:22 +01:00
|
|
|
bool "Sourcery CodeBench x86/x86_64 2012.09"
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
2012-12-29 07:14:48 +01:00
|
|
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2014-01-15 23:17:10 +01:00
|
|
|
depends on !BR2_x86_jaguar
|
2015-03-03 16:52:30 +01:00
|
|
|
depends on !BR2_x86_steamroller
|
2012-11-04 08:34:22 +01:00
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2016-03-15 17:40:38 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_SSP
|
2012-11-04 08:34:22 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
2012-12-29 07:14:50 +01:00
|
|
|
select BR2_HOSTARCH_NEEDS_IA32_LIBS
|
2014-03-01 15:52:58 +01:00
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
|
2015-08-04 20:00:35 +02:00
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
|
2012-11-04 08:34:22 +01:00
|
|
|
help
|
|
|
|
Sourcery CodeBench toolchain for the x86/x86_64
|
|
|
|
architectures, from Mentor Graphics. It uses gcc 4.7.2,
|
|
|
|
binutils 2.23.51, glibc 2.16, gdb 7.4.50 and kernel headers
|
|
|
|
3.5.4. It has support for the following variants:
|
|
|
|
- Intel Pentium 4, glibc, 32 bits
|
|
|
|
Default for x86, nothing special to do.
|
|
|
|
- Intel Atom, glibc, 32 bits
|
|
|
|
Select an Atom core
|
|
|
|
- Intel Xeon, glibc, 64 bits
|
|
|
|
Default for x86_64, nothing special to do.
|
|
|
|
- Intel Core 2, glibc, 64 bits
|
|
|
|
Select a Core 2 core
|
|
|
|
Other architecture variants (beyond Pentium-4/Xeon) are
|
|
|
|
supported as well, but glibc is not optimised for it.
|
|
|
|
|
2015-12-19 19:14:44 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX
|
toolchain-external: remove experimental Blackfin toolchain
The 2014R1 toolchain is provided in two flavours by Analog Devices:
one based on gcc 4.3.x, which is considered stable, and one based on
gcc 4.5.x, considered experimental. In commit
5a65b8e185fab38824da5e9b7b5b9e781e31d368 ("toolchain-external: add ADI
Blackfin 2014R1 toolchain, remove 2012R1") both variants were added.
However, after some testing in the autobuilders, and discussion with
the Analog Devices folks, it turns out that the experimental version
of the toolchain is too experimental. It causes numerous build
failures, and the Analog Devices folks clearly say that it's an early
release and that they expect quite a few problems to show up.
Therefore, this commit removes the experimental flavor and keeps only
the stable variant. Note that the removal/renaming of the Config.in
options is not a problem, since those options were added after the
2014.05 release.
Fixes:
http://autobuild.buildroot.org/results/2a9/2a9d9c332a206fdb46bc8ba022c74d23082a6312/
http://autobuild.buildroot.org/results/e1c/e1ce0c1cdd0139208dddaa8f2441ab0e3ab2385e/
http://autobuild.buildroot.org/results/993/993aca3f4719afaa4b37524f9136fb8cdc53a066/
and more.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-07-09 23:20:22 +02:00
|
|
|
bool "Blackfin.uclinux.org 2014R1"
|
2012-06-03 16:04:39 +02:00
|
|
|
depends on BR2_bfin
|
2012-12-29 07:14:48 +01:00
|
|
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
2012-06-03 16:04:39 +02:00
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
2012-11-03 18:47:49 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
2012-06-03 16:04:39 +02:00
|
|
|
select BR2_USE_WCHAR
|
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
|
2012-12-29 07:14:50 +01:00
|
|
|
select BR2_HOSTARCH_NEEDS_IA32_LIBS
|
2014-06-01 12:47:48 +02:00
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
|
2015-08-04 20:00:35 +02:00
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
|
2016-07-03 15:47:48 +02:00
|
|
|
select BR2_TOOLCHAIN_HAS_FORTRAN
|
2012-06-03 16:04:39 +02:00
|
|
|
help
|
|
|
|
Toolchain for the Blackfin architecture, from
|
|
|
|
http://blackfin.uclinux.org.
|
|
|
|
|
2016-02-21 22:19:54 +01:00
|
|
|
# See note about Linaro ARM/ARMEB toolchains, above.
|
2014-06-01 12:47:41 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
|
2014-11-10 11:06:31 +01:00
|
|
|
bool "Linaro AArch64 14.09"
|
2013-02-02 04:46:22 +01:00
|
|
|
depends on BR2_aarch64
|
2015-10-27 00:49:41 +01:00
|
|
|
depends on BR2_HOSTARCH = "x86"
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2013-02-02 04:46:22 +01:00
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2016-03-15 17:40:38 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_SSP
|
2013-02-02 04:46:22 +01:00
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
2013-06-08 11:14:16 +02:00
|
|
|
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
2014-03-01 15:52:58 +01:00
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
|
2015-08-04 20:00:35 +02:00
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
2016-07-03 15:47:48 +02:00
|
|
|
select BR2_TOOLCHAIN_HAS_FORTRAN
|
2013-02-02 04:46:22 +01:00
|
|
|
help
|
|
|
|
Toolchain for the AArch64 architecture, from
|
|
|
|
http://www.linaro.org/engineering/armv8/
|
|
|
|
|
2016-02-21 22:19:54 +01:00
|
|
|
# See note about Linaro ARM/ARMEB toolchains, above.
|
2015-10-27 00:49:41 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
|
2016-09-24 11:37:53 +02:00
|
|
|
bool "Linaro AArch64 2016.05"
|
2015-10-27 00:49:41 +01:00
|
|
|
depends on BR2_aarch64
|
|
|
|
depends on BR2_HOSTARCH = "x86_64"
|
|
|
|
depends on !BR2_STATIC_LIBS
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2016-03-15 17:40:38 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_SSP
|
2015-10-27 00:49:41 +01:00
|
|
|
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
|
2016-07-03 15:47:48 +02:00
|
|
|
select BR2_TOOLCHAIN_HAS_FORTRAN
|
2015-10-27 00:49:41 +01:00
|
|
|
help
|
|
|
|
Toolchain for the AArch64 architecture, from
|
|
|
|
http://www.linaro.org/engineering/armv8/
|
|
|
|
|
2014-09-15 23:49:34 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
|
2015-12-30 15:30:16 +01:00
|
|
|
bool "CodeSourcery AArch64 2014.11"
|
2014-09-15 23:49:34 +02:00
|
|
|
depends on BR2_aarch64
|
|
|
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2014-09-15 23:49:34 +02:00
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2016-03-15 17:40:38 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_SSP
|
2014-09-15 23:49:34 +02:00
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
select BR2_HOSTARCH_NEEDS_IA32_LIBS
|
|
|
|
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
2015-12-30 15:30:16 +01:00
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
|
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
2014-09-15 23:49:34 +02:00
|
|
|
help
|
|
|
|
Sourcery CodeBench toolchain for the AArch64 architecture,
|
2015-12-30 15:30:16 +01:00
|
|
|
from Mentor Graphics. It uses gcc 4.9.1, binutils
|
|
|
|
2.24.51.20140217, glibc 2.20, gdb 7.7.50 and kernel headers
|
|
|
|
3.16.2.
|
2014-09-15 23:49:34 +02:00
|
|
|
|
2014-05-05 23:17:10 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS
|
2016-05-17 00:13:02 +02:00
|
|
|
bool "Musl 1.1.12 toolchain"
|
2016-07-28 15:39:14 +02:00
|
|
|
depends on (BR2_arm && BR2_ARM_EABI && BR2_USE_MMU) || \
|
|
|
|
(BR2_arm && BR2_ARM_EABIHF && !BR2_ARM_CPU_ARMV4 && BR2_USE_MMU) || \
|
|
|
|
(BR2_armeb && BR2_ARM_EABI && !BR2_ARM_CPU_ARMV7A && BR2_USE_MMU) || \
|
|
|
|
BR2_i386 || (BR2_mips && !BR2_SOFT_FLOAT) || \
|
toolchain-external: bump musl toolchain to 1.1.12
While the prebuilt musl toolchains provided by http://musl.codu.org/
had not been updated in a while, a new release based on musl 1.1.12
has been put online in December 2015. This commit updates our external
toolchain package to use this new pre-built toolchain.
Compared to the previous 1.1.6 toolchain, there are some changes:
- The MIPS big endian soft-float variant is no longer available.
- The Microblaze variant is no longer available.
- SuperH 4, both little and big endian, variants have been added.
- The components have been updated: gcc 5.3 is used, binutils 2.25.1,
and of course musl 1.1.12.
Besides the update itself, in this commit, we are:
- Making the musl toolchain non-selectable on MIPS big endian
soft-float.
- Making the musl toolchain actually work on MIPS little endian
soft-float, by downloading the right tarball and setting up the
right symbolic link.
- Removing support for the Microblaze variant, and adding support for
the SH4 variants.
All variants except armeb have been boot tested under Qemu, up to a
Busybox shell prompt. armeb has not been tested due to the lack of a
Qemu configuration for this architecture.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-04 23:50:07 +01:00
|
|
|
BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || \
|
|
|
|
BR2_sh4 || BR2_sh4eb || \
|
|
|
|
BR2_x86_64
|
2014-05-05 23:17:10 +02:00
|
|
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
2015-10-12 12:08:06 +02:00
|
|
|
# Unsupported for MIPS R6
|
2016-09-30 11:36:49 +02:00
|
|
|
depends on !BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6
|
2014-05-05 23:17:10 +02:00
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_MUSL
|
2016-03-15 17:40:38 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_SSP
|
2014-05-05 23:17:10 +02:00
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
select BR2_HOSTARCH_NEEDS_IA32_LIBS
|
2014-06-01 12:47:45 +02:00
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
|
toolchain-external: bump musl toolchain to 1.1.12
While the prebuilt musl toolchains provided by http://musl.codu.org/
had not been updated in a while, a new release based on musl 1.1.12
has been put online in December 2015. This commit updates our external
toolchain package to use this new pre-built toolchain.
Compared to the previous 1.1.6 toolchain, there are some changes:
- The MIPS big endian soft-float variant is no longer available.
- The Microblaze variant is no longer available.
- SuperH 4, both little and big endian, variants have been added.
- The components have been updated: gcc 5.3 is used, binutils 2.25.1,
and of course musl 1.1.12.
Besides the update itself, in this commit, we are:
- Making the musl toolchain non-selectable on MIPS big endian
soft-float.
- Making the musl toolchain actually work on MIPS little endian
soft-float, by downloading the right tarball and setting up the
right symbolic link.
- Removing support for the Microblaze variant, and adding support for
the SH4 variants.
All variants except armeb have been boot tested under Qemu, up to a
Busybox shell prompt. armeb has not been tested due to the lack of a
Qemu configuration for this architecture.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-04 23:50:07 +01:00
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
2014-05-05 23:17:10 +02:00
|
|
|
help
|
|
|
|
Toolchain based on the Musl C library, provided by the
|
toolchain-external: bump musl toolchain to 1.1.12
While the prebuilt musl toolchains provided by http://musl.codu.org/
had not been updated in a while, a new release based on musl 1.1.12
has been put online in December 2015. This commit updates our external
toolchain package to use this new pre-built toolchain.
Compared to the previous 1.1.6 toolchain, there are some changes:
- The MIPS big endian soft-float variant is no longer available.
- The Microblaze variant is no longer available.
- SuperH 4, both little and big endian, variants have been added.
- The components have been updated: gcc 5.3 is used, binutils 2.25.1,
and of course musl 1.1.12.
Besides the update itself, in this commit, we are:
- Making the musl toolchain non-selectable on MIPS big endian
soft-float.
- Making the musl toolchain actually work on MIPS little endian
soft-float, by downloading the right tarball and setting up the
right symbolic link.
- Removing support for the Microblaze variant, and adding support for
the SH4 variants.
All variants except armeb have been boot tested under Qemu, up to a
Busybox shell prompt. armeb has not been tested due to the lack of a
Qemu configuration for this architecture.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-04 23:50:07 +01:00
|
|
|
musl-cross project. It uses gcc 5.3, binutils 2.25.1 and
|
|
|
|
musl 1.1.12. It does not have a cross debugger included.
|
2014-05-05 23:17:10 +02:00
|
|
|
|
2015-10-09 11:14:48 +02:00
|
|
|
The ARM soft-float toolchain is built for ARMv4t, while the
|
|
|
|
ARM hard-float toolchain is built for ARMv5t.
|
2014-05-05 23:17:10 +02:00
|
|
|
The x86 toolchain is built for i486.
|
|
|
|
|
|
|
|
http://musl.codu.org/
|
|
|
|
|
2015-12-19 19:14:45 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC
|
2015-03-10 12:50:24 +01:00
|
|
|
bool "Synopsys ARC 2014.12 toolchain"
|
|
|
|
depends on BR2_arc
|
|
|
|
depends on BR2_HOSTARCH = "x86_64"
|
2015-05-01 11:13:54 +02:00
|
|
|
# does not provide IPv6, and lacks many uClibc features
|
|
|
|
# expected by Buildroot. The next Synopsys toolchain version
|
|
|
|
# should fix those problems.
|
|
|
|
depends on BROKEN
|
2015-03-10 12:50:24 +01:00
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
|
|
|
select BR2_ENABLE_LOCALE
|
|
|
|
select BR2_USE_WCHAR
|
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
|
2015-08-04 20:00:35 +02:00
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
2015-03-10 12:50:24 +01:00
|
|
|
help
|
|
|
|
Toolchain for the ARC cores, from
|
|
|
|
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases
|
|
|
|
|
2010-12-13 17:27:39 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CUSTOM
|
2012-06-22 07:42:37 +02:00
|
|
|
bool "Custom toolchain"
|
|
|
|
help
|
|
|
|
Use this option to use a custom toolchain pre-installed on
|
|
|
|
your system.
|
2010-12-13 17:27:39 +01:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2012-06-22 07:42:38 +02:00
|
|
|
choice
|
|
|
|
prompt "Toolchain origin"
|
2012-07-22 20:57:26 +02:00
|
|
|
# Keep compatibility with old defconfig files that are using
|
|
|
|
# custom toolchains, and which are therefore assuming that
|
|
|
|
# "preinstalled" in the default choice.
|
|
|
|
default BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
|
2012-06-22 07:42:38 +02:00
|
|
|
|
2010-12-13 17:27:39 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
|
2012-06-22 07:42:38 +02:00
|
|
|
bool "Toolchain to be downloaded and installed"
|
|
|
|
help
|
|
|
|
Select this option if you want Buildroot to download and install the
|
|
|
|
toolchain. If you have selected a custom toolchain, specify the URL
|
|
|
|
in BR2_TOOLCHAIN_EXTERNAL_URL.
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
|
|
|
|
bool "Pre-installed toolchain"
|
2010-12-13 17:27:39 +01:00
|
|
|
help
|
2012-06-22 07:42:38 +02:00
|
|
|
Select this option if you want to use a pre-installed toolchain.
|
|
|
|
Specify the path to this toolchain in BR2_TOOLCHAIN_EXTERNAL_PATH.
|
|
|
|
|
|
|
|
endchoice
|
2010-12-13 17:27:39 +01:00
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_PATH
|
|
|
|
string "Toolchain path"
|
|
|
|
default "/path/to/toolchain/usr"
|
2012-06-22 07:42:38 +02:00
|
|
|
depends on BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
|
2010-12-13 17:27:39 +01:00
|
|
|
help
|
|
|
|
Path to where the external toolchain is installed.
|
|
|
|
|
2012-06-22 07:42:38 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_URL
|
|
|
|
string "Toolchain URL"
|
|
|
|
depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM && BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
|
|
|
|
help
|
|
|
|
URL of the custom toolchain tarball to download and install.
|
|
|
|
|
2010-12-13 17:27:39 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
|
|
|
|
string "Toolchain prefix"
|
|
|
|
depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM
|
|
|
|
default "$(ARCH)-linux"
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_PREFIX
|
|
|
|
string
|
2015-12-19 19:14:45 +01:00
|
|
|
default "arc-linux" if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC && BR2_arcle
|
|
|
|
default "arceb-linux" if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC && BR2_arceb
|
2014-06-01 12:47:40 +02:00
|
|
|
default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
|
2014-03-05 23:23:40 +01:00
|
|
|
default "armeb-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
|
2015-12-19 19:14:40 +01:00
|
|
|
default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM
|
2015-12-19 19:14:46 +01:00
|
|
|
default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A
|
|
|
|
default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE
|
2014-06-01 12:47:41 +02:00
|
|
|
default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
|
2015-12-30 15:30:16 +01:00
|
|
|
default "aarch64-amd-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
|
2015-11-21 17:36:19 +01:00
|
|
|
default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
2015-11-21 17:36:16 +01:00
|
|
|
default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
|
2015-12-19 19:14:42 +01:00
|
|
|
default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH
|
2015-12-19 19:14:43 +01:00
|
|
|
default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86
|
2015-11-21 17:36:14 +01:00
|
|
|
default "x86_64-amd-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64
|
2015-12-19 19:14:44 +01:00
|
|
|
default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX && BR2_BINFMT_FLAT
|
|
|
|
default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX && BR2_BINFMT_FDPIC
|
2015-10-09 11:14:48 +02:00
|
|
|
default "arm-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_arm && BR2_ARM_EABI
|
|
|
|
default "arm-linux-musleabihf" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_arm && BR2_ARM_EABIHF
|
2015-12-15 17:21:25 +01:00
|
|
|
default "mips-img-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS
|
2015-12-15 17:21:24 +01:00
|
|
|
default "mips-mti-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS
|
2014-05-05 23:17:10 +02:00
|
|
|
default "armeb-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_armeb
|
|
|
|
default "i486-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_i386
|
|
|
|
default "mips-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && !BR2_SOFT_FLOAT)
|
|
|
|
default "mipsel-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && !BR2_SOFT_FLOAT)
|
|
|
|
default "mipsel-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && BR2_SOFT_FLOAT)
|
|
|
|
default "powerpc-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_powerpc
|
toolchain-external: bump musl toolchain to 1.1.12
While the prebuilt musl toolchains provided by http://musl.codu.org/
had not been updated in a while, a new release based on musl 1.1.12
has been put online in December 2015. This commit updates our external
toolchain package to use this new pre-built toolchain.
Compared to the previous 1.1.6 toolchain, there are some changes:
- The MIPS big endian soft-float variant is no longer available.
- The Microblaze variant is no longer available.
- SuperH 4, both little and big endian, variants have been added.
- The components have been updated: gcc 5.3 is used, binutils 2.25.1,
and of course musl 1.1.12.
Besides the update itself, in this commit, we are:
- Making the musl toolchain non-selectable on MIPS big endian
soft-float.
- Making the musl toolchain actually work on MIPS little endian
soft-float, by downloading the right tarball and setting up the
right symbolic link.
- Removing support for the Microblaze variant, and adding support for
the SH4 variants.
All variants except armeb have been boot tested under Qemu, up to a
Busybox shell prompt. armeb has not been tested due to the lack of a
Qemu configuration for this architecture.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-04 23:50:07 +01:00
|
|
|
default "sh4-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_sh4
|
|
|
|
default "sh4eb-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_sh4eb
|
2014-05-05 23:17:10 +02:00
|
|
|
default "x86_64-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_x86_64
|
2013-09-02 22:07:53 +02:00
|
|
|
default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX \
|
2010-12-13 17:27:39 +01:00
|
|
|
if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
|
2009-05-29 18:37:41 +02:00
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2010-12-13 17:27:39 +01:00
|
|
|
bool
|
2013-06-30 21:29:09 +02:00
|
|
|
select BR2_TOOLCHAIN_USES_GLIBC
|
2009-05-29 18:37:41 +02:00
|
|
|
|
2010-12-13 17:27:39 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
|
|
|
|
bool
|
2013-06-30 21:29:09 +02:00
|
|
|
select BR2_TOOLCHAIN_USES_UCLIBC
|
2010-12-13 17:27:39 +01:00
|
|
|
|
2013-10-08 20:17:09 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_MUSL
|
|
|
|
bool
|
|
|
|
select BR2_TOOLCHAIN_USES_MUSL
|
2016-08-18 23:50:13 +02:00
|
|
|
# Compatibility headers: cdefs.h, queue.h
|
|
|
|
select BR2_PACKAGE_MUSL_COMPAT_HEADERS
|
2013-10-08 20:17:09 +02:00
|
|
|
|
2010-12-13 17:27:39 +01:00
|
|
|
if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
|
|
|
|
|
2015-08-04 20:00:35 +02:00
|
|
|
choice
|
|
|
|
bool "External toolchain gcc version"
|
|
|
|
default BR2_TOOLCHAIN_EXTERNAL_GCC_4_3
|
|
|
|
help
|
|
|
|
Set to the gcc version that is used by your external
|
|
|
|
toolchain.
|
|
|
|
|
2016-05-01 09:29:35 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_GCC_6
|
|
|
|
bool "6.x"
|
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_6
|
|
|
|
|
2015-08-04 20:00:35 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_GCC_5
|
|
|
|
bool "5.x"
|
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_GCC_4_9
|
|
|
|
bool "4.9.x"
|
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_GCC_4_8
|
|
|
|
bool "4.8.x"
|
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_GCC_4_7
|
|
|
|
bool "4.7.x"
|
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_GCC_4_6
|
|
|
|
bool "4.6.x"
|
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_GCC_4_5
|
|
|
|
bool "4.5.x"
|
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_GCC_4_4
|
|
|
|
bool "4.4.x"
|
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_GCC_4_3
|
|
|
|
bool "4.3.x"
|
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2014-03-01 15:52:59 +01:00
|
|
|
choice
|
|
|
|
bool "External toolchain kernel headers series"
|
|
|
|
default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
|
|
|
|
help
|
|
|
|
Set to the kernel headers version that were used to build
|
|
|
|
this external toolchain.
|
|
|
|
|
|
|
|
This is used to hide/show some packages that have strict
|
|
|
|
requirements on the version of kernel headers.
|
|
|
|
|
|
|
|
If unsure what version your toolchain is using, you can look
|
|
|
|
at the value of LINUX_VERSION_CODE in linux/version.h in your
|
|
|
|
toolchain. The Linux version is M.m.p, with:
|
|
|
|
M = ( LINUX_VERSION_CODE >> 16 ) & 0xFF
|
|
|
|
m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF
|
|
|
|
p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF
|
|
|
|
|
2016-09-12 18:15:54 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_8
|
|
|
|
bool "4.8.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
|
|
|
|
|
2016-07-25 01:56:09 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_7
|
|
|
|
bool "4.7.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
|
|
|
|
|
2016-05-16 13:58:12 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_6
|
|
|
|
bool "4.6.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
|
|
|
|
|
2016-03-14 11:14:10 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_5
|
|
|
|
bool "4.5.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
|
|
|
|
|
2016-01-11 11:52:36 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_4
|
|
|
|
bool "4.4.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
|
|
|
|
|
2015-11-02 15:56:51 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_3
|
|
|
|
bool "4.3.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
|
|
|
|
|
2015-09-01 10:05:20 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_2
|
|
|
|
bool "4.2.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
|
|
|
|
|
2015-06-22 15:11:03 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_1
|
|
|
|
bool "4.1.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
|
|
|
|
|
2015-04-13 15:00:23 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_0
|
|
|
|
bool "4.0.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
|
|
|
|
|
2015-02-09 13:31:23 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_19
|
|
|
|
bool "3.19.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
|
|
|
|
|
2014-12-08 12:10:39 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_18
|
|
|
|
bool "3.18.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
|
|
|
|
|
2014-10-06 13:44:39 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17
|
|
|
|
bool "3.17.x"
|
2014-10-09 12:59:01 +02:00
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
|
2014-10-06 13:44:39 +02:00
|
|
|
|
2014-08-04 04:29:22 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_16
|
|
|
|
bool "3.16.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
|
|
|
|
|
2014-06-09 13:30:33 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15
|
|
|
|
bool "3.15.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
|
|
|
|
|
2014-04-06 18:27:49 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14
|
|
|
|
bool "3.14.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
|
|
|
|
|
2014-03-01 15:52:59 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13
|
|
|
|
bool "3.13.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12
|
|
|
|
bool "3.12.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11
|
|
|
|
bool "3.11.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10
|
|
|
|
bool "3.10.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9
|
|
|
|
bool "3.9.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8
|
|
|
|
bool "3.8.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7
|
|
|
|
bool "3.7.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6
|
|
|
|
bool "3.6.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5
|
|
|
|
bool "3.5.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4
|
|
|
|
bool "3.4.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3
|
|
|
|
bool "3.3.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2
|
|
|
|
bool "3.2.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1
|
|
|
|
bool "3.1.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0
|
|
|
|
bool "3.0.x"
|
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
|
|
|
|
bool "2.6.x"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2010-12-13 17:27:39 +01:00
|
|
|
choice
|
|
|
|
prompt "External toolchain C library"
|
|
|
|
default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
|
2016-10-15 10:13:58 +02:00
|
|
|
bool "uClibc/uClibc-ng"
|
2010-12-13 17:27:39 +01:00
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
|
2011-05-30 23:56:57 +02:00
|
|
|
# For the time being, we assume that all custom external
|
|
|
|
# toolchains have shadow password support.
|
|
|
|
select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
|
2013-10-08 20:17:10 +02:00
|
|
|
help
|
|
|
|
Select this option if your external toolchain uses the
|
2016-10-15 10:13:58 +02:00
|
|
|
uClibc (available from http://www.uclibc.org/)
|
|
|
|
or uClibc-ng (available from http://www.uclibc-ng.org)
|
|
|
|
C library.
|
2010-12-13 17:27:39 +01:00
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
|
2012-09-27 11:27:42 +02:00
|
|
|
bool "glibc/eglibc"
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2010-12-13 17:27:39 +01:00
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2012-09-27 11:27:42 +02:00
|
|
|
help
|
2013-10-08 20:17:10 +02:00
|
|
|
Select this option if your external toolchain uses the GNU C
|
|
|
|
library (available from https://www.gnu.org/software/libc/)
|
|
|
|
or its variant the eglibc library (http://www.eglibc.org/).
|
|
|
|
|
|
|
|
Note: eglibc is a variant of glibc that (among other things)
|
|
|
|
can be configured to exclude some of its features. Using a
|
|
|
|
toolchain with eglibc configured to exclude key features may
|
|
|
|
cause build failures to some packages.
|
2010-12-13 17:27:39 +01:00
|
|
|
|
2016-06-08 23:40:54 +02:00
|
|
|
comment "glibc only available with shared lib support"
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on BR2_STATIC_LIBS
|
2013-11-11 18:57:32 +01:00
|
|
|
|
2013-10-08 20:17:09 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL
|
2016-05-17 00:13:02 +02:00
|
|
|
bool "musl"
|
2013-10-08 20:17:09 +02:00
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_MUSL
|
|
|
|
help
|
|
|
|
Select this option if your external toolchain uses the
|
|
|
|
'musl' C library, available from http://www.musl-libc.org/.
|
|
|
|
|
2009-05-29 18:37:41 +02:00
|
|
|
endchoice
|
2007-02-06 19:19:38 +01:00
|
|
|
|
2010-12-13 17:27:39 +01:00
|
|
|
if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
|
toolchain: Improve C library option selection
Turn BR2_LARGEFILE, BR2_INET_IPV6, BR2_INET_RPC, BR2_USE_WCHAR,
BR2_ENABLE_LOCALE and BR2_PROGRAM_INVOCATION into hidden options.
Then, for Buildroot toolchains, external toolchains and Crosstool-NG
toolchains, provide visible options that selects the hidden options.
This allows :
* To show a different label and help text in the case of Buildroot
toolchain (do you want to enable feature X ?) and in the case of
external toolchain (is feature X available in your toolchain ?)
* To not show any option when a glibc external toolchain is selected
(since glibc is assumed to support all of largefile, IPv6, RPC,
WCHAR, locale and program invocation) and have them all selected in
that case.
There is some amount of duplication between Buildroot toolchain config
options and Crosstool-NG toolchain config options, because kconfig
doesn't allow to source the same Config.in file twice (even if under
mutually exclusive conditions). This duplication is more readable that
the hack that consists in splitting files in multiple pieces.
However, this commit changes the name of the options visible in the
configuration interface, so existing .config files will have to be
updated accordingly.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-13 17:27:37 +01:00
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_WCHAR
|
|
|
|
bool "Toolchain has WCHAR support?"
|
|
|
|
select BR2_USE_WCHAR
|
|
|
|
help
|
|
|
|
Select this option if your external toolchain supports
|
|
|
|
WCHAR. If you don't know, leave the default value, Buildroot
|
|
|
|
will tell you if it's correct or not.
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_LOCALE
|
|
|
|
bool "Toolchain has locale support?"
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_WCHAR
|
|
|
|
select BR2_ENABLE_LOCALE
|
|
|
|
help
|
|
|
|
Select this option if your external toolchain has locale
|
|
|
|
support. If you don't know, leave the default value,
|
|
|
|
Buildroot will tell you if it's correct or not.
|
|
|
|
|
2010-12-13 17:27:44 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
|
|
|
|
bool "Toolchain has threads support?"
|
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS
|
2011-07-26 15:28:19 +02:00
|
|
|
default y
|
2010-12-13 17:27:44 +01:00
|
|
|
help
|
|
|
|
Select this option if your external toolchain has thread
|
|
|
|
support. If you don't know, leave the default value,
|
|
|
|
Buildroot will tell you if it's correct or not.
|
|
|
|
|
2014-02-18 22:08:59 +01:00
|
|
|
if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
|
|
|
|
|
2011-11-24 14:26:52 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
|
|
|
|
bool "Toolchain has threads debugging support?"
|
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Select this option if your external toolchain has thread
|
|
|
|
debugging support. If you don't know, leave the default
|
|
|
|
value, Buildroot will tell you if it's correct or not.
|
|
|
|
|
2014-02-18 22:08:59 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL
|
|
|
|
bool "Toolchain has NPTL threads support?"
|
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Select this option if your external toolchain uses the NPTL
|
|
|
|
(Native Posix Thread Library) implementation of Posix
|
|
|
|
threads. If you don't know, leave the default value,
|
|
|
|
Buildroot will tell you if it's correct or not.
|
|
|
|
|
|
|
|
endif # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
|
|
|
|
|
2016-03-15 17:40:38 +01:00
|
|
|
endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
|
|
|
|
|
2013-09-02 18:06:36 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
|
|
|
|
bool "Toolchain has SSP support?"
|
|
|
|
select BR2_TOOLCHAIN_HAS_SSP
|
2016-03-15 17:40:38 +01:00
|
|
|
default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
|
|
|
default y if BR2_TOOLCHAIN_EXTERNAL_MUSL
|
2013-09-02 18:06:36 +02:00
|
|
|
help
|
|
|
|
Selection this option if your external toolchain has Stack
|
|
|
|
Smashing Protection support enabled. If you don't know,
|
|
|
|
leave the default value, Buildroot will tell you if it's
|
|
|
|
correct or not.
|
|
|
|
|
2012-11-03 18:47:50 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
|
|
|
|
bool "Toolchain has RPC support?"
|
|
|
|
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
2013-10-08 20:17:09 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL
|
2012-11-04 08:34:29 +01:00
|
|
|
default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2012-11-03 18:47:50 +01:00
|
|
|
help
|
|
|
|
Select this option if your external toolchain supports
|
|
|
|
RPC. If you don't know, leave the default value, Buildroot
|
|
|
|
will tell you if it's correct or not.
|
|
|
|
|
2010-12-13 17:27:41 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CXX
|
|
|
|
bool "Toolchain has C++ support?"
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
help
|
|
|
|
Select this option if your external toolchain has C++
|
|
|
|
support. If you don't know, leave the default value,
|
|
|
|
Buildroot will tell you if it's correct or not.
|
|
|
|
|
2016-07-03 15:47:47 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_FORTRAN
|
|
|
|
bool "Toolchain has Fortran support?"
|
|
|
|
select BR2_TOOLCHAIN_HAS_FORTRAN
|
|
|
|
help
|
|
|
|
Select this option if your external toolchain has Fortran
|
|
|
|
support. If you don't know, leave the default value,
|
|
|
|
Buildroot will tell you if it's correct or not.
|
|
|
|
|
2011-10-02 21:20:10 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
|
|
|
|
string "Extra toolchain libraries to be copied to target"
|
|
|
|
help
|
|
|
|
If your external toolchain provides extra libraries that
|
|
|
|
need to be copied to the target filesystem, enter them
|
2016-02-12 20:20:26 +01:00
|
|
|
here, separated by spaces.
|
2011-10-02 21:20:10 +02:00
|
|
|
|
2010-12-13 17:27:39 +01:00
|
|
|
endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM
|
toolchain: Improve C library option selection
Turn BR2_LARGEFILE, BR2_INET_IPV6, BR2_INET_RPC, BR2_USE_WCHAR,
BR2_ENABLE_LOCALE and BR2_PROGRAM_INVOCATION into hidden options.
Then, for Buildroot toolchains, external toolchains and Crosstool-NG
toolchains, provide visible options that selects the hidden options.
This allows :
* To show a different label and help text in the case of Buildroot
toolchain (do you want to enable feature X ?) and in the case of
external toolchain (is feature X available in your toolchain ?)
* To not show any option when a glibc external toolchain is selected
(since glibc is assumed to support all of largefile, IPv6, RPC,
WCHAR, locale and program invocation) and have them all selected in
that case.
There is some amount of duplication between Buildroot toolchain config
options and Crosstool-NG toolchain config options, because kconfig
doesn't allow to source the same Config.in file twice (even if under
mutually exclusive conditions). This duplication is more readable that
the hack that consists in splitting files in multiple pieces.
However, this commit changes the name of the options visible in the
configuration interface, so existing .config files will have to be
updated accordingly.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-13 17:27:37 +01:00
|
|
|
|
gdb: convert to the package infrastructure
This commit converts gdb to the package infrastructure, and therefore
moves it from toolchain/gdb to package/gdb.
The target package is now visible in "Package selection for the
target" => "Debugging, profiling and benchmark". The main option,
"gdb", forcefully selects the "gdbserver" sub-option by
default. Another sub-option, "full debugger" allows to install the
complete gdb on the target. When this option is enabled, then
"gdbserver" is no longer forcefully selected. This ensures that at
least gdbserver or the full debugger gets built/installed, so that the
package is not a no-op.
The host debugger is still enabled through a configuration option in
"Toolchain". It is now visible regardless of the toolchain type (it
used to be hidden for External Toolchains). The configuration options
relative to the host debugger are now in package/gdb/Config.in.host,
similar to how we have package/binutils/Config.in.host.
Since gdb is now a proper package, it is no longer allowed to 'select
BR2_PTHREADS_DEBUG' to ensure thread debugging is available when
needed. Instead, it now 'depends on
BR2_TOOLCHAIN_HAS_THREADS_DEBUG'. This option, in turn, is selected by
the different toolchain backends when appropriate. The
'BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED' option is removed, since
we no longer need to know when it is allowed to 'select
BR2_PTHREADS_DEBUG'. Also, the 'BR2_PTHREADS_DEBUG' option is moved to
appear right below the thread implementation selection (in the case of
the Buildroot toolchain backend).
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-07 02:04:33 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
|
|
|
|
bool "Copy gdb server to the Target"
|
|
|
|
depends on BR2_TOOLCHAIN_EXTERNAL
|
|
|
|
help
|
|
|
|
Copy the gdbserver provided by the external toolchain to the
|
|
|
|
target.
|
|
|
|
|
2013-06-08 11:14:22 +02:00
|
|
|
# When the FDPIC shared binary format is used, the corresponding libraries are
|
|
|
|
# always installed. When a different binary format is used, we offer the option
|
|
|
|
# of installing the FDPIC shared libraries.
|
|
|
|
config BR2_BFIN_INSTALL_FDPIC_SHARED
|
2013-11-11 17:23:23 +01:00
|
|
|
bool "Install FDPIC shared libraries"
|
|
|
|
depends on BR2_bfin && !BR2_BINFMT_FDPIC
|
|
|
|
help
|
|
|
|
The Linux kernel supports running both FDPIC and FLAT applications
|
|
|
|
concurrently if the binary format specific libraries are installed
|
|
|
|
properly. This option allows developer to install FDPIC libraries
|
|
|
|
into a buildroot rootfs image built with binary format that is not
|
|
|
|
FDPIC.
|
2013-06-08 11:14:22 +02:00
|
|
|
|
|
|
|
# When the FLAT shared binary format is used, we force the installation
|
|
|
|
# of the corresponding libraries. When a different binary format is
|
|
|
|
# used, we offer the option of installing the FLAT shared libraries.
|
|
|
|
config BR2_BFIN_INSTALL_FLAT_SHARED
|
2013-11-11 17:23:23 +01:00
|
|
|
bool "Install FLAT shared libraries" if !BR2_BINFMT_FLAT_SHARED
|
|
|
|
depends on BR2_bfin
|
|
|
|
default y if BR2_BINFMT_FLAT_SHARED
|
|
|
|
help
|
|
|
|
The Linux kernel supports running both FDPIC and FLAT applications
|
|
|
|
concurrently if the binary format specific libraries are installed
|
|
|
|
properly. This option allows developer to install FLAT libraries
|
|
|
|
into a buildroot rootfs image built with binary format that is not
|
|
|
|
shared FLAT.
|
2013-06-08 11:14:22 +02:00
|
|
|
|
2010-12-13 17:27:39 +01:00
|
|
|
endif # BR2_TOOLCHAIN_EXTERNAL
|