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
|
|
|
|
2012-05-07 15:06:24 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_04
|
|
|
|
bool "Linaro 2012.04"
|
|
|
|
depends on BR2_arm
|
|
|
|
depends on BR2_cortex_a8 || BR2_cortex_a9
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
help
|
|
|
|
Linaro toolchain for the ARM architecture. It uses Linaro
|
|
|
|
GCC 2012.04 (based on gcc 4.7), Linaro GDB 2012.04 (based on
|
|
|
|
GDB 7.4), eglibc 2.13. 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 softfp calling
|
|
|
|
convention, and uses the VFPv3-D16 FPU instructions.
|
|
|
|
|
2012-03-30 00:22:47 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_03
|
|
|
|
bool "Linaro 2012.03"
|
|
|
|
depends on BR2_arm
|
|
|
|
depends on BR2_cortex_a8 || BR2_cortex_a9
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
help
|
|
|
|
Linaro toolchain for the ARM architecture. It uses Linaro
|
|
|
|
GCC 2012.03 (based on gcc 4.6), Linaro GDB 2012.03, eglibc
|
|
|
|
2.13. 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 softfp calling convention, and uses the
|
|
|
|
VFPv3-D16 FPU instructions.
|
|
|
|
|
2012-03-06 23:38:39 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_02
|
|
|
|
bool "Linaro 2012.02"
|
|
|
|
depends on BR2_arm
|
|
|
|
depends on BR2_cortex_a8 || BR2_cortex_a9
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
help
|
|
|
|
Linaro toolchain for the ARM architecture. It uses Linaro
|
|
|
|
GCC 2012.02 (based on gcc 4.6), Linaro GDB 2012.02, eglibc
|
|
|
|
2.13. 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 softfp calling convention, and uses the
|
|
|
|
VFPv3-D16 FPU instructions.
|
|
|
|
|
2012-01-28 17:12:02 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_01
|
|
|
|
bool "Linaro 2012.01"
|
|
|
|
depends on BR2_arm
|
|
|
|
depends on BR2_cortex_a8 || BR2_cortex_a9
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
help
|
|
|
|
Linaro toolchain for the ARM architecture. It uses Linaro
|
|
|
|
GCC 2012.01 (based on gcc 4.6), Linaro GDB 2011.12, eglibc
|
|
|
|
2.13. 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 softfp calling convention, and uses the
|
|
|
|
VFPv3-D16 FPU instructions.
|
|
|
|
|
2011-12-31 12:18:23 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201109
|
|
|
|
bool "Sourcery CodeBench ARM 2011.09"
|
|
|
|
depends on BR2_arm
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
help
|
|
|
|
Sourcery CodeBench toolchain for the ARM architecture, from
|
|
|
|
Mentor Graphics. It uses gcc 4.6.1, binutils 2.21.53, glibc
|
|
|
|
2.13 and gdb 7.2.50, kernel headers 3.0.1. It has support
|
|
|
|
for the following variants:
|
|
|
|
- ARMv5TE, little endian, soft-float, glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select ARM926T, ARM10T, XScale or another ARMv5 core
|
|
|
|
Select BR2_SOFT_FLOAT
|
2011-12-31 12:18:23 +01:00
|
|
|
- ARMv4T, little endian, soft-float, glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select ARM720T, ARM920T, ARM922T or another ARMv4 core
|
|
|
|
Select BR2_SOFT_FLOAT
|
2011-12-31 12:18:23 +01:00
|
|
|
- ARMv7-A, Thumb 2, little endian, soft-float, glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select Cortex-A8, Cortex-A9 or another ARMv7-A core
|
|
|
|
Select BR2_SOFT_FLOAT
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to -mthumb
|
2011-12-31 12:18:23 +01:00
|
|
|
|
2011-05-13 11:38:43 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201103
|
2011-10-02 21:20:15 +02:00
|
|
|
bool "Sourcery CodeBench ARM 2011.03"
|
2011-05-13 11:38:43 +02:00
|
|
|
depends on BR2_arm
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
help
|
2011-10-02 21:20:15 +02:00
|
|
|
Sourcery CodeBench toolchain for the ARM architecture, from
|
|
|
|
Mentor Graphics. It uses gcc 4.5.2, binutils 2.20.51, glibc
|
|
|
|
2.13 and gdb 7.2.50, kernel headers 2.6.38. It has support
|
|
|
|
for the following variants:
|
2011-05-13 11:38:43 +02:00
|
|
|
- ARMv5TE, little endian, soft-float, glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select ARM926T, ARM10T, XScale or another ARMv5 core
|
|
|
|
Select BR2_SOFT_FLOAT
|
2011-05-13 11:38:43 +02:00
|
|
|
- ARMv4T, little endian, soft-float, glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select ARM720T, ARM920T, ARM922T or another ARMv4 core
|
|
|
|
Select BR2_SOFT_FLOAT
|
2011-05-13 11:38:43 +02:00
|
|
|
- ARMv7-A, Thumb 2, little endian, soft-float, glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select Cortex-A8, Cortex-A9 or another ARMv7-A core
|
|
|
|
Select BR2_SOFT_FLOAT
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to -mthumb
|
2011-05-13 11:38:43 +02:00
|
|
|
|
2010-12-13 17:27:39 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201009
|
2011-10-02 21:20:15 +02:00
|
|
|
bool "Sourcery CodeBench ARM 2010.09"
|
2010-12-13 17:27:39 +01:00
|
|
|
depends on BR2_arm
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2010-12-13 17:27:41 +01:00
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
2010-12-13 17:27:39 +01:00
|
|
|
help
|
2011-10-02 21:20:15 +02:00
|
|
|
Sourcery CodeBench toolchain for the ARM architecture, from
|
|
|
|
Mentor Graphics. It uses gcc 4.5.1, binutils 2.20, glibc
|
|
|
|
2.11 and gdb 7.2.50, kernel headers 2.6.35.2. It has support
|
|
|
|
for the following variants:
|
2010-12-13 17:27:39 +01:00
|
|
|
- ARMv5TE, little endian, soft-float, glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select ARM926T, ARM10T, XScale or another ARMv5 core
|
|
|
|
Select BR2_SOFT_FLOAT
|
2010-12-13 17:27:39 +01:00
|
|
|
- ARMv4T, little endian, soft-float, glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select ARM720T, ARM920T, ARM922T or another ARMv4 core
|
|
|
|
Select BR2_SOFT_FLOAT
|
2010-12-13 17:27:39 +01:00
|
|
|
- ARMv7-A, Thumb 2, little endian, soft-float, glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select Cortex-A8, Cortex-A9 or another ARMv7-A core
|
|
|
|
Select BR2_SOFT_FLOAT
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to -mthumb
|
2010-12-13 17:27:39 +01:00
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2010Q1
|
2011-10-02 21:20:15 +02:00
|
|
|
bool "Sourcery CodeBench ARM 2010q1"
|
2010-12-13 17:27:39 +01:00
|
|
|
depends on BR2_arm
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2010-12-13 17:27:41 +01:00
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
2010-12-13 17:27:39 +01:00
|
|
|
help
|
2011-10-02 21:20:15 +02:00
|
|
|
Sourcery CodeBench toolchain for the ARM architecture, from
|
|
|
|
Mentor Graphics. It uses gcc 4.4.1, binutils 2.19, glibc
|
|
|
|
2.11, gdb 7.0.50 and kernel headers 2.6.32. It has support
|
|
|
|
for the following variants:
|
2010-12-13 17:27:39 +01:00
|
|
|
- ARMv5T, little endian, soft-float, glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select ARM926T, ARM10T, XScale or another ARMv5 core
|
|
|
|
Select BR2_SOFT_FLOAT
|
2010-12-13 17:27:39 +01:00
|
|
|
- ARMv4T, little endian, soft-float, glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select ARM720T, ARM920T, ARM922T or another ARMv4 core
|
|
|
|
Select BR2_SOFT_FLOAT
|
2010-12-13 17:27:39 +01:00
|
|
|
- ARMv7-A, Thumb 2, little endian, soft-float, glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select Cortex-A8, Cortex-A9 or another ARMv7-A core
|
|
|
|
Select BR2_SOFT_FLOAT
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to -mthumb
|
2010-12-13 17:27:39 +01:00
|
|
|
|
2011-05-23 18:19:30 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q3
|
2011-10-02 21:20:15 +02:00
|
|
|
bool "Sourcery CodeBench ARM 2009q3"
|
2011-05-23 18:19:30 +02:00
|
|
|
depends on BR2_arm
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
help
|
2011-10-02 21:20:15 +02:00
|
|
|
Sourcery CodeBench toolchain for the ARM architecture, from
|
|
|
|
Mentor Graphics. It uses gcc 4.4.1, binutils 2.19, glibc
|
|
|
|
2.10 and gdb 6.8 and kernel headers 2.6.30. It has support
|
|
|
|
for the following variants:
|
2011-05-23 18:19:30 +02:00
|
|
|
- ARMv5T, little endian, soft-float, glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select ARM926T, ARM10T, XScale or another ARMv5 core
|
|
|
|
Select BR2_SOFT_FLOAT
|
2011-05-23 18:19:30 +02:00
|
|
|
- ARMv4T, little endian, soft-float, glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select ARM720T, ARM920T, ARM922T or another ARMv4 core
|
|
|
|
Select BR2_SOFT_FLOAT
|
2011-05-23 18:19:30 +02:00
|
|
|
- ARMv7-A, Thumb 2, little endian, soft-float, glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select Cortex-A8, Cortex-A9 or another ARMv7-A core
|
|
|
|
Select BR2_SOFT_FLOAT
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to -mthumb
|
2011-05-23 18:19:30 +02:00
|
|
|
|
2011-05-13 11:41:40 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201103
|
2011-10-02 21:20:15 +02:00
|
|
|
bool "Sourcery CodeBench MIPS 2011.03"
|
2011-05-13 11:41:40 +02:00
|
|
|
depends on BR2_mips || BR2_mipsel
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
help
|
2011-10-02 21:20:15 +02:00
|
|
|
Sourcery CodeBench toolchain for the MIPS architecture, from
|
|
|
|
Mentor Graphics. It uses gcc 4.5.2, binutils 2.20.51, glibc
|
|
|
|
2.13, uClibc 0.9.30 and gdb 7.2.50, kernel headers
|
|
|
|
2.6.38. It has support for the following variants:
|
2011-05-13 11:41:40 +02:00
|
|
|
- MIPS32 O32 big endian glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select a MIPS generic core
|
|
|
|
Disable BR2_SOFT_FLOAT
|
2011-05-13 11:41:40 +02:00
|
|
|
- MIPS32 O32 little endian glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select a MIPS generic core
|
|
|
|
Disable BR2_SOFT_FLOAT
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to -EL
|
2011-05-13 11:41:40 +02:00
|
|
|
- MIPS32 big endian soft float glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select a MIPS generic core
|
|
|
|
Select BR2_SOFT_FLOAT
|
2011-05-13 11:41:40 +02:00
|
|
|
- MIPS32 little endian soft float glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select a MIPS generic core
|
|
|
|
Select BR2_SOFT_FLOAT
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to -EL
|
2011-05-13 11:41:40 +02:00
|
|
|
- MIPS32 big endian microMIPS glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select a MIPS generic core
|
|
|
|
Disable BR2_SOFT_FLOAT
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to -mips16
|
2011-05-13 11:41:40 +02:00
|
|
|
- MIPS32 little endian microMIPS glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select a MIPS generic core
|
|
|
|
Disable BR2_SOFT_FLOAT
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to -EL -mips16
|
2011-05-13 11:41:40 +02:00
|
|
|
- MIPS32 big endian soft float microMIPS glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select a MIPS generic core
|
|
|
|
Select BR2_SOFT_FLOAT
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to -mips16
|
2011-05-13 11:41:40 +02:00
|
|
|
- MIPS32 little endian soft float microMIPS glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select a MIPS generic core
|
|
|
|
Select BR2_SOFT_FLOAT
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to -EL -mips16
|
2011-05-13 11:41:40 +02:00
|
|
|
- MIPS32 big endian uclibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Not usable in Buildroot yet.
|
2011-05-13 11:41:40 +02:00
|
|
|
- MIPS32 little endian uclibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Not usable in Buildroot yet.
|
2011-05-13 11:41:40 +02:00
|
|
|
- MIPS32 big endian soft float uclibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Not usable in Buildroot yet.
|
2011-05-13 11:41:40 +02:00
|
|
|
- MIPS32 little endian soft float uclibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Not usable in Buildroot yet.
|
2011-05-13 11:41:40 +02:00
|
|
|
|
2010-12-13 17:27:39 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS44
|
2011-10-02 21:20:15 +02:00
|
|
|
bool "Sourcery CodeBench MIPS 4.4"
|
2010-12-13 17:27:39 +01:00
|
|
|
depends on BR2_mips || BR2_mipsel
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2010-12-13 17:27:41 +01:00
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
2010-12-13 17:27:39 +01:00
|
|
|
help
|
2011-10-02 21:20:15 +02:00
|
|
|
Sourcery CodeBench toolchain for the MIPS architecture, from
|
|
|
|
Mentor Graphics. It uses gcc 4.4.1, binutils 2.19, glibc
|
|
|
|
2.11, uClibc 0.9.30 and gdb 7.0, kernel headers 2.6.32. It
|
|
|
|
has support for the following variants:
|
2010-12-13 17:27:39 +01:00
|
|
|
- MIPS32 O32 big endian glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select a MIPS generic core
|
|
|
|
Disable BR2_SOFT_FLOAT
|
2010-12-13 17:27:39 +01:00
|
|
|
- MIPS32 O32 little endian glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select a MIPS generic core
|
|
|
|
Disable BR2_SOFT_FLOAT
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to -EL
|
2010-12-13 17:27:39 +01:00
|
|
|
- MIPS32 big endian soft float glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select a MIPS generic core
|
|
|
|
Select BR2_SOFT_FLOAT
|
2010-12-13 17:27:39 +01:00
|
|
|
- MIPS32 little endian soft float glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select a MIPS generic core
|
|
|
|
Select BR2_SOFT_FLOAT
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to -EL
|
2010-12-13 17:27:39 +01:00
|
|
|
- MIPS32 big endian microMIPS glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select a MIPS generic core
|
|
|
|
Disable BR2_SOFT_FLOAT
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to -mips16
|
2010-12-13 17:27:39 +01:00
|
|
|
- MIPS32 little endian microMIPS glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select a MIPS generic core
|
|
|
|
Disable BR2_SOFT_FLOAT
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to -EL -mips16
|
2010-12-13 17:27:39 +01:00
|
|
|
- MIPS32 big endian soft float microMIPS glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select a MIPS generic core
|
|
|
|
Select BR2_SOFT_FLOAT
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to -mips16
|
2010-12-13 17:27:39 +01:00
|
|
|
- MIPS32 little endian soft float microMIPS glibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Select a MIPS generic core
|
|
|
|
Select BR2_SOFT_FLOAT
|
|
|
|
Set BR2_TARGET_OPTIMIZATION to -EL -mips16
|
2010-12-13 17:27:39 +01:00
|
|
|
- MIPS32 big endian uclibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Not usable in Buildroot yet.
|
2010-12-13 17:27:39 +01:00
|
|
|
- MIPS32 little endian uclibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Not usable in Buildroot yet.
|
2010-12-13 17:27:39 +01:00
|
|
|
- MIPS32 big endian soft float uclibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Not usable in Buildroot yet.
|
2010-12-13 17:27:39 +01:00
|
|
|
- MIPS32 little endian soft float uclibc
|
2011-12-31 15:38:22 +01:00
|
|
|
Not usable in Buildroot yet.
|
2010-12-13 17:27:39 +01:00
|
|
|
|
2011-12-31 12:28:34 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
|
|
|
|
bool "Sourcery CodeBench PowerPC 2011.03"
|
|
|
|
depends on BR2_powerpc
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
help
|
|
|
|
Sourcery CodeBench toolchain for the PowerPC architecture,
|
|
|
|
from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20.51,
|
|
|
|
glibc 2.13, gdb 7.2.50 and kernel headers 2.6.38. It has
|
|
|
|
support for the following variants:
|
|
|
|
- 603 glibc, 32 bits
|
2011-12-31 15:38:22 +01:00
|
|
|
Select a generic PowerPC core
|
|
|
|
Disable BR2_SOFT_FLOAT
|
2011-12-31 12:28:34 +01:00
|
|
|
- 603 soft float glibc, 32 bits
|
2011-12-31 15:38:22 +01:00
|
|
|
Select a generic PowerPC core
|
|
|
|
Enable BR2_SOFT_FLOAT
|
2011-12-31 12:28:34 +01:00
|
|
|
- e600 altivec glibc, 32 bits
|
2011-12-31 15:38:22 +01:00
|
|
|
Set BR2_TARGET_OPTIMIZATION to -te600
|
2011-12-31 12:28:34 +01:00
|
|
|
- e500v1 glibc, 32 bits
|
2011-12-31 15:38:22 +01:00
|
|
|
Set BR2_TARGET_OPTIMIZATION to -te500v1
|
2011-12-31 12:28:34 +01:00
|
|
|
- e500v2 glibc, 32 bits
|
2011-12-31 15:38:22 +01:00
|
|
|
Set BR2_TARGET_OPTIMIZATION to -te500v2
|
2011-12-31 12:28:34 +01:00
|
|
|
- e500mc glibc, 32 bits
|
2011-12-31 15:38:22 +01:00
|
|
|
Set BR2_TARGET_OPTIMIZATION to -te500mc
|
2011-12-31 12:28:34 +01:00
|
|
|
- 970 glibc hard-float, 64 bits
|
2011-12-31 15:38:22 +01:00
|
|
|
Set BR2_TARGET_OPTIMIZATION to -m64
|
2011-12-31 12:28:34 +01:00
|
|
|
|
2010-12-13 17:27:39 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
|
2011-10-02 21:20:15 +02:00
|
|
|
bool "Sourcery CodeBench PowerPC 2010.09"
|
2010-12-13 17:27:39 +01:00
|
|
|
depends on BR2_powerpc
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2010-12-13 17:27:41 +01:00
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
2010-12-13 17:27:39 +01:00
|
|
|
help
|
2011-10-02 21:20:15 +02:00
|
|
|
Sourcery CodeBench toolchain for the PowerPC architecture,
|
2012-01-15 20:02:11 +01:00
|
|
|
from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
|
2011-10-02 21:20:15 +02:00
|
|
|
glibc 2.11, gdb 7.2.50 and kernel headers 2.6.35.2. It has
|
|
|
|
support for the following variants:
|
2010-12-13 17:27:39 +01:00
|
|
|
- 603 glibc, 32 bits
|
2011-12-31 15:38:22 +01:00
|
|
|
Select a generic PowerPC core
|
|
|
|
Disable BR2_SOFT_FLOAT
|
2010-12-13 17:27:39 +01:00
|
|
|
- 603 soft float glibc, 32 bits
|
2011-12-31 15:38:22 +01:00
|
|
|
Select a generic PowerPC core
|
|
|
|
Enable BR2_SOFT_FLOAT
|
2010-12-13 17:27:39 +01:00
|
|
|
- e600 altivec glibc, 32 bits
|
2011-12-31 15:38:22 +01:00
|
|
|
Set BR2_TARGET_OPTIMIZATION to -te600
|
2010-12-13 17:27:39 +01:00
|
|
|
- e500v1 glibc, 32 bits
|
2011-12-31 15:38:22 +01:00
|
|
|
Set BR2_TARGET_OPTIMIZATION to -te500v1
|
2010-12-13 17:27:39 +01:00
|
|
|
- e500v2 glibc, 32 bits
|
2011-12-31 15:38:22 +01:00
|
|
|
Set BR2_TARGET_OPTIMIZATION to -te500v2
|
2010-12-13 17:27:39 +01:00
|
|
|
- e500mc glibc, 32 bits
|
2011-12-31 15:38:22 +01:00
|
|
|
Set BR2_TARGET_OPTIMIZATION to -te500mc
|
2010-12-13 17:27:39 +01:00
|
|
|
- 970 glibc hard-float, 64 bits
|
2011-12-31 15:38:22 +01:00
|
|
|
Set BR2_TARGET_OPTIMIZATION to -m64
|
2010-12-13 17:27:39 +01:00
|
|
|
|
2011-10-02 21:20:13 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
|
2011-10-02 21:20:15 +02:00
|
|
|
bool "Sourcery CodeBench SH 2011.03"
|
2011-10-02 21:20:13 +02:00
|
|
|
depends on BR2_sh4a || BR2_sh4aeb
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
help
|
2011-10-02 21:20:15 +02:00
|
|
|
Sourcery CodeBench toolchain for the SuperH architecture,
|
|
|
|
from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
|
|
|
|
glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers
|
|
|
|
2.6.38. It has support for the following variants:
|
2011-10-02 21:20:13 +02:00
|
|
|
- SH4A, glibc, little endian
|
2011-12-31 15:38:22 +01:00
|
|
|
Default.
|
2011-10-02 21:20:13 +02:00
|
|
|
- SH4A, glibc, big endian
|
2011-12-31 15:38:22 +01:00
|
|
|
Add -mb to BR2_TARGET_OPTIMIZATION
|
2011-10-02 21:20:13 +02:00
|
|
|
- SH4A, uClibc, little endian
|
2011-12-31 15:38:22 +01:00
|
|
|
Not usable in Buildroot yet.
|
2011-10-02 21:20:13 +02:00
|
|
|
- SH4A, uClibc, big endian
|
2011-12-31 15:38:22 +01:00
|
|
|
Not usable in Buildroot yet.
|
2011-10-02 21:20:13 +02:00
|
|
|
|
2010-12-13 17:27:39 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201009
|
2011-10-02 21:20:15 +02:00
|
|
|
bool "Sourcery CodeBench SH 2010.09"
|
2011-05-09 15:12:53 +02:00
|
|
|
depends on BR2_sh4a || BR2_sh4aeb
|
2010-12-13 17:27:39 +01:00
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
2010-12-13 17:27:41 +01:00
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
2010-12-13 17:27:39 +01:00
|
|
|
help
|
2011-10-02 21:20:15 +02:00
|
|
|
Sourcery CodeBench toolchain for the SuperH architecture,
|
|
|
|
from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
|
|
|
|
glibc 2.11, uClibc 0.9.30, gdb 7.2.50 and kernel headers
|
|
|
|
2.6.35.2. It has support for the following variants:
|
2010-12-13 17:27:39 +01:00
|
|
|
- SH4A, glibc, little endian
|
2011-12-31 15:38:22 +01:00
|
|
|
Default.
|
2010-12-13 17:27:39 +01:00
|
|
|
- SH4A, glibc, big endian
|
2011-12-31 15:38:22 +01:00
|
|
|
Add -mb to BR2_TARGET_OPTIMIZATION
|
2011-03-09 12:40:03 +01:00
|
|
|
- SH4A, uClibc, little endian
|
2011-12-31 15:38:22 +01:00
|
|
|
Not usable in Buildroot yet.
|
2010-12-13 17:27:39 +01:00
|
|
|
- SH4A, uClibc, big endian
|
2011-12-31 15:38:22 +01:00
|
|
|
Not usable in Buildroot yet.
|
2010-12-13 17:27:39 +01:00
|
|
|
|
2011-10-02 21:20:11 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
|
2011-10-02 21:20:15 +02:00
|
|
|
bool "Sourcery CodeBench SH 2011.03"
|
2011-10-02 21:20:11 +02:00
|
|
|
depends on BR2_sh2a
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
|
|
|
|
select BR2_LARGEFILE
|
|
|
|
select BR2_INET_RPC
|
|
|
|
select BR2_USE_WCHAR
|
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS
|
2011-11-24 14:26:52 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
|
2011-10-02 21:20:11 +02:00
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
help
|
2011-10-02 21:20:15 +02:00
|
|
|
Sourcery CodeBench toolchain for the SuperH architecture,
|
|
|
|
from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
|
|
|
|
uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.38. It has
|
|
|
|
support for the following variants:
|
2011-10-02 21:20:11 +02:00
|
|
|
- SH2A, uClibc, big endian
|
|
|
|
|
2011-05-06 16:23:04 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
|
2011-10-02 21:20:15 +02:00
|
|
|
bool "Sourcery CodeBench SH 2010.09"
|
2011-05-09 15:12:53 +02:00
|
|
|
depends on BR2_sh2a
|
2011-05-06 16:23:04 +02:00
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
|
2011-07-30 00:00:37 +02:00
|
|
|
select BR2_LARGEFILE
|
|
|
|
select BR2_INET_RPC
|
|
|
|
select BR2_USE_WCHAR
|
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS
|
2011-11-24 14:26:52 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
|
2011-05-06 16:23:04 +02:00
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
help
|
2011-10-02 21:20:15 +02:00
|
|
|
Sourcery CodeBench toolchain for the SuperH architecture,
|
|
|
|
from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
|
|
|
|
uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.35.2. It
|
|
|
|
has support for the following variants:
|
2011-05-06 16:23:04 +02:00
|
|
|
- SH2A, uClibc, big endian
|
|
|
|
|
2011-12-31 12:34:33 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
|
|
|
|
bool "Sourcery CodeBench x86/x86_64 2011.09"
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
help
|
|
|
|
Sourcery CodeBench toolchain for the x86/x86_64
|
|
|
|
architectures, from Mentor Graphics. It uses gcc 4.6.1,
|
|
|
|
binutils 2.21.53, glibc 2.13, gdb 7.2.50 and kernel headers
|
|
|
|
3.0.1. It has support for the following variants:
|
|
|
|
- Intel Pentium 4, glibc, 32 bits
|
2012-03-13 23:30:00 +01:00
|
|
|
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.
|
2011-12-31 12:34:33 +01:00
|
|
|
|
2011-11-08 17:06:13 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201009
|
2011-10-02 21:20:15 +02:00
|
|
|
bool "Sourcery CodeBench x86/x86_64 2010.09"
|
2011-10-02 21:20:14 +02:00
|
|
|
depends on BR2_i386 || BR2_x86_64
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
help
|
2011-10-02 21:20:15 +02:00
|
|
|
Sourcery CodeBench toolchain for the x86/x86_64
|
|
|
|
architectures, from Mentor Graphics. It uses gcc 4.5.1,
|
|
|
|
binutils 2.20, glibc 2.11, gdb 7.2.50 and kernel headers
|
|
|
|
2.6.35.2. It has support for the following variants:
|
2011-10-02 21:20:14 +02:00
|
|
|
- Intel Pentium 4, glibc, 32 bits
|
2012-03-13 23:30:00 +01:00
|
|
|
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.
|
2011-10-02 21:20:14 +02:00
|
|
|
|
2011-12-31 12:39:12 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2011R1
|
|
|
|
bool "Blackfin.uclinux.org 2011R1-RC4"
|
|
|
|
depends on BR2_bfin
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
select BR2_LARGEFILE
|
|
|
|
select BR2_INET_IPV6
|
|
|
|
select BR2_INET_RPC
|
|
|
|
select BR2_USE_WCHAR
|
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
|
|
|
|
help
|
|
|
|
Toolchain for the Blackfin architecture, from
|
|
|
|
http://blackfin.uclinux.org.
|
|
|
|
|
2011-05-30 23:56:56 +02:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1
|
|
|
|
bool "Blackfin.uclinux.org 2010RC1"
|
|
|
|
depends on BR2_bfin
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
|
|
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
|
|
select BR2_LARGEFILE
|
|
|
|
select BR2_INET_IPV6
|
|
|
|
select BR2_INET_RPC
|
|
|
|
select BR2_USE_WCHAR
|
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS
|
2011-11-24 14:26:52 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
|
2011-05-30 23:56:56 +02:00
|
|
|
help
|
|
|
|
Toolchain for the Blackfin architecture, from
|
|
|
|
http://blackfin.uclinux.org.
|
|
|
|
|
2012-03-16 14:42:55 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
|
|
|
|
bool "Xilinx Little Endian Microblaze GNU Tools"
|
|
|
|
depends on BR2_microblazeel
|
|
|
|
select BR2_LARGEFILE
|
|
|
|
select BR2_INET_IPV6
|
|
|
|
select BR2_INET_RPC
|
|
|
|
select BR2_ENABLE_LOCALE
|
|
|
|
select BR2_USE_WCHAR
|
|
|
|
help
|
|
|
|
Toolchain for the Microblaze architecture, from
|
|
|
|
http://wiki.xilinx.com/mb-gnu-tools
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
|
|
|
|
bool "Xilinx Big Endian Microblaze GNU Tools"
|
|
|
|
depends on BR2_microblazebe
|
2012-03-19 20:48:24 +01:00
|
|
|
select BR2_LARGEFILE
|
|
|
|
select BR2_INET_IPV6
|
|
|
|
select BR2_INET_RPC
|
|
|
|
select BR2_ENABLE_LOCALE
|
|
|
|
select BR2_USE_WCHAR
|
2012-03-16 14:42:55 +01:00
|
|
|
help
|
|
|
|
Toolchain for the Microblaze architecture, from
|
|
|
|
http://wiki.xilinx.com/mb-gnu-tools
|
|
|
|
|
2010-12-13 17:27:39 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CUSTOM
|
|
|
|
bool "Custom toolchain"
|
|
|
|
help
|
|
|
|
Use this option to use a custom toolchain pre-installed on
|
|
|
|
your system.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
|
|
|
|
bool "Download toolchain automatically"
|
|
|
|
default y
|
|
|
|
depends on !BR2_TOOLCHAIN_EXTERNAL_CUSTOM
|
|
|
|
help
|
|
|
|
When enabled, Buildroot will automatically download and
|
|
|
|
install the selected external toolchain. When disabled,
|
|
|
|
Buildroot will use a pre-installed toolchain.
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_PATH
|
|
|
|
string "Toolchain path"
|
|
|
|
default "/path/to/toolchain/usr"
|
|
|
|
depends on !BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
|
|
|
|
help
|
|
|
|
Path to where the external toolchain is installed.
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
|
|
|
|
string "Toolchain prefix"
|
|
|
|
depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM
|
|
|
|
default "$(ARCH)-linux"
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_PREFIX
|
|
|
|
string
|
2012-01-28 17:12:02 +01:00
|
|
|
default "arm-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_01
|
2012-03-06 23:38:39 +01:00
|
|
|
default "arm-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_02
|
2012-03-30 00:22:47 +02:00
|
|
|
default "arm-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_03
|
2012-05-07 15:06:24 +02:00
|
|
|
default "arm-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_04
|
2011-08-29 17:56:31 +02:00
|
|
|
default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q3
|
2010-12-13 17:27:39 +01:00
|
|
|
default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2010Q1
|
|
|
|
default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201009
|
2011-05-13 11:38:43 +02:00
|
|
|
default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201103
|
2011-12-31 12:18:23 +01:00
|
|
|
default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201109
|
2012-03-16 14:42:55 +01:00
|
|
|
default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
|
|
|
|
default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
|
2010-12-13 17:27:39 +01:00
|
|
|
default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS44
|
2011-05-13 11:41:40 +02:00
|
|
|
default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201103
|
2010-12-13 17:27:39 +01:00
|
|
|
default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
|
2011-12-31 12:28:34 +01:00
|
|
|
default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
|
2011-05-05 14:17:23 +02:00
|
|
|
default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201009
|
2011-10-02 21:20:13 +02:00
|
|
|
default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
|
2011-05-06 16:23:04 +02:00
|
|
|
default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
|
2011-10-02 21:20:11 +02:00
|
|
|
default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
|
2011-11-08 17:06:13 +01:00
|
|
|
default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201009
|
2011-12-31 12:34:33 +01:00
|
|
|
default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
|
2011-05-30 23:56:56 +02:00
|
|
|
default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1 && !BR2_BFIN_FDPIC
|
|
|
|
default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1 && BR2_BFIN_FDPIC
|
2011-12-31 12:39:12 +01:00
|
|
|
default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2011R1 && !BR2_BFIN_FDPIC
|
|
|
|
default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2011R1 && BR2_BFIN_FDPIC
|
2010-12-13 17:27:39 +01:00
|
|
|
default $(BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX) \
|
|
|
|
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
|
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
|
|
|
select BR2_LARGEFILE
|
|
|
|
select BR2_INET_IPV6
|
|
|
|
select BR2_INET_RPC
|
|
|
|
select BR2_USE_WCHAR
|
|
|
|
select BR2_ENABLE_LOCALE
|
2010-12-13 17:27:44 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS
|
2011-11-24 14:26:52 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
|
2011-05-30 23:56:57 +02:00
|
|
|
select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
|
2009-05-29 18:37:41 +02:00
|
|
|
|
2010-12-13 17:27:39 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
|
|
|
|
bool
|
|
|
|
|
|
|
|
if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "External toolchain C library"
|
|
|
|
default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
|
|
|
|
bool "uClibc"
|
|
|
|
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
|
2010-12-13 17:27:39 +01:00
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
|
|
|
|
bool "glibc"
|
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
|
|
|
|
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_LARGEFILE
|
|
|
|
bool "Toolchain has large file support?"
|
|
|
|
select BR2_LARGEFILE
|
|
|
|
help
|
|
|
|
Select this option if your external toolchain supports
|
|
|
|
largefile. If you don't know, leave the default value,
|
|
|
|
Buildroot will tell you if it's correct or not.
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_INET_IPV6
|
|
|
|
bool "Toolchain has IPv6 support?"
|
|
|
|
select BR2_INET_IPV6
|
|
|
|
help
|
|
|
|
Select this option if your external toolchain supports
|
|
|
|
IPv6. If you don't know, leave the default value, Buildroot
|
|
|
|
will tell you if it's correct or not.
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
|
2011-04-29 13:25:37 +02:00
|
|
|
bool "Toolchain has RPC support?"
|
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
|
|
|
select BR2_INET_RPC
|
|
|
|
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.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
2011-11-24 14:26:52 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
|
|
|
|
bool "Toolchain has threads debugging support?"
|
|
|
|
depends on BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
|
|
|
|
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.
|
|
|
|
|
2010-12-13 17:27:39 +01:00
|
|
|
endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
|
|
|
|
|
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.
|
|
|
|
|
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
|
|
|
|
here, separated by spaces. They will be copied to the
|
|
|
|
target's /lib directory.
|
|
|
|
|
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
|
|
|
|
2010-12-13 17:27:39 +01:00
|
|
|
endif # BR2_TOOLCHAIN_EXTERNAL
|
|
|
|
|