Bernhard Reutner-Fischer | 4b0d5a8 | 2007-09-26 21:12:38 +0000 | [diff] [blame] | 1 | if BR2_TOOLCHAIN_EXTERNAL |
"Steven J. Hill" | 02f71aa | 2007-02-06 18:19:38 +0000 | [diff] [blame] | 2 | |
Petri Gynther | 8218ab8 | 2016-08-08 11:34:59 -0700 | [diff] [blame] | 3 | comment "Toolchain External Options" |
| 4 | |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 5 | choice |
| 6 | prompt "Toolchain" |
| 7 | |
Thomas Petazzoni | 416fd9c | 2016-06-08 23:40:54 +0200 | [diff] [blame] | 8 | comment "glibc toolchains only available with shared lib support" |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 9 | depends on BR2_STATIC_LIBS |
Thomas Petazzoni | ed3f3e4 | 2013-11-11 18:57:32 +0100 | [diff] [blame] | 10 | |
Thomas Petazzoni | f1f2ae5 | 2016-11-07 02:20:00 +0100 | [diff] [blame] | 11 | # Kept toolchains sorted by architecture in order to use some toolchain |
| 12 | # as default choice |
| 13 | |
| 14 | # Aarch64 (use Linaro toolchain by default) |
| 15 | source "toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in" |
Thomas Petazzoni | f0f2498 | 2016-11-07 02:20:01 +0100 | [diff] [blame] | 16 | source "toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/Config.in" |
Thomas Petazzoni | f1f2ae5 | 2016-11-07 02:20:00 +0100 | [diff] [blame] | 17 | |
Thomas Petazzoni | 21cb9d4 | 2016-11-07 02:20:02 +0100 | [diff] [blame] | 18 | # ARM (use Linaro toolchain by default) |
| 19 | source "toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in" |
Thomas Petazzoni | 5b3c5b3 | 2016-11-07 02:20:03 +0100 | [diff] [blame] | 20 | source "toolchain/toolchain-external/toolchain-external-codesourcery-arm/Config.in" |
Thomas Petazzoni | 21cb9d4 | 2016-11-07 02:20:02 +0100 | [diff] [blame] | 21 | |
Thomas Petazzoni | c428f45 | 2016-11-07 02:20:05 +0100 | [diff] [blame] | 22 | # ARM big-endian |
| 23 | source "toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in" |
Yann E. MORIN | 997ef60 | 2015-10-27 00:49:40 +0100 | [diff] [blame] | 24 | |
Thomas Petazzoni | cfacefe | 2016-11-07 02:20:06 +0100 | [diff] [blame] | 25 | # Blackfin |
| 26 | source "toolchain/toolchain-external/toolchain-external-blackfin-uclinux/Config.in" |
| 27 | |
Thomas Petazzoni | 1e1bef5 | 2016-11-07 02:20:07 +0100 | [diff] [blame^] | 28 | # MIPS (use codesourcery toolchain by default) |
| 29 | source "toolchain/toolchain-external/toolchain-external-codesourcery-mips/Config.in" |
| 30 | |
Romain Naour | 1820624 | 2015-12-19 19:14:46 +0100 | [diff] [blame] | 31 | config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A |
Thomas Petazzoni | 93d2b24 | 2013-06-08 11:14:17 +0200 | [diff] [blame] | 32 | bool "Arago ARMv7 2011.09" |
| 33 | depends on BR2_arm |
| 34 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Thomas Petazzoni | 29f6806 | 2014-10-21 22:27:06 +0200 | [diff] [blame] | 35 | depends on BR2_ARM_CPU_ARMV7A |
Thomas Petazzoni | ea6b277 | 2013-07-16 10:03:20 +0200 | [diff] [blame] | 36 | depends on BR2_ARM_EABI |
Yann E. MORIN | 08ce109 | 2015-12-26 17:05:45 +0100 | [diff] [blame] | 37 | depends on BR2_ARM_CPU_HAS_VFPV3 |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 38 | depends on !BR2_STATIC_LIBS |
Thomas Petazzoni | 93d2b24 | 2013-06-08 11:14:17 +0200 | [diff] [blame] | 39 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
Vicente Olivert Riera | 7949350 | 2016-03-15 16:40:38 +0000 | [diff] [blame] | 40 | select BR2_TOOLCHAIN_HAS_SSP |
Thomas Petazzoni | 93d2b24 | 2013-06-08 11:14:17 +0200 | [diff] [blame] | 41 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 42 | select BR2_INSTALL_LIBSTDCPP |
| 43 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 44 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 |
Yann E. MORIN | b6f321b | 2014-03-01 15:52:58 +0100 | [diff] [blame] | 45 | # kernel headers: 2.6.31 |
Thomas Petazzoni | 93d2b24 | 2013-06-08 11:14:17 +0200 | [diff] [blame] | 46 | help |
| 47 | Texas Instruments Arago 2011.09 toolchain, with gcc 4.5.3, |
| 48 | binutils 2.20.1, glibc 2.12, gdb 7.2. |
| 49 | |
Thomas Petazzoni | ea6b277 | 2013-07-16 10:03:20 +0200 | [diff] [blame] | 50 | This toolchain uses -mfloat-abi=softfp (i.e can use FPU |
| 51 | instructions, but passes floating point function arguments |
| 52 | in integer registers), and requires a VFPv3 floating point |
| 53 | unit to work properly. This unit is available on most |
| 54 | Cortex-A ARM processors, but not all. |
Thomas Petazzoni | 93d2b24 | 2013-06-08 11:14:17 +0200 | [diff] [blame] | 55 | |
Romain Naour | 1820624 | 2015-12-19 19:14:46 +0100 | [diff] [blame] | 56 | config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE |
Thomas Petazzoni | 2592f25 | 2013-06-08 11:14:18 +0200 | [diff] [blame] | 57 | bool "Arago ARMv5 2011.09" |
| 58 | depends on BR2_arm |
| 59 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Thomas Petazzoni | 29f6806 | 2014-10-21 22:27:06 +0200 | [diff] [blame] | 60 | depends on !BR2_ARM_CPU_ARMV4 |
Thomas Petazzoni | ea6b277 | 2013-07-16 10:03:20 +0200 | [diff] [blame] | 61 | depends on BR2_ARM_EABI |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 62 | depends on !BR2_STATIC_LIBS |
Thomas Petazzoni | 2592f25 | 2013-06-08 11:14:18 +0200 | [diff] [blame] | 63 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
Vicente Olivert Riera | 7949350 | 2016-03-15 16:40:38 +0000 | [diff] [blame] | 64 | select BR2_TOOLCHAIN_HAS_SSP |
Thomas Petazzoni | 2592f25 | 2013-06-08 11:14:18 +0200 | [diff] [blame] | 65 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 66 | select BR2_INSTALL_LIBSTDCPP |
| 67 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 68 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 |
Yann E. MORIN | b6f321b | 2014-03-01 15:52:58 +0100 | [diff] [blame] | 69 | # kernel headers: 2.6.31 |
Thomas Petazzoni | 2592f25 | 2013-06-08 11:14:18 +0200 | [diff] [blame] | 70 | help |
| 71 | Texas Instruments Arago ARMv5 2011.09 toolchain, with gcc |
| 72 | 4.5.3, binutils 2.20.1, glibc 2.12, gdb 7.2. |
| 73 | |
| 74 | This toolchain uses software-floating point. |
| 75 | |
Vicente Olivert Riera | e424c13 | 2015-12-15 16:21:25 +0000 | [diff] [blame] | 76 | config BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS |
Vicente Olivert Riera | ddf2867 | 2016-07-04 11:17:40 +0100 | [diff] [blame] | 77 | bool "Codescape IMG GNU Linux Toolchain 2016.05" |
Vicente Olivert Riera | e424c13 | 2015-12-15 16:21:25 +0000 | [diff] [blame] | 78 | depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el |
| 79 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Vicente Olivert Riera | 45c92c6 | 2016-09-30 10:36:49 +0100 | [diff] [blame] | 80 | depends on BR2_MIPS_CPU_MIPS32R6 || (BR2_MIPS_CPU_MIPS64R6 && !BR2_MIPS_SOFT_FLOAT) |
Vicente Olivert Riera | e424c13 | 2015-12-15 16:21:25 +0000 | [diff] [blame] | 81 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 82 | select BR2_INSTALL_LIBSTDCPP |
| 83 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
| 84 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 |
| 85 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 |
Vicente Olivert Riera | ddf2867 | 2016-07-04 11:17:40 +0100 | [diff] [blame] | 86 | select BR2_TOOLCHAIN_HAS_FORTRAN |
Vicente Olivert Riera | e424c13 | 2015-12-15 16:21:25 +0000 | [diff] [blame] | 87 | help |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 88 | Codescape IMG GNU Linux Toolchain 2015.10 for the MIPS |
Vicente Olivert Riera | e424c13 | 2015-12-15 16:21:25 +0000 | [diff] [blame] | 89 | architecture, from Imagination Technologies. It uses gcc |
| 90 | 4.9.2, binutils 2.24.90, glibc 2.20, gdb 7.9.1 and kernel |
| 91 | headers 4.0. It has support for the following variants: |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 92 | - MIPS32r6 - Big-Endian, Hard-Float, 2008 NaN, o32 ABI |
Vicente Olivert Riera | e424c13 | 2015-12-15 16:21:25 +0000 | [diff] [blame] | 93 | Select 'MIPS (big endian)' Target Architecture |
| 94 | Select 'mips 32r6' Target Architecture Variant |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 95 | Disable 'Use soft-float' |
| 96 | - MIPS32r6 - Big-Endian, Soft-Float, 2008 NaN, o32 ABI |
| 97 | Select 'MIPS (big endian)' Target Architecture |
| 98 | Select 'mips 32r6' Target Architecture Variant |
| 99 | Enable 'Use soft-float' |
| 100 | - MIPS32r6 - Little-Endian, Hard-Float, 2008 NaN, o32 ABI |
Vicente Olivert Riera | e424c13 | 2015-12-15 16:21:25 +0000 | [diff] [blame] | 101 | Select 'MIPS (little endian)' Target Architecture |
| 102 | Select 'mips 32r6' Target Architecture Variant |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 103 | Disable 'Use soft-float' |
| 104 | - MIPS32r6 - Little-Endian, Soft-Float, 2008 NaN, o32 ABI |
Vicente Olivert Riera | e424c13 | 2015-12-15 16:21:25 +0000 | [diff] [blame] | 105 | Select 'MIPS (little endian)' Target Architecture |
| 106 | Select 'mips 32r6' Target Architecture Variant |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 107 | Enable 'Use soft-float' |
| 108 | - MIPS32r6 - Little-Endian, Hard-Float, 2008 NaN, o32 ABI, microMIPS |
| 109 | Select 'MIPS (little endian)' Target Architecture |
| 110 | Select 'mips 32r6' Target Architecture Variant |
| 111 | Disable 'Use soft-float' |
Vicente Olivert Riera | e424c13 | 2015-12-15 16:21:25 +0000 | [diff] [blame] | 112 | Set BR2_TARGET_OPTIMIZATION to '-mmicromips' |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 113 | - MIPS32r6 - Little-Endian, Soft-Float, 2008 NaN, o32 ABI, microMIPS |
| 114 | Select 'MIPS (little endian)' Target Architecture |
| 115 | Select 'mips 32r6' Target Architecture Variant |
| 116 | Enable 'Use soft-float' |
| 117 | Set BR2_TARGET_OPTIMIZATION to '-mmicromips' |
| 118 | - MIPS64r6 - Big-Endian, Hard-Float, 2008 NaN, n32 ABI |
Vicente Olivert Riera | e424c13 | 2015-12-15 16:21:25 +0000 | [diff] [blame] | 119 | Select 'MIPS64 (big endian)' Target Architecture |
| 120 | Select 'mips 64r6' Target Architecture Variant |
| 121 | Select 'n32' Target ABI |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 122 | Disable 'Use soft-float' |
| 123 | - MIPS64r6 - Little-Endian, Hard-Float, 2008 NaN, n32 ABI |
Vicente Olivert Riera | e424c13 | 2015-12-15 16:21:25 +0000 | [diff] [blame] | 124 | Select 'MIPS64 (little endian)' Target Architecture |
| 125 | Select 'mips 64r6' Target Architecture Variant |
| 126 | Select 'n32' Target ABI |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 127 | Disable 'Use soft-float' |
| 128 | - MIPS64r6 - Big-Endian, Hard-Float, 2008 NaN, n64 ABI |
Vicente Olivert Riera | e424c13 | 2015-12-15 16:21:25 +0000 | [diff] [blame] | 129 | Select 'MIPS64 (big endian)' Target Architecture |
| 130 | Select 'mips 64r6' Target Architecture Variant |
| 131 | Select 'n64' Target ABI |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 132 | Disable 'Use soft-float' |
| 133 | - MIPS64r6 - Little-Endian, Hard-Float, 2008 NaN, n64 ABI |
Vicente Olivert Riera | e424c13 | 2015-12-15 16:21:25 +0000 | [diff] [blame] | 134 | Select 'MIPS64 (little endian)' Target Architecture |
| 135 | Select 'mips 64r6' Target Architecture Variant |
| 136 | Select 'n64' Target ABI |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 137 | Disable 'Use soft-float' |
Vicente Olivert Riera | e424c13 | 2015-12-15 16:21:25 +0000 | [diff] [blame] | 138 | |
Vicente Olivert Riera | c65c728 | 2015-12-15 16:21:24 +0000 | [diff] [blame] | 139 | config BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS |
Vicente Olivert Riera | ddf2867 | 2016-07-04 11:17:40 +0100 | [diff] [blame] | 140 | bool "Codescape MTI GNU Linux Toolchain 2016.05" |
Vicente Olivert Riera | c65c728 | 2015-12-15 16:21:24 +0000 | [diff] [blame] | 141 | depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el |
| 142 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Vicente Olivert Riera | 2373ce2 | 2016-09-30 10:36:53 +0100 | [diff] [blame] | 143 | depends on BR2_MIPS_CPU_MIPS32R2 || (BR2_MIPS_CPU_MIPS64R2 && !BR2_MIPS_SOFT_FLOAT) || \ |
| 144 | BR2_MIPS_CPU_MIPS32R5 || (BR2_MIPS_CPU_MIPS64R5 && !BR2_MIPS_SOFT_FLOAT) |
Vicente Olivert Riera | c65c728 | 2015-12-15 16:21:24 +0000 | [diff] [blame] | 145 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 146 | select BR2_INSTALL_LIBSTDCPP |
| 147 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
| 148 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 |
| 149 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 |
Vicente Olivert Riera | ddf2867 | 2016-07-04 11:17:40 +0100 | [diff] [blame] | 150 | select BR2_TOOLCHAIN_HAS_FORTRAN |
Vicente Olivert Riera | c65c728 | 2015-12-15 16:21:24 +0000 | [diff] [blame] | 151 | help |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 152 | Codescape MTI GNU Linux Toolchain 2015.10 for the MIPS |
Vicente Olivert Riera | c65c728 | 2015-12-15 16:21:24 +0000 | [diff] [blame] | 153 | architecture, from Imagination Technologies. It uses gcc |
| 154 | 4.9.2, binutils 2.24.90, glibc 2.20, gdb 7.9.1 and kernel |
| 155 | headers 4.0. It has support for the following variants: |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 156 | - MIPS32r2 - Big-Endian, Hard-Float, Legacy NaN, o32 ABI |
Vicente Olivert Riera | c65c728 | 2015-12-15 16:21:24 +0000 | [diff] [blame] | 157 | Select 'MIPS (big endian)' Target Architecture |
| 158 | Select 'mips 32r2' Target Architecture Variant |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 159 | Disable 'Use soft-float' |
| 160 | - MIPS32r2 - Big-Endian, Hard-Float, 2008 NaN, o32 ABI |
Vicente Olivert Riera | c65c728 | 2015-12-15 16:21:24 +0000 | [diff] [blame] | 161 | Select 'MIPS (big endian)' Target Architecture |
| 162 | Select 'mips 32r2' Target Architecture Variant |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 163 | Disable 'Use soft-float' |
Vicente Olivert Riera | c65c728 | 2015-12-15 16:21:24 +0000 | [diff] [blame] | 164 | Set BR2_TARGET_OPTIMIZATION to '-mnan=2008' |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 165 | - MIPS32r2 - Big-Endian, Soft-Float, Legacy NaN, o32 ABI |
| 166 | Select 'MIPS (big endian)' Target Architecture |
| 167 | Select 'mips 32r2' Target Architecture Variant |
| 168 | Enable 'Use soft-float' |
| 169 | - MIPS32r2 - Little-Endian, Hard-Float, Legacy NaN, o32 ABI |
Vicente Olivert Riera | c65c728 | 2015-12-15 16:21:24 +0000 | [diff] [blame] | 170 | Select 'MIPS (little endian)' Target Architecture |
| 171 | Select 'mips 32r2' Target Architecture Variant |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 172 | Disable 'Use soft-float' |
| 173 | - MIPS32r2 - Little-Endian, Hard-Float, 2008 NaN, o32 ABI |
Vicente Olivert Riera | c65c728 | 2015-12-15 16:21:24 +0000 | [diff] [blame] | 174 | Select 'MIPS (little endian)' Target Architecture |
| 175 | Select 'mips 32r2' Target Architecture Variant |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 176 | Disable 'Use soft-float' |
| 177 | Set BR2_TARGET_OPTIMIZATION to '-mnan=2008' |
| 178 | - MIPS32r2 - Little-Endian, Soft-Float, Legacy NaN, o32 ABI |
| 179 | Select 'MIPS (little endian)' Target Architecture |
| 180 | Select 'mips 32r2' Target Architecture Variant |
| 181 | Enable 'Use soft-float' |
| 182 | - MIPS32r2 - Little-Endian, Hard-Float, 2008 NaN, o32 ABI, microMIPS |
| 183 | Select 'MIPS (little endian)' Target Architecture |
| 184 | Select 'mips 32r2' Target Architecture Variant |
| 185 | Enable 'Use soft-float' |
Vicente Olivert Riera | c65c728 | 2015-12-15 16:21:24 +0000 | [diff] [blame] | 186 | Set BR2_TARGET_OPTIMIZATION to '-mmicromips' |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 187 | - MIPS32r2 - Little-Endian, Soft-Float, Legacy NaN, o32 ABI, microMIPS |
| 188 | Select 'MIPS (little endian)' Target Architecture |
| 189 | Select 'mips 32r2' Target Architecture Variant |
| 190 | Disable 'Use soft-float' |
| 191 | Set BR2_TARGET_OPTIMIZATION to '-mmicromips' |
| 192 | - MIPS64r2 - Big-Endian, Hard-Float, Legacy NaN, n32 ABI |
Vicente Olivert Riera | c65c728 | 2015-12-15 16:21:24 +0000 | [diff] [blame] | 193 | Select 'MIPS64 (big endian)' Target Architecture |
| 194 | Select 'mips 64r2' Target Architecture Variant |
| 195 | Select 'n32' Target ABI |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 196 | Disable 'Use soft-float' |
| 197 | - MIPS64r2 - Little-Endian, Hard-Float, Legacy NaN, n32 ABI |
Vicente Olivert Riera | c65c728 | 2015-12-15 16:21:24 +0000 | [diff] [blame] | 198 | Select 'MIPS64 (little endian)' Target Architecture |
| 199 | Select 'mips 64r2' Target Architecture Variant |
| 200 | Select 'n32' Target ABI |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 201 | Disable 'Use soft-float' |
| 202 | - MIPS64r2 - Big-Endian, Hard-Float, Legacy NaN, n64 ABI |
Vicente Olivert Riera | c65c728 | 2015-12-15 16:21:24 +0000 | [diff] [blame] | 203 | Select 'MIPS64 (big endian)' Target Architecture |
| 204 | Select 'mips 64r2' Target Architecture Variant |
| 205 | Select 'n64' Target ABI |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 206 | Disable 'Use soft-float' |
| 207 | - MIPS64r2 - Little-Endian, Hard-Float, Legacy NaN, n64 ABI |
Vicente Olivert Riera | c65c728 | 2015-12-15 16:21:24 +0000 | [diff] [blame] | 208 | Select 'MIPS64 (little endian)' Target Architecture |
| 209 | Select 'mips 64r2' Target Architecture Variant |
| 210 | Select 'n64' Target ABI |
Vicente Olivert Riera | 2b3fa6b | 2016-03-08 09:46:09 +0000 | [diff] [blame] | 211 | Disable 'Use soft-float' |
Vicente Olivert Riera | c65c728 | 2015-12-15 16:21:24 +0000 | [diff] [blame] | 212 | |
Romain Naour | c785b1b | 2015-11-21 17:36:16 +0100 | [diff] [blame] | 213 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII |
Romain Naour | 04c9d65 | 2016-05-19 00:23:30 +0200 | [diff] [blame] | 214 | bool "Sourcery CodeBench Nios-II 2016.05" |
Ezequiel GarcÃa | 3ca5f0b | 2014-08-31 18:33:39 -0300 | [diff] [blame] | 215 | depends on BR2_nios2 |
| 216 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 217 | depends on !BR2_STATIC_LIBS |
Ezequiel GarcÃa | 3ca5f0b | 2014-08-31 18:33:39 -0300 | [diff] [blame] | 218 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
Vicente Olivert Riera | 7949350 | 2016-03-15 16:40:38 +0000 | [diff] [blame] | 219 | select BR2_TOOLCHAIN_HAS_SSP |
Ezequiel GarcÃa | 3ca5f0b | 2014-08-31 18:33:39 -0300 | [diff] [blame] | 220 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 221 | select BR2_INSTALL_LIBSTDCPP |
| 222 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Romain Naour | 04c9d65 | 2016-05-19 00:23:30 +0200 | [diff] [blame] | 223 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4 |
Romain Naour | e7e5a76 | 2015-11-21 17:36:17 +0100 | [diff] [blame] | 224 | select BR2_TOOLCHAIN_GCC_AT_LEAST_5 |
Romain Naour | 5dce3c0 | 2016-02-20 13:42:46 +0100 | [diff] [blame] | 225 | select BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # based-on binutils-2.25.1 |
Ezequiel GarcÃa | 3ca5f0b | 2014-08-31 18:33:39 -0300 | [diff] [blame] | 226 | help |
| 227 | Sourcery CodeBench toolchain for the Nios-II architecture, |
Romain Naour | 04c9d65 | 2016-05-19 00:23:30 +0200 | [diff] [blame] | 228 | from Mentor Graphics. It uses gcc 5.3, binutils 2.25.51, |
| 229 | glibc 2.23, gdb 7.10.50 and kernel headers 4.4. |
Ezequiel GarcÃa | 3ca5f0b | 2014-08-31 18:33:39 -0300 | [diff] [blame] | 230 | |
Romain Naour | 3e1ae89 | 2015-12-19 19:14:42 +0100 | [diff] [blame] | 231 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH |
Thomas Petazzoni | e067a44 | 2012-11-04 07:34:21 +0000 | [diff] [blame] | 232 | bool "Sourcery CodeBench SH 2012.09" |
| 233 | depends on BR2_sh4a || BR2_sh4aeb |
Thomas Petazzoni | 4eff1f2 | 2012-12-29 06:14:48 +0000 | [diff] [blame] | 234 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 235 | depends on !BR2_STATIC_LIBS |
Thomas Petazzoni | e067a44 | 2012-11-04 07:34:21 +0000 | [diff] [blame] | 236 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
Vicente Olivert Riera | 7949350 | 2016-03-15 16:40:38 +0000 | [diff] [blame] | 237 | select BR2_TOOLCHAIN_HAS_SSP |
Thomas Petazzoni | e067a44 | 2012-11-04 07:34:21 +0000 | [diff] [blame] | 238 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 239 | select BR2_INSTALL_LIBSTDCPP |
Thomas Petazzoni | 2d16ba9 | 2012-12-29 06:14:50 +0000 | [diff] [blame] | 240 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Yann E. MORIN | b6f321b | 2014-03-01 15:52:58 +0100 | [diff] [blame] | 241 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 242 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 |
Thomas Petazzoni | e067a44 | 2012-11-04 07:34:21 +0000 | [diff] [blame] | 243 | help |
| 244 | Sourcery CodeBench toolchain for the SuperH architecture, |
| 245 | from Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51, |
| 246 | glibc 2.16, uClibc 0.9.30, gdb 7.4.50 and kernel headers |
| 247 | 3.5.4. It has support for the following variants: |
Thomas De Schampheleire | bed4e27 | 2013-11-11 17:23:23 +0100 | [diff] [blame] | 248 | - SH4A, glibc, little endian |
| 249 | Default. |
| 250 | - SH4A, glibc, big endian |
| 251 | Add -mb to BR2_TARGET_OPTIMIZATION |
| 252 | - SH4A, uClibc, little endian |
| 253 | Not usable in Buildroot yet. |
| 254 | - SH4A, uClibc, big endian |
| 255 | Not usable in Buildroot yet. |
Thomas Petazzoni | e067a44 | 2012-11-04 07:34:21 +0000 | [diff] [blame] | 256 | |
Romain Naour | 23ba818 | 2015-11-21 17:36:14 +0100 | [diff] [blame] | 257 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64 |
Romain Naour | 09f1a3b | 2015-11-21 17:36:15 +0100 | [diff] [blame] | 258 | bool "Sourcery CodeBench AMD64 2015.11" |
Gustavo Zacarias | d6fbd85 | 2015-03-03 12:52:31 -0300 | [diff] [blame] | 259 | depends on BR2_x86_64 |
| 260 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
| 261 | depends on !BR2_STATIC_LIBS |
| 262 | depends on BR2_x86_jaguar || BR2_x86_steamroller |
| 263 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
Vicente Olivert Riera | 7949350 | 2016-03-15 16:40:38 +0000 | [diff] [blame] | 264 | select BR2_TOOLCHAIN_HAS_SSP |
Gustavo Zacarias | d6fbd85 | 2015-03-03 12:52:31 -0300 | [diff] [blame] | 265 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 266 | select BR2_INSTALL_LIBSTDCPP |
| 267 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Romain Naour | 09f1a3b | 2015-11-21 17:36:15 +0100 | [diff] [blame] | 268 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 |
| 269 | select BR2_TOOLCHAIN_GCC_AT_LEAST_5 |
Gustavo Zacarias | d6fbd85 | 2015-03-03 12:52:31 -0300 | [diff] [blame] | 270 | help |
| 271 | Sourcery CodeBench toolchain for the amd64 (x86_64) |
Romain Naour | 09f1a3b | 2015-11-21 17:36:15 +0100 | [diff] [blame] | 272 | architectures, from Mentor Graphics. It uses gcc 5.2, |
| 273 | binutils 2.25.51, glibc 2.22, gdb 7.10.50 and kernel headers |
| 274 | 4.2. It has support for the following variants: |
Gustavo Zacarias | d6fbd85 | 2015-03-03 12:52:31 -0300 | [diff] [blame] | 275 | - AMD Puma/Jaguar (family 16h), glibc |
| 276 | Default for x86_64, nothing special to do. |
| 277 | - AMD Steamroller (family 15h), glibc |
| 278 | Select a steamroller core. |
| 279 | No other architecture variants are supported since glibc |
| 280 | is optimized for one of these two baselines. |
| 281 | |
Romain Naour | f4da09e | 2015-12-19 19:14:43 +0100 | [diff] [blame] | 282 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86 |
Thomas Petazzoni | 1c81123 | 2012-11-04 07:34:22 +0000 | [diff] [blame] | 283 | bool "Sourcery CodeBench x86/x86_64 2012.09" |
| 284 | depends on BR2_i386 || BR2_x86_64 |
Thomas Petazzoni | 4eff1f2 | 2012-12-29 06:14:48 +0000 | [diff] [blame] | 285 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 286 | depends on !BR2_STATIC_LIBS |
Adrien Béraud | a20cb38 | 2014-01-15 17:17:10 -0500 | [diff] [blame] | 287 | depends on !BR2_x86_jaguar |
Gustavo Zacarias | 5045199 | 2015-03-03 12:52:30 -0300 | [diff] [blame] | 288 | depends on !BR2_x86_steamroller |
Thomas Petazzoni | 1c81123 | 2012-11-04 07:34:22 +0000 | [diff] [blame] | 289 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
Vicente Olivert Riera | 7949350 | 2016-03-15 16:40:38 +0000 | [diff] [blame] | 290 | select BR2_TOOLCHAIN_HAS_SSP |
Thomas Petazzoni | 1c81123 | 2012-11-04 07:34:22 +0000 | [diff] [blame] | 291 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 292 | select BR2_INSTALL_LIBSTDCPP |
Thomas Petazzoni | 2d16ba9 | 2012-12-29 06:14:50 +0000 | [diff] [blame] | 293 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Yann E. MORIN | b6f321b | 2014-03-01 15:52:58 +0100 | [diff] [blame] | 294 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 295 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 |
Thomas Petazzoni | 1c81123 | 2012-11-04 07:34:22 +0000 | [diff] [blame] | 296 | help |
| 297 | Sourcery CodeBench toolchain for the x86/x86_64 |
| 298 | architectures, from Mentor Graphics. It uses gcc 4.7.2, |
| 299 | binutils 2.23.51, glibc 2.16, gdb 7.4.50 and kernel headers |
| 300 | 3.5.4. It has support for the following variants: |
| 301 | - Intel Pentium 4, glibc, 32 bits |
| 302 | Default for x86, nothing special to do. |
| 303 | - Intel Atom, glibc, 32 bits |
| 304 | Select an Atom core |
| 305 | - Intel Xeon, glibc, 64 bits |
| 306 | Default for x86_64, nothing special to do. |
| 307 | - Intel Core 2, glibc, 64 bits |
| 308 | Select a Core 2 core |
| 309 | Other architecture variants (beyond Pentium-4/Xeon) are |
| 310 | supported as well, but glibc is not optimised for it. |
| 311 | |
Thomas Petazzoni | 2d71c12 | 2014-05-05 23:17:10 +0200 | [diff] [blame] | 312 | config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS |
Thomas Petazzoni | a8e6f52 | 2016-05-17 00:13:02 +0200 | [diff] [blame] | 313 | bool "Musl 1.1.12 toolchain" |
Thomas Petazzoni | e9f6ef8 | 2016-07-28 15:39:14 +0200 | [diff] [blame] | 314 | depends on (BR2_arm && BR2_ARM_EABI && BR2_USE_MMU) || \ |
| 315 | (BR2_arm && BR2_ARM_EABIHF && !BR2_ARM_CPU_ARMV4 && BR2_USE_MMU) || \ |
| 316 | (BR2_armeb && BR2_ARM_EABI && !BR2_ARM_CPU_ARMV7A && BR2_USE_MMU) || \ |
| 317 | BR2_i386 || (BR2_mips && !BR2_SOFT_FLOAT) || \ |
Thomas Petazzoni | df4d908 | 2016-03-04 23:50:07 +0100 | [diff] [blame] | 318 | BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || \ |
| 319 | BR2_sh4 || BR2_sh4eb || \ |
| 320 | BR2_x86_64 |
Thomas Petazzoni | 2d71c12 | 2014-05-05 23:17:10 +0200 | [diff] [blame] | 321 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Vicente Olivert Riera | ef3e732 | 2016-09-30 10:36:54 +0100 | [diff] [blame] | 322 | # Unsupported MIPS cores |
Vicente Olivert Riera | 55a37ea | 2016-09-30 10:36:56 +0100 | [diff] [blame] | 323 | depends on !BR2_mips_interaptiv && !BR2_mips_m5100 && !BR2_mips_m5101 |
Vicente Olivert Riera | 99122d6 | 2015-10-12 11:08:06 +0100 | [diff] [blame] | 324 | # Unsupported for MIPS R6 |
Vicente Olivert Riera | 45c92c6 | 2016-09-30 10:36:49 +0100 | [diff] [blame] | 325 | depends on !BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6 |
Thomas Petazzoni | 2d71c12 | 2014-05-05 23:17:10 +0200 | [diff] [blame] | 326 | select BR2_TOOLCHAIN_EXTERNAL_MUSL |
Vicente Olivert Riera | 7949350 | 2016-03-15 16:40:38 +0000 | [diff] [blame] | 327 | select BR2_TOOLCHAIN_HAS_SSP |
Thomas Petazzoni | 2d71c12 | 2014-05-05 23:17:10 +0200 | [diff] [blame] | 328 | select BR2_INSTALL_LIBSTDCPP |
| 329 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Thomas Petazzoni | 5c85266 | 2014-06-01 12:47:45 +0200 | [diff] [blame] | 330 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 |
Thomas Petazzoni | df4d908 | 2016-03-04 23:50:07 +0100 | [diff] [blame] | 331 | select BR2_TOOLCHAIN_GCC_AT_LEAST_5 |
Thomas Petazzoni | 2d71c12 | 2014-05-05 23:17:10 +0200 | [diff] [blame] | 332 | help |
| 333 | Toolchain based on the Musl C library, provided by the |
Thomas Petazzoni | df4d908 | 2016-03-04 23:50:07 +0100 | [diff] [blame] | 334 | musl-cross project. It uses gcc 5.3, binutils 2.25.1 and |
| 335 | musl 1.1.12. It does not have a cross debugger included. |
Thomas Petazzoni | 2d71c12 | 2014-05-05 23:17:10 +0200 | [diff] [blame] | 336 | |
Thomas Petazzoni | b2ec783 | 2015-10-09 11:14:48 +0200 | [diff] [blame] | 337 | The ARM soft-float toolchain is built for ARMv4t, while the |
| 338 | ARM hard-float toolchain is built for ARMv5t. |
Thomas Petazzoni | 2d71c12 | 2014-05-05 23:17:10 +0200 | [diff] [blame] | 339 | The x86 toolchain is built for i486. |
| 340 | |
| 341 | http://musl.codu.org/ |
| 342 | |
Romain Naour | d02fa92 | 2015-12-19 19:14:45 +0100 | [diff] [blame] | 343 | config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC |
Alexey Brodkin | 2b93fe5 | 2015-03-10 14:50:24 +0300 | [diff] [blame] | 344 | bool "Synopsys ARC 2014.12 toolchain" |
| 345 | depends on BR2_arc |
| 346 | depends on BR2_HOSTARCH = "x86_64" |
Thomas Petazzoni | cd3c00f | 2015-05-01 11:13:54 +0200 | [diff] [blame] | 347 | # does not provide IPv6, and lacks many uClibc features |
| 348 | # expected by Buildroot. The next Synopsys toolchain version |
| 349 | # should fix those problems. |
| 350 | depends on BROKEN |
Alexey Brodkin | 2b93fe5 | 2015-03-10 14:50:24 +0300 | [diff] [blame] | 351 | select BR2_TOOLCHAIN_EXTERNAL_UCLIBC |
| 352 | select BR2_INSTALL_LIBSTDCPP |
Alexey Brodkin | 2b93fe5 | 2015-03-10 14:50:24 +0300 | [diff] [blame] | 353 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 354 | select BR2_ENABLE_LOCALE |
| 355 | select BR2_USE_WCHAR |
| 356 | select BR2_TOOLCHAIN_HAS_THREADS |
| 357 | select BR2_TOOLCHAIN_HAS_THREADS_DEBUG |
| 358 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 359 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 |
Alexey Brodkin | 2b93fe5 | 2015-03-10 14:50:24 +0300 | [diff] [blame] | 360 | help |
| 361 | Toolchain for the ARC cores, from |
| 362 | https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases |
| 363 | |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 364 | config BR2_TOOLCHAIN_EXTERNAL_CUSTOM |
Thomas De Schampheleire | 5022fa8 | 2012-06-22 07:42:37 +0200 | [diff] [blame] | 365 | bool "Custom toolchain" |
| 366 | help |
| 367 | Use this option to use a custom toolchain pre-installed on |
| 368 | your system. |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 369 | |
| 370 | endchoice |
| 371 | |
Thomas De Schampheleire | df0c125 | 2012-06-22 07:42:38 +0200 | [diff] [blame] | 372 | choice |
| 373 | prompt "Toolchain origin" |
Thomas Petazzoni | 7019407 | 2012-07-22 20:57:26 +0200 | [diff] [blame] | 374 | # Keep compatibility with old defconfig files that are using |
| 375 | # custom toolchains, and which are therefore assuming that |
| 376 | # "preinstalled" in the default choice. |
| 377 | default BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED if BR2_TOOLCHAIN_EXTERNAL_CUSTOM |
Thomas De Schampheleire | df0c125 | 2012-06-22 07:42:38 +0200 | [diff] [blame] | 378 | |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 379 | config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD |
Thomas De Schampheleire | df0c125 | 2012-06-22 07:42:38 +0200 | [diff] [blame] | 380 | bool "Toolchain to be downloaded and installed" |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 381 | help |
Thomas De Schampheleire | df0c125 | 2012-06-22 07:42:38 +0200 | [diff] [blame] | 382 | Select this option if you want Buildroot to download and install the |
| 383 | toolchain. If you have selected a custom toolchain, specify the URL |
| 384 | in BR2_TOOLCHAIN_EXTERNAL_URL. |
| 385 | |
| 386 | config BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED |
| 387 | bool "Pre-installed toolchain" |
| 388 | help |
| 389 | Select this option if you want to use a pre-installed toolchain. |
| 390 | Specify the path to this toolchain in BR2_TOOLCHAIN_EXTERNAL_PATH. |
| 391 | |
| 392 | endchoice |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 393 | |
| 394 | config BR2_TOOLCHAIN_EXTERNAL_PATH |
| 395 | string "Toolchain path" |
| 396 | default "/path/to/toolchain/usr" |
Thomas De Schampheleire | df0c125 | 2012-06-22 07:42:38 +0200 | [diff] [blame] | 397 | depends on BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 398 | help |
| 399 | Path to where the external toolchain is installed. |
| 400 | |
Thomas De Schampheleire | df0c125 | 2012-06-22 07:42:38 +0200 | [diff] [blame] | 401 | config BR2_TOOLCHAIN_EXTERNAL_URL |
| 402 | string "Toolchain URL" |
| 403 | depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM && BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD |
| 404 | help |
| 405 | URL of the custom toolchain tarball to download and install. |
| 406 | |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 407 | config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX |
| 408 | string "Toolchain prefix" |
| 409 | depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM |
| 410 | default "$(ARCH)-linux" |
| 411 | |
| 412 | config BR2_TOOLCHAIN_EXTERNAL_PREFIX |
| 413 | string |
Romain Naour | d02fa92 | 2015-12-19 19:14:45 +0100 | [diff] [blame] | 414 | default "arc-linux" if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC && BR2_arcle |
| 415 | default "arceb-linux" if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC && BR2_arceb |
Romain Naour | 1820624 | 2015-12-19 19:14:46 +0100 | [diff] [blame] | 416 | default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A |
| 417 | default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE |
Romain Naour | c785b1b | 2015-11-21 17:36:16 +0100 | [diff] [blame] | 418 | default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII |
Romain Naour | 3e1ae89 | 2015-12-19 19:14:42 +0100 | [diff] [blame] | 419 | default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH |
Romain Naour | f4da09e | 2015-12-19 19:14:43 +0100 | [diff] [blame] | 420 | default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86 |
Romain Naour | 23ba818 | 2015-11-21 17:36:14 +0100 | [diff] [blame] | 421 | default "x86_64-amd-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64 |
Thomas Petazzoni | b2ec783 | 2015-10-09 11:14:48 +0200 | [diff] [blame] | 422 | default "arm-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_arm && BR2_ARM_EABI |
| 423 | default "arm-linux-musleabihf" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_arm && BR2_ARM_EABIHF |
Vicente Olivert Riera | e424c13 | 2015-12-15 16:21:25 +0000 | [diff] [blame] | 424 | default "mips-img-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS |
Vicente Olivert Riera | c65c728 | 2015-12-15 16:21:24 +0000 | [diff] [blame] | 425 | default "mips-mti-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS |
Thomas Petazzoni | 2d71c12 | 2014-05-05 23:17:10 +0200 | [diff] [blame] | 426 | default "armeb-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_armeb |
| 427 | default "i486-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_i386 |
Thomas Petazzoni | 2d71c12 | 2014-05-05 23:17:10 +0200 | [diff] [blame] | 428 | default "mips-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && !BR2_SOFT_FLOAT) |
Thomas Petazzoni | 2d71c12 | 2014-05-05 23:17:10 +0200 | [diff] [blame] | 429 | default "mipsel-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && !BR2_SOFT_FLOAT) |
| 430 | default "mipsel-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && BR2_SOFT_FLOAT) |
| 431 | default "powerpc-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_powerpc |
Thomas Petazzoni | df4d908 | 2016-03-04 23:50:07 +0100 | [diff] [blame] | 432 | default "sh4-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_sh4 |
| 433 | default "sh4eb-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_sh4eb |
Thomas Petazzoni | 2d71c12 | 2014-05-05 23:17:10 +0200 | [diff] [blame] | 434 | default "x86_64-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_x86_64 |
Thomas De Schampheleire | fbc2494 | 2013-09-02 22:07:53 +0200 | [diff] [blame] | 435 | default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX \ |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 436 | if BR2_TOOLCHAIN_EXTERNAL_CUSTOM |
Thomas Petazzoni | 643aa23 | 2009-05-29 18:37:41 +0200 | [diff] [blame] | 437 | |
| 438 | config BR2_TOOLCHAIN_EXTERNAL_GLIBC |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 439 | bool |
Thomas Petazzoni | 381616e | 2013-06-30 21:29:09 +0200 | [diff] [blame] | 440 | select BR2_TOOLCHAIN_USES_GLIBC |
Thomas Petazzoni | 643aa23 | 2009-05-29 18:37:41 +0200 | [diff] [blame] | 441 | |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 442 | config BR2_TOOLCHAIN_EXTERNAL_UCLIBC |
| 443 | bool |
Thomas Petazzoni | 381616e | 2013-06-30 21:29:09 +0200 | [diff] [blame] | 444 | select BR2_TOOLCHAIN_USES_UCLIBC |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 445 | |
Thomas Petazzoni | a1d94aa | 2013-10-08 20:17:09 +0200 | [diff] [blame] | 446 | config BR2_TOOLCHAIN_EXTERNAL_MUSL |
| 447 | bool |
| 448 | select BR2_TOOLCHAIN_USES_MUSL |
Yann E. MORIN | e31eb72 | 2016-08-18 23:50:13 +0200 | [diff] [blame] | 449 | # Compatibility headers: cdefs.h, queue.h |
| 450 | select BR2_PACKAGE_MUSL_COMPAT_HEADERS |
Thomas Petazzoni | a1d94aa | 2013-10-08 20:17:09 +0200 | [diff] [blame] | 451 | |
Arnout Vandecappelle | 1c99d70 | 2016-11-07 02:19:59 +0100 | [diff] [blame] | 452 | # Make sure the virtual-package infra checks the provider |
| 453 | config BR2_PACKAGE_HAS_TOOLCHAIN_EXTERNAL |
| 454 | bool |
| 455 | default y |
| 456 | |
| 457 | config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL |
| 458 | string |
| 459 | |
Thomas Petazzoni | f1f2ae5 | 2016-11-07 02:20:00 +0100 | [diff] [blame] | 460 | # Kept toolchains sorted as in the choice above |
| 461 | # The toolchain Config.in.options must define |
| 462 | # BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL and BR2_TOOLCHAIN_EXTERNAL_PREFIX |
| 463 | |
| 464 | # Aarch64 |
| 465 | source "toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in.options" |
Thomas Petazzoni | f0f2498 | 2016-11-07 02:20:01 +0100 | [diff] [blame] | 466 | source "toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/Config.in.options" |
Thomas Petazzoni | f1f2ae5 | 2016-11-07 02:20:00 +0100 | [diff] [blame] | 467 | |
Thomas Petazzoni | 21cb9d4 | 2016-11-07 02:20:02 +0100 | [diff] [blame] | 468 | # ARM |
| 469 | source "toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in.options" |
Thomas Petazzoni | 5b3c5b3 | 2016-11-07 02:20:03 +0100 | [diff] [blame] | 470 | source "toolchain/toolchain-external/toolchain-external-codesourcery-arm/Config.in.options" |
Thomas Petazzoni | 21cb9d4 | 2016-11-07 02:20:02 +0100 | [diff] [blame] | 471 | |
Thomas Petazzoni | c428f45 | 2016-11-07 02:20:05 +0100 | [diff] [blame] | 472 | # ARM big-endian |
| 473 | source "toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in.options" |
| 474 | |
Thomas Petazzoni | cfacefe | 2016-11-07 02:20:06 +0100 | [diff] [blame] | 475 | # Blackfin |
| 476 | source "toolchain/toolchain-external/toolchain-external-blackfin-uclinux/Config.in.options" |
| 477 | |
Thomas Petazzoni | 1e1bef5 | 2016-11-07 02:20:07 +0100 | [diff] [blame^] | 478 | # MIPS |
| 479 | source "toolchain/toolchain-external/toolchain-external-codesourcery-mips/Config.in.options" |
| 480 | |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 481 | if BR2_TOOLCHAIN_EXTERNAL_CUSTOM |
| 482 | |
| 483 | choice |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 484 | bool "External toolchain gcc version" |
| 485 | default BR2_TOOLCHAIN_EXTERNAL_GCC_4_3 |
| 486 | help |
| 487 | Set to the gcc version that is used by your external |
| 488 | toolchain. |
| 489 | |
Jörg Krause | 8f972c2 | 2016-05-01 09:29:35 +0200 | [diff] [blame] | 490 | config BR2_TOOLCHAIN_EXTERNAL_GCC_6 |
| 491 | bool "6.x" |
| 492 | select BR2_TOOLCHAIN_GCC_AT_LEAST_6 |
| 493 | |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 494 | config BR2_TOOLCHAIN_EXTERNAL_GCC_5 |
| 495 | bool "5.x" |
| 496 | select BR2_TOOLCHAIN_GCC_AT_LEAST_5 |
| 497 | |
| 498 | config BR2_TOOLCHAIN_EXTERNAL_GCC_4_9 |
| 499 | bool "4.9.x" |
| 500 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 |
| 501 | |
| 502 | config BR2_TOOLCHAIN_EXTERNAL_GCC_4_8 |
| 503 | bool "4.8.x" |
| 504 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 |
| 505 | |
| 506 | config BR2_TOOLCHAIN_EXTERNAL_GCC_4_7 |
| 507 | bool "4.7.x" |
| 508 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 |
| 509 | |
| 510 | config BR2_TOOLCHAIN_EXTERNAL_GCC_4_6 |
| 511 | bool "4.6.x" |
| 512 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 |
| 513 | |
| 514 | config BR2_TOOLCHAIN_EXTERNAL_GCC_4_5 |
| 515 | bool "4.5.x" |
| 516 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 |
| 517 | |
| 518 | config BR2_TOOLCHAIN_EXTERNAL_GCC_4_4 |
| 519 | bool "4.4.x" |
| 520 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_4 |
| 521 | |
| 522 | config BR2_TOOLCHAIN_EXTERNAL_GCC_4_3 |
| 523 | bool "4.3.x" |
| 524 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3 |
| 525 | |
| 526 | endchoice |
| 527 | |
| 528 | choice |
Yann E. MORIN | c58bcd5 | 2014-03-01 15:52:59 +0100 | [diff] [blame] | 529 | bool "External toolchain kernel headers series" |
| 530 | default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD |
| 531 | help |
| 532 | Set to the kernel headers version that were used to build |
| 533 | this external toolchain. |
| 534 | |
| 535 | This is used to hide/show some packages that have strict |
| 536 | requirements on the version of kernel headers. |
| 537 | |
| 538 | If unsure what version your toolchain is using, you can look |
| 539 | at the value of LINUX_VERSION_CODE in linux/version.h in your |
| 540 | toolchain. The Linux version is M.m.p, with: |
| 541 | M = ( LINUX_VERSION_CODE >> 16 ) & 0xFF |
| 542 | m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF |
| 543 | p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF |
| 544 | |
Fabio Estevam | d3ac2bc | 2016-09-12 13:15:54 -0300 | [diff] [blame] | 545 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_8 |
| 546 | bool "4.8.x" |
| 547 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 |
| 548 | |
Fabio Estevam | e36bf63 | 2016-07-24 20:56:09 -0300 | [diff] [blame] | 549 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_7 |
| 550 | bool "4.7.x" |
| 551 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7 |
| 552 | |
Gustavo Zacarias | 51800d2 | 2016-05-16 08:58:12 -0300 | [diff] [blame] | 553 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_6 |
| 554 | bool "4.6.x" |
| 555 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 |
| 556 | |
Gustavo Zacarias | 3ece3fa | 2016-03-14 07:14:10 -0300 | [diff] [blame] | 557 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_5 |
| 558 | bool "4.5.x" |
| 559 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 |
| 560 | |
Gustavo Zacarias | df2ad61 | 2016-01-11 07:52:36 -0300 | [diff] [blame] | 561 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_4 |
| 562 | bool "4.4.x" |
| 563 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4 |
| 564 | |
Vicente Olivert Riera | aef2df8 | 2015-11-02 15:56:51 +0100 | [diff] [blame] | 565 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_3 |
| 566 | bool "4.3.x" |
| 567 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 |
| 568 | |
Peter Korsgaard | 8dc6829 | 2015-09-01 10:05:20 +0200 | [diff] [blame] | 569 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_2 |
| 570 | bool "4.2.x" |
| 571 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 |
| 572 | |
Gustavo Zacarias | dae7d8a | 2015-06-22 10:11:03 -0300 | [diff] [blame] | 573 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_1 |
| 574 | bool "4.1.x" |
| 575 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1 |
| 576 | |
Gustavo Zacarias | e714ee9 | 2015-04-13 10:00:23 -0300 | [diff] [blame] | 577 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_0 |
| 578 | bool "4.0.x" |
| 579 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 |
| 580 | |
Peter Korsgaard | 81366ed | 2015-02-09 13:31:23 +0100 | [diff] [blame] | 581 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_19 |
| 582 | bool "3.19.x" |
| 583 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 |
| 584 | |
Gustavo Zacarias | bf6f74d | 2014-12-08 08:10:39 -0300 | [diff] [blame] | 585 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_18 |
| 586 | bool "3.18.x" |
| 587 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 |
| 588 | |
Gustavo Zacarias | 2d312b7 | 2014-10-06 08:44:39 -0300 | [diff] [blame] | 589 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17 |
| 590 | bool "3.17.x" |
Karoly Kasza | b8f9e57 | 2014-10-09 12:59:01 +0200 | [diff] [blame] | 591 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 |
Gustavo Zacarias | 2d312b7 | 2014-10-06 08:44:39 -0300 | [diff] [blame] | 592 | |
Gustavo Zacarias | 911516f | 2014-08-03 23:29:22 -0300 | [diff] [blame] | 593 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_16 |
| 594 | bool "3.16.x" |
| 595 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16 |
| 596 | |
Gustavo Zacarias | fb29afe | 2014-06-09 08:30:33 -0300 | [diff] [blame] | 597 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15 |
| 598 | bool "3.15.x" |
| 599 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15 |
| 600 | |
Samuel Martin | 11547ca | 2014-04-06 18:27:49 +0200 | [diff] [blame] | 601 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14 |
| 602 | bool "3.14.x" |
| 603 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 |
| 604 | |
Yann E. MORIN | c58bcd5 | 2014-03-01 15:52:59 +0100 | [diff] [blame] | 605 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13 |
| 606 | bool "3.13.x" |
| 607 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 |
| 608 | |
| 609 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12 |
| 610 | bool "3.12.x" |
| 611 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 |
| 612 | |
| 613 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11 |
| 614 | bool "3.11.x" |
| 615 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11 |
| 616 | |
| 617 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10 |
| 618 | bool "3.10.x" |
| 619 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 |
| 620 | |
| 621 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9 |
| 622 | bool "3.9.x" |
| 623 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9 |
| 624 | |
| 625 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8 |
| 626 | bool "3.8.x" |
| 627 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8 |
| 628 | |
| 629 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7 |
| 630 | bool "3.7.x" |
| 631 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 |
| 632 | |
| 633 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6 |
| 634 | bool "3.6.x" |
| 635 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6 |
| 636 | |
| 637 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5 |
| 638 | bool "3.5.x" |
| 639 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 |
| 640 | |
| 641 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4 |
| 642 | bool "3.4.x" |
| 643 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 |
| 644 | |
| 645 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3 |
| 646 | bool "3.3.x" |
| 647 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 |
| 648 | |
| 649 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2 |
| 650 | bool "3.2.x" |
| 651 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 |
| 652 | |
| 653 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1 |
| 654 | bool "3.1.x" |
| 655 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 |
| 656 | |
| 657 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0 |
| 658 | bool "3.0.x" |
| 659 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 |
| 660 | |
| 661 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD |
| 662 | bool "2.6.x" |
| 663 | |
| 664 | endchoice |
| 665 | |
| 666 | choice |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 667 | prompt "External toolchain C library" |
| 668 | default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC |
| 669 | |
| 670 | config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC |
Waldemar Brodkorb | 9f4483f | 2016-10-15 10:13:58 +0200 | [diff] [blame] | 671 | bool "uClibc/uClibc-ng" |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 672 | select BR2_TOOLCHAIN_EXTERNAL_UCLIBC |
Thomas Petazzoni | b988292 | 2011-05-30 23:56:57 +0200 | [diff] [blame] | 673 | # For the time being, we assume that all custom external |
| 674 | # toolchains have shadow password support. |
| 675 | select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS |
Thomas Petazzoni | 692a585 | 2013-10-08 20:17:10 +0200 | [diff] [blame] | 676 | help |
| 677 | Select this option if your external toolchain uses the |
Waldemar Brodkorb | 9f4483f | 2016-10-15 10:13:58 +0200 | [diff] [blame] | 678 | uClibc (available from http://www.uclibc.org/) |
| 679 | or uClibc-ng (available from http://www.uclibc-ng.org) |
| 680 | C library. |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 681 | |
| 682 | config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC |
Baruch Siach | 9668893 | 2012-09-27 09:27:42 +0000 | [diff] [blame] | 683 | bool "glibc/eglibc" |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 684 | depends on !BR2_STATIC_LIBS |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 685 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
Baruch Siach | 9668893 | 2012-09-27 09:27:42 +0000 | [diff] [blame] | 686 | help |
Thomas Petazzoni | 692a585 | 2013-10-08 20:17:10 +0200 | [diff] [blame] | 687 | Select this option if your external toolchain uses the GNU C |
| 688 | library (available from https://www.gnu.org/software/libc/) |
| 689 | or its variant the eglibc library (http://www.eglibc.org/). |
| 690 | |
| 691 | Note: eglibc is a variant of glibc that (among other things) |
| 692 | can be configured to exclude some of its features. Using a |
| 693 | toolchain with eglibc configured to exclude key features may |
| 694 | cause build failures to some packages. |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 695 | |
Thomas Petazzoni | 416fd9c | 2016-06-08 23:40:54 +0200 | [diff] [blame] | 696 | comment "glibc only available with shared lib support" |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 697 | depends on BR2_STATIC_LIBS |
Thomas Petazzoni | ed3f3e4 | 2013-11-11 18:57:32 +0100 | [diff] [blame] | 698 | |
Thomas Petazzoni | a1d94aa | 2013-10-08 20:17:09 +0200 | [diff] [blame] | 699 | config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL |
Thomas Petazzoni | a8e6f52 | 2016-05-17 00:13:02 +0200 | [diff] [blame] | 700 | bool "musl" |
Thomas Petazzoni | a1d94aa | 2013-10-08 20:17:09 +0200 | [diff] [blame] | 701 | select BR2_TOOLCHAIN_EXTERNAL_MUSL |
| 702 | help |
| 703 | Select this option if your external toolchain uses the |
| 704 | 'musl' C library, available from http://www.musl-libc.org/. |
| 705 | |
Thomas Petazzoni | 643aa23 | 2009-05-29 18:37:41 +0200 | [diff] [blame] | 706 | endchoice |
"Steven J. Hill" | 02f71aa | 2007-02-06 18:19:38 +0000 | [diff] [blame] | 707 | |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 708 | if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC |
Thomas Petazzoni | fff7117 | 2010-12-13 17:27:37 +0100 | [diff] [blame] | 709 | |
Thomas Petazzoni | fff7117 | 2010-12-13 17:27:37 +0100 | [diff] [blame] | 710 | config BR2_TOOLCHAIN_EXTERNAL_WCHAR |
| 711 | bool "Toolchain has WCHAR support?" |
| 712 | select BR2_USE_WCHAR |
| 713 | help |
| 714 | Select this option if your external toolchain supports |
| 715 | WCHAR. If you don't know, leave the default value, Buildroot |
| 716 | will tell you if it's correct or not. |
| 717 | |
| 718 | config BR2_TOOLCHAIN_EXTERNAL_LOCALE |
| 719 | bool "Toolchain has locale support?" |
| 720 | select BR2_TOOLCHAIN_EXTERNAL_WCHAR |
| 721 | select BR2_ENABLE_LOCALE |
| 722 | help |
| 723 | Select this option if your external toolchain has locale |
| 724 | support. If you don't know, leave the default value, |
| 725 | Buildroot will tell you if it's correct or not. |
| 726 | |
Thomas Petazzoni | 9eaad20 | 2010-12-13 17:27:44 +0100 | [diff] [blame] | 727 | config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS |
| 728 | bool "Toolchain has threads support?" |
| 729 | select BR2_TOOLCHAIN_HAS_THREADS |
Peter Korsgaard | 04d0689 | 2011-07-26 15:28:19 +0200 | [diff] [blame] | 730 | default y |
Thomas Petazzoni | 9eaad20 | 2010-12-13 17:27:44 +0100 | [diff] [blame] | 731 | help |
| 732 | Select this option if your external toolchain has thread |
| 733 | support. If you don't know, leave the default value, |
| 734 | Buildroot will tell you if it's correct or not. |
| 735 | |
Thomas Petazzoni | c64f948 | 2014-02-18 22:08:59 +0100 | [diff] [blame] | 736 | if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS |
| 737 | |
Peter Korsgaard | 5931db0 | 2011-11-24 14:26:52 +0100 | [diff] [blame] | 738 | config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG |
| 739 | bool "Toolchain has threads debugging support?" |
Peter Korsgaard | 5931db0 | 2011-11-24 14:26:52 +0100 | [diff] [blame] | 740 | select BR2_TOOLCHAIN_HAS_THREADS_DEBUG |
| 741 | default y |
| 742 | help |
| 743 | Select this option if your external toolchain has thread |
| 744 | debugging support. If you don't know, leave the default |
| 745 | value, Buildroot will tell you if it's correct or not. |
| 746 | |
Thomas Petazzoni | c64f948 | 2014-02-18 22:08:59 +0100 | [diff] [blame] | 747 | config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL |
| 748 | bool "Toolchain has NPTL threads support?" |
| 749 | select BR2_TOOLCHAIN_HAS_THREADS_NPTL |
| 750 | default y |
| 751 | help |
| 752 | Select this option if your external toolchain uses the NPTL |
| 753 | (Native Posix Thread Library) implementation of Posix |
| 754 | threads. If you don't know, leave the default value, |
| 755 | Buildroot will tell you if it's correct or not. |
| 756 | |
| 757 | endif # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS |
| 758 | |
Vicente Olivert Riera | 7949350 | 2016-03-15 16:40:38 +0000 | [diff] [blame] | 759 | endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC |
| 760 | |
Thomas Petazzoni | c5866be | 2013-09-02 18:06:36 +0200 | [diff] [blame] | 761 | config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP |
| 762 | bool "Toolchain has SSP support?" |
| 763 | select BR2_TOOLCHAIN_HAS_SSP |
Vicente Olivert Riera | 7949350 | 2016-03-15 16:40:38 +0000 | [diff] [blame] | 764 | default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 765 | default y if BR2_TOOLCHAIN_EXTERNAL_MUSL |
Thomas Petazzoni | c5866be | 2013-09-02 18:06:36 +0200 | [diff] [blame] | 766 | help |
| 767 | Selection this option if your external toolchain has Stack |
| 768 | Smashing Protection support enabled. If you don't know, |
| 769 | leave the default value, Buildroot will tell you if it's |
| 770 | correct or not. |
| 771 | |
Thomas Petazzoni | 9fbdf06 | 2012-11-03 18:47:50 +0100 | [diff] [blame] | 772 | config BR2_TOOLCHAIN_EXTERNAL_INET_RPC |
| 773 | bool "Toolchain has RPC support?" |
| 774 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
Thomas Petazzoni | a1d94aa | 2013-10-08 20:17:09 +0200 | [diff] [blame] | 775 | depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL |
Thomas Petazzoni | 3a843a3 | 2012-11-04 07:34:29 +0000 | [diff] [blame] | 776 | default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC |
Thomas Petazzoni | 9fbdf06 | 2012-11-03 18:47:50 +0100 | [diff] [blame] | 777 | help |
| 778 | Select this option if your external toolchain supports |
| 779 | RPC. If you don't know, leave the default value, Buildroot |
| 780 | will tell you if it's correct or not. |
| 781 | |
Thomas Petazzoni | 6b578c8 | 2010-12-13 17:27:41 +0100 | [diff] [blame] | 782 | config BR2_TOOLCHAIN_EXTERNAL_CXX |
| 783 | bool "Toolchain has C++ support?" |
| 784 | select BR2_INSTALL_LIBSTDCPP |
| 785 | help |
| 786 | Select this option if your external toolchain has C++ |
| 787 | support. If you don't know, leave the default value, |
| 788 | Buildroot will tell you if it's correct or not. |
| 789 | |
Samuel Martin | a650438 | 2016-07-03 15:47:47 +0200 | [diff] [blame] | 790 | config BR2_TOOLCHAIN_EXTERNAL_FORTRAN |
| 791 | bool "Toolchain has Fortran support?" |
| 792 | select BR2_TOOLCHAIN_HAS_FORTRAN |
| 793 | help |
| 794 | Select this option if your external toolchain has Fortran |
| 795 | support. If you don't know, leave the default value, |
| 796 | Buildroot will tell you if it's correct or not. |
| 797 | |
Thomas De Schampheleire | c72f54b | 2011-10-02 21:20:10 +0200 | [diff] [blame] | 798 | config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS |
| 799 | string "Extra toolchain libraries to be copied to target" |
| 800 | help |
| 801 | If your external toolchain provides extra libraries that |
| 802 | need to be copied to the target filesystem, enter them |
Thomas De Schampheleire | 919b4f9 | 2016-02-12 20:20:26 +0100 | [diff] [blame] | 803 | here, separated by spaces. |
Thomas De Schampheleire | c72f54b | 2011-10-02 21:20:10 +0200 | [diff] [blame] | 804 | |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 805 | endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM |
Thomas Petazzoni | fff7117 | 2010-12-13 17:27:37 +0100 | [diff] [blame] | 806 | |
Thomas Petazzoni | a0b6faa | 2013-04-07 00:04:33 +0000 | [diff] [blame] | 807 | config BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY |
| 808 | bool "Copy gdb server to the Target" |
| 809 | depends on BR2_TOOLCHAIN_EXTERNAL |
| 810 | help |
| 811 | Copy the gdbserver provided by the external toolchain to the |
| 812 | target. |
| 813 | |
Sonic Zhang | 8b4ade8 | 2013-06-08 11:14:22 +0200 | [diff] [blame] | 814 | # When the FDPIC shared binary format is used, the corresponding libraries are |
| 815 | # always installed. When a different binary format is used, we offer the option |
| 816 | # of installing the FDPIC shared libraries. |
| 817 | config BR2_BFIN_INSTALL_FDPIC_SHARED |
Thomas De Schampheleire | bed4e27 | 2013-11-11 17:23:23 +0100 | [diff] [blame] | 818 | bool "Install FDPIC shared libraries" |
| 819 | depends on BR2_bfin && !BR2_BINFMT_FDPIC |
| 820 | help |
| 821 | The Linux kernel supports running both FDPIC and FLAT applications |
| 822 | concurrently if the binary format specific libraries are installed |
| 823 | properly. This option allows developer to install FDPIC libraries |
| 824 | into a buildroot rootfs image built with binary format that is not |
| 825 | FDPIC. |
Sonic Zhang | 8b4ade8 | 2013-06-08 11:14:22 +0200 | [diff] [blame] | 826 | |
| 827 | # When the FLAT shared binary format is used, we force the installation |
| 828 | # of the corresponding libraries. When a different binary format is |
| 829 | # used, we offer the option of installing the FLAT shared libraries. |
| 830 | config BR2_BFIN_INSTALL_FLAT_SHARED |
Thomas De Schampheleire | bed4e27 | 2013-11-11 17:23:23 +0100 | [diff] [blame] | 831 | bool "Install FLAT shared libraries" if !BR2_BINFMT_FLAT_SHARED |
| 832 | depends on BR2_bfin |
| 833 | default y if BR2_BINFMT_FLAT_SHARED |
| 834 | help |
| 835 | The Linux kernel supports running both FDPIC and FLAT applications |
| 836 | concurrently if the binary format specific libraries are installed |
| 837 | properly. This option allows developer to install FLAT libraries |
| 838 | into a buildroot rootfs image built with binary format that is not |
| 839 | shared FLAT. |
Sonic Zhang | 8b4ade8 | 2013-06-08 11:14:22 +0200 | [diff] [blame] | 840 | |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 841 | endif # BR2_TOOLCHAIN_EXTERNAL |