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