blob: 32e77879e56dab488c0e2b1be16eb162cc04c98d [file] [log] [blame]
Bernhard Reutner-Fischer4b0d5a82007-09-26 21:12:38 +00001if BR2_TOOLCHAIN_EXTERNAL
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +00002
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01003choice
4 prompt "Toolchain"
5
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01006comment "(e)glibc toolchains only available with shared lib support"
7 depends on BR2_PREFER_STATIC_LIB
8
Thomas Petazzonibe2abf22014-06-01 12:47:40 +02009config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
10 bool "Linaro ARM 2014.02"
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010011 depends on BR2_arm
12 depends on BR2_GCC_TARGET_ARCH = "armv7-a"
13 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
14 depends on BR2_ARM_EABIHF
15 depends on !BR2_PREFER_STATIC_LIB
Samuel Martina1a86eb2014-03-08 15:38:31 +010016 select BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # toolchain generated before fix backport
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010017 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
18 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
19 select BR2_INSTALL_LIBSTDCPP
20 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +010021 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010022 help
23 Linaro toolchain for the ARM architecture. It uses Linaro
Thomas Petazzonid2c54e62014-03-05 23:23:37 +010024 GCC 2014.02 (based on gcc 4.8), Linaro GDB 2013.10 (based on
25 GDB 7.6), eglibc 2.18, Binutils 2014.02 (based on 2.24). It
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010026 generates code that runs on all Cortex-A profile devices,
27 but tuned for the Cortex-A9. The code generated is Thumb 2,
28 with the hard floating point calling convention, and uses
29 the VFPv3-D16 FPU instructions.
30
Thomas Petazzoni1e0b97d2013-10-29 21:54:01 +010031comment "Linaro toolchains available for Cortex-A + EABIhf"
Thomas Petazzoni90f763c2012-11-27 04:07:03 +000032 depends on BR2_arm
Thomas Petazzoni1e0b97d2013-10-29 21:54:01 +010033 depends on BR2_GCC_TARGET_ARCH != "armv7-a" || !BR2_ARM_EABIHF
Thomas Petazzonied3f3e42013-11-11 18:57:32 +010034 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni90f763c2012-11-27 04:07:03 +000035
Thomas Petazzonicd32da82014-03-05 23:23:40 +010036config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
37 bool "Linaro armeb 2014.02"
38 depends on BR2_armeb
39 depends on BR2_GCC_TARGET_ARCH = "armv7-a"
40 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
41 depends on BR2_ARM_EABIHF
42 depends on !BR2_PREFER_STATIC_LIB
43 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
44 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
45 select BR2_INSTALL_LIBSTDCPP
46 select BR2_HOSTARCH_NEEDS_IA32_LIBS
47 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
48 help
49 Linaro toolchain for the ARM big endian architecture. It
50 uses Linaro GCC 2014.01 (based on gcc 4.8), Linaro GDB
51 2013.10 (based on GDB 7.6), eglibc 2.18, Binutils 2013.11
52 (based on 2.24). It generates code that runs on all Cortex-A
53 profile devices, but tuned for the Cortex-A9. The code
54 generated is Thumb 2, with the hard floating point calling
55 convention, and uses the VFPv3-D16 FPU instructions.
56
57comment "Linaro toolchains available for Cortex-A + EABIhf"
58 depends on BR2_armeb
59 depends on BR2_GCC_TARGET_ARCH != "armv7-a" || !BR2_ARM_EABIHF
60 depends on !BR2_PREFER_STATIC_LIB
61
Thomas Petazzonic5252312013-12-27 12:32:17 +010062config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
63 bool "Sourcery CodeBench ARM 2013.11"
64 depends on BR2_arm
65 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
66 depends on BR2_ARM_EABI
67 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzonibe4f30a2014-04-13 21:58:57 +020068 select BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # based-on gcc-4.8.1
Samuel Martina1a86eb2014-03-08 15:38:31 +010069 select BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # based-on gcc-4.8.1
Thomas Petazzonic5252312013-12-27 12:32:17 +010070 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
71 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
72 select BR2_INSTALL_LIBSTDCPP
73 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +010074 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
Thomas Petazzonic5252312013-12-27 12:32:17 +010075 help
76 Sourcery CodeBench toolchain for the ARM architecture, from
77 Mentor Graphics. It uses gcc 4.8.1, binutils 2.23.52, glibc
78 2.18 and gdb 7.6.50, kernel headers 3.11. It has support
79 for the following variants:
80 - ARMv5TE, little endian, soft-float, glibc
81 Select ARM926T, ARM10T, XScale or another ARMv5 core
82 Select BR2_SOFT_FLOAT
83 - ARMv4T, little endian, soft-float, glibc
84 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
85 Select BR2_SOFT_FLOAT
86 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
87 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
88 Select BR2_SOFT_FLOAT
89 Set BR2_TARGET_OPTIMIZATION to -mthumb
90
Fabio Porcedda786700e2013-05-26 12:08:19 +000091config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
92 bool "Sourcery CodeBench ARM 2013.05"
93 depends on BR2_arm
94 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoniea6b2772013-07-16 10:03:20 +020095 depends on BR2_ARM_EABI
Thomas Petazzonied3f3e42013-11-11 18:57:32 +010096 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni85082ca2014-05-12 23:10:35 +020097 select BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # based-on gcc-4.7.3
Fabio Porcedda786700e2013-05-26 12:08:19 +000098 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
99 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
100 select BR2_INSTALL_LIBSTDCPP
101 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100102 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
Fabio Porcedda786700e2013-05-26 12:08:19 +0000103 help
104 Sourcery CodeBench toolchain for the ARM architecture, from
105 Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52, glibc
106 2.17 and gdb 7.4.50, kernel headers 3.8.2. It has support
107 for the following variants:
108 - ARMv5TE, little endian, soft-float, glibc
109 Select ARM926T, ARM10T, XScale or another ARMv5 core
110 Select BR2_SOFT_FLOAT
111 - ARMv4T, little endian, soft-float, glibc
112 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
113 Select BR2_SOFT_FLOAT
114 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
115 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
116 Select BR2_SOFT_FLOAT
117 Set BR2_TARGET_OPTIMIZATION to -mthumb
118
Fabio Porcedda7bcb4942012-09-10 00:02:57 +0000119config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
120 bool "Sourcery CodeBench ARM 2012.03"
121 depends on BR2_arm
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000122 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200123 depends on BR2_ARM_EABI
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100124 depends on !BR2_PREFER_STATIC_LIB
Fabio Porcedda7bcb4942012-09-10 00:02:57 +0000125 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni78f136a2012-11-04 07:34:09 +0000126 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Fabio Porcedda7bcb4942012-09-10 00:02:57 +0000127 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000128 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100129 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Fabio Porcedda7bcb4942012-09-10 00:02:57 +0000130 help
131 Sourcery CodeBench toolchain for the ARM architecture, from
132 Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53, glibc
133 2.15 and gdb 7.2.50, kernel headers 3.2.10. It has support
134 for the following variants:
135 - ARMv5TE, little endian, soft-float, glibc
136 Select ARM926T, ARM10T, XScale or another ARMv5 core
137 Select BR2_SOFT_FLOAT
138 - ARMv4T, little endian, soft-float, glibc
139 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
140 Select BR2_SOFT_FLOAT
141 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
142 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
143 Select BR2_SOFT_FLOAT
144 Set BR2_TARGET_OPTIMIZATION to -mthumb
145
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200146comment "Sourcery CodeBench toolchains available for the EABI ABI"
147 depends on BR2_arm
148 depends on !BR2_ARM_EABI
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100149 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200150
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200151config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
152 bool "Arago ARMv7 2011.09"
153 depends on BR2_arm
154 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonic5f87f72013-06-08 11:14:19 +0200155 depends on BR2_GCC_TARGET_ARCH = "armv7-a"
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200156 depends on BR2_ARM_EABI
157 depends on BR2_ARM_CPU_HAS_VFPV3 || BR2_ARM_CPU_MAYBE_HAS_VFPV3
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100158 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200159 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
160 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
161 select BR2_INSTALL_LIBSTDCPP
162 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100163 # kernel headers: 2.6.31
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200164 help
165 Texas Instruments Arago 2011.09 toolchain, with gcc 4.5.3,
166 binutils 2.20.1, glibc 2.12, gdb 7.2.
167
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200168 This toolchain uses -mfloat-abi=softfp (i.e can use FPU
169 instructions, but passes floating point function arguments
170 in integer registers), and requires a VFPv3 floating point
171 unit to work properly. This unit is available on most
172 Cortex-A ARM processors, but not all.
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200173
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200174config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
175 bool "Arago ARMv5 2011.09"
176 depends on BR2_arm
177 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonif3d6e6c2013-06-08 11:14:20 +0200178 depends on BR2_GCC_TARGET_ARCH != "armv4t" && \
179 BR2_GCC_TARGET_ARCH != "armv4" && \
180 BR2_GCC_TARGET_ARCH != "armv5t"
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200181 depends on BR2_ARM_EABI
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100182 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200183 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
184 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
185 select BR2_INSTALL_LIBSTDCPP
186 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100187 # kernel headers: 2.6.31
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200188 help
189 Texas Instruments Arago ARMv5 2011.09 toolchain, with gcc
190 4.5.3, binutils 2.20.1, glibc 2.12, gdb 7.2.
191
192 This toolchain uses software-floating point.
193
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100194config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201311
195 bool "Sourcery CodeBench MIPS 2013.11"
196 depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
197 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
198 depends on !BR2_MIPS_NABI32
199 depends on !BR2_PREFER_STATIC_LIB
200 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
201 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
202 select BR2_INSTALL_LIBSTDCPP
203 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100204 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100205 help
206 Sourcery CodeBench toolchain for the MIPS architecture, from
207 Mentor Graphics. It uses gcc 4.8.1, binutils 2.23.52, glibc
208 2.18, uClibc 0.9.30 and gdb 7.6.50, kernel headers
209 3.11. It has support for the following variants:
210 - MIPS32 O32 big endian glibc
211 Select a MIPS generic core
212 Disable BR2_SOFT_FLOAT
213 - MIPS64 big endian glibc
214 Select a MIPS64 generic core
215 Select the n64 ABI
216 Disable BR2_SOFT_FLOAT
217 - MIPS32 O32 little endian glibc
218 Select a MIPS generic core
219 Disable BR2_SOFT_FLOAT
220 - MIPS64 little endian glibc
221 Select a MIPS64 generic core
222 Select the n64 ABI
223 Disable BR2_SOFT_FLOAT
224 - MIPS32 big endian soft float glibc
225 Select a MIPS generic core
226 Select BR2_SOFT_FLOAT
227 - MIPS64 big endian soft float glibc
228 Select a MIPS64 generic core
229 Select the n64 ABI
230 Select BR2_SOFT_FLOAT
231 - MIPS32 little endian soft float glibc
232 Select a MIPS generic core
233 Select BR2_SOFT_FLOAT
234 - MIPS64 little endian soft float glibc
235 Select a MIPS64 generic core
236 Select the n64 ABI
237 Select BR2_SOFT_FLOAT
238 - MIPS32 big endian microMIPS glibc
239 Select a MIPS generic core
240 Disable BR2_SOFT_FLOAT
241 Set BR2_TARGET_OPTIMIZATION to -mips16
242 - MIPS32 little endian microMIPS glibc
243 Select a MIPS generic core
244 Disable BR2_SOFT_FLOAT
245 Set BR2_TARGET_OPTIMIZATION to -mips16
246 - MIPS32 big endian soft float microMIPS glibc
247 Select a MIPS generic core
248 Select BR2_SOFT_FLOAT
249 Set BR2_TARGET_OPTIMIZATION to -mips16
250 - MIPS32 little endian soft float microMIPS glibc
251 Select a MIPS generic core
252 Select BR2_SOFT_FLOAT
253 Set BR2_TARGET_OPTIMIZATION to -mips16
254 - MIPS32 big endian uclibc
255 Not usable in Buildroot yet.
256 - MIPS32 little endian uclibc
257 Not usable in Buildroot yet.
258 - MIPS32 big endian soft float uclibc
259 Not usable in Buildroot yet.
260 - MIPS32 little endian soft float uclibc
261 Not usable in Buildroot yet.
262
Markos Chandras4d34fb72013-06-08 11:14:14 +0200263config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201305
264 bool "Sourcery CodeBench MIPS 2013.05"
265 depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
266 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Markos Chandras6f70ba32013-08-13 09:45:44 +0100267 depends on !BR2_MIPS_NABI32
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100268 depends on !BR2_PREFER_STATIC_LIB
Markos Chandras4d34fb72013-06-08 11:14:14 +0200269 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
270 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
271 select BR2_INSTALL_LIBSTDCPP
272 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100273 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
Markos Chandras4d34fb72013-06-08 11:14:14 +0200274 help
275 Sourcery CodeBench toolchain for the MIPS architecture, from
276 Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52, glibc
277 2.17, uClibc 0.9.30 and gdb 7.4.50, kernel headers
278 3.8.2. It has support for the following variants:
279 - MIPS32 O32 big endian glibc
280 Select a MIPS generic core
281 Disable BR2_SOFT_FLOAT
282 - MIPS64 big endian glibc
283 Select a MIPS64 generic core
284 Select the n64 ABI
285 Disable BR2_SOFT_FLOAT
286 - MIPS32 O32 little endian glibc
287 Select a MIPS generic core
288 Disable BR2_SOFT_FLOAT
Markos Chandras4d34fb72013-06-08 11:14:14 +0200289 - MIPS64 little endian glibc
290 Select a MIPS64 generic core
291 Select the n64 ABI
292 Disable BR2_SOFT_FLOAT
Markos Chandras4d34fb72013-06-08 11:14:14 +0200293 - MIPS32 big endian soft float glibc
294 Select a MIPS generic core
295 Select BR2_SOFT_FLOAT
296 - MIPS64 big endian soft float glibc
297 Select a MIPS64 generic core
298 Select the n64 ABI
299 Select BR2_SOFT_FLOAT
300 - MIPS32 little endian soft float glibc
301 Select a MIPS generic core
302 Select BR2_SOFT_FLOAT
Markos Chandras4d34fb72013-06-08 11:14:14 +0200303 - MIPS64 little endian soft float glibc
304 Select a MIPS64 generic core
305 Select the n64 ABI
306 Select BR2_SOFT_FLOAT
Markos Chandras4d34fb72013-06-08 11:14:14 +0200307 - MIPS32 big endian microMIPS glibc
308 Select a MIPS generic core
309 Disable BR2_SOFT_FLOAT
310 Set BR2_TARGET_OPTIMIZATION to -mips16
311 - MIPS32 little endian microMIPS glibc
312 Select a MIPS generic core
313 Disable BR2_SOFT_FLOAT
Markos Chandrasf3a2b802013-10-14 10:52:25 +0100314 Set BR2_TARGET_OPTIMIZATION to -mips16
Markos Chandras4d34fb72013-06-08 11:14:14 +0200315 - MIPS32 big endian soft float microMIPS glibc
316 Select a MIPS generic core
317 Select BR2_SOFT_FLOAT
318 Set BR2_TARGET_OPTIMIZATION to -mips16
319 - MIPS32 little endian soft float microMIPS glibc
320 Select a MIPS generic core
321 Select BR2_SOFT_FLOAT
Markos Chandrasf3a2b802013-10-14 10:52:25 +0100322 Set BR2_TARGET_OPTIMIZATION to -mips16
Markos Chandras4d34fb72013-06-08 11:14:14 +0200323 - MIPS32 big endian uclibc
324 Not usable in Buildroot yet.
325 - MIPS32 little endian uclibc
326 Not usable in Buildroot yet.
327 - MIPS32 big endian soft float uclibc
328 Not usable in Buildroot yet.
329 - MIPS32 little endian soft float uclibc
330 Not usable in Buildroot yet.
331
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000332config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209
333 bool "Sourcery CodeBench MIPS 2012.09"
334 depends on BR2_mips || BR2_mipsel
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000335 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Markos Chandras6f70ba32013-08-13 09:45:44 +0100336 depends on !BR2_MIPS_NABI32
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100337 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000338 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
339 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
340 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000341 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100342 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000343 help
344 Sourcery CodeBench toolchain for the MIPS architecture, from
345 Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51, glibc
346 2.16, uClibc 0.9.30 and gdb 7.4.50, kernel headers
347 3.5.4. It has support for the following variants:
348 - MIPS32 O32 big endian glibc
349 Select a MIPS generic core
350 Disable BR2_SOFT_FLOAT
351 - MIPS64 big endian glibc
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100352 Select a MIPS64 generic core
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000353 Select the n64 ABI
354 Disable BR2_SOFT_FLOAT
355 - MIPS32 O32 little endian glibc
356 Select a MIPS generic core
357 Disable BR2_SOFT_FLOAT
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000358 - MIPS64 little endian glibc
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100359 Select a MIPS64 generic core
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000360 Select the n64 ABI
361 Disable BR2_SOFT_FLOAT
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000362 - MIPS32 big endian soft float glibc
363 Select a MIPS generic core
364 Select BR2_SOFT_FLOAT
365 - MIPS64 big endian soft float glibc
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100366 Select a MIPS64 generic core
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000367 Select the n64 ABI
368 Select BR2_SOFT_FLOAT
369 - MIPS32 little endian soft float glibc
370 Select a MIPS generic core
371 Select BR2_SOFT_FLOAT
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000372 - MIPS64 little endian soft float glibc
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100373 Select a MIPS64 generic core
Thomas Petazzoni60e26e32012-12-20 13:23:20 +0000374 Select the n64 ABI
375 Select BR2_SOFT_FLOAT
Thomas Petazzoni60e26e32012-12-20 13:23:20 +0000376 - MIPS32 big endian microMIPS glibc
377 Select a MIPS generic core
378 Disable BR2_SOFT_FLOAT
379 Set BR2_TARGET_OPTIMIZATION to -mips16
380 - MIPS32 little endian microMIPS glibc
381 Select a MIPS generic core
382 Disable BR2_SOFT_FLOAT
Markos Chandrasf3a2b802013-10-14 10:52:25 +0100383 Set BR2_TARGET_OPTIMIZATION to -mips16
Thomas Petazzoni60e26e32012-12-20 13:23:20 +0000384 - MIPS32 big endian soft float microMIPS glibc
385 Select a MIPS generic core
386 Select BR2_SOFT_FLOAT
387 Set BR2_TARGET_OPTIMIZATION to -mips16
388 - MIPS32 little endian soft float microMIPS glibc
389 Select a MIPS generic core
390 Select BR2_SOFT_FLOAT
Markos Chandrasf3a2b802013-10-14 10:52:25 +0100391 Set BR2_TARGET_OPTIMIZATION to -mips16
Thomas Petazzoni60e26e32012-12-20 13:23:20 +0000392 - MIPS32 big endian uclibc
393 Not usable in Buildroot yet.
394 - MIPS32 little endian uclibc
395 Not usable in Buildroot yet.
396 - MIPS32 big endian soft float uclibc
397 Not usable in Buildroot yet.
398 - MIPS32 little endian soft float uclibc
399 Not usable in Buildroot yet.
400
Markos Chandras6f70ba32013-08-13 09:45:44 +0100401comment "Sourcery CodeBench toolchains are only available for MIPS/MIPS64 o32 and n64"
402 depends on BR2_MIPS_NABI32
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100403 depends on !BR2_PREFER_STATIC_LIB
Markos Chandras6f70ba32013-08-13 09:45:44 +0100404
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300405config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
406 bool "Sourcery CodeBench Nios-II 2013.05"
407 depends on BR2_nios2
408 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100409 depends on !BR2_PREFER_STATIC_LIB
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300410 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
411 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
412 select BR2_INSTALL_LIBSTDCPP
413 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100414 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300415 help
416 Sourcery CodeBench toolchain for the Nios-II architecture,
417 from Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52,
418 glibc 2.17, gdb 7.4.50 and kernel headers 3.7.0.
419
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100420config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
421 bool "Sourcery CodeBench PowerPC 2011.03"
422 depends on BR2_powerpc
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000423 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100424 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100425 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100426 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100427 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000428 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100429 # kernel headers: 2.6.38
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100430 help
431 Sourcery CodeBench toolchain for the PowerPC architecture,
432 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20.51,
433 glibc 2.13, gdb 7.2.50 and kernel headers 2.6.38. It has
434 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200435 - 603 glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100436 Select a generic PowerPC core
437 Disable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200438 - 603 soft float glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100439 Select a generic PowerPC core
440 Enable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200441 - e600 altivec glibc, 32 bits
442 Set BR2_TARGET_OPTIMIZATION to -te600
443 - e500v1 glibc, 32 bits
444 Set BR2_TARGET_OPTIMIZATION to -te500v1
445 - e500v2 glibc, 32 bits
446 Set BR2_TARGET_OPTIMIZATION to -te500v2
447 - e500mc glibc, 32 bits
448 Set BR2_TARGET_OPTIMIZATION to -te500mc
449 - 970 glibc hard-float, 64 bits
450 Set BR2_TARGET_OPTIMIZATION to -m64
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100451
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100452config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200453 bool "Sourcery CodeBench PowerPC 2010.09"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100454 depends on BR2_powerpc
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000455 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100456 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100457 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100458 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni6b578c82010-12-13 17:27:41 +0100459 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000460 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100461 # kernel headers: 2.6.35
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100462 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200463 Sourcery CodeBench toolchain for the PowerPC architecture,
Thomas Petazzoni2ec3e6d2012-01-15 20:02:11 +0100464 from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200465 glibc 2.11, gdb 7.2.50 and kernel headers 2.6.35.2. It has
466 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200467 - 603 glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100468 Select a generic PowerPC core
469 Disable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200470 - 603 soft float glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100471 Select a generic PowerPC core
472 Enable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200473 - e600 altivec glibc, 32 bits
474 Set BR2_TARGET_OPTIMIZATION to -te600
475 - e500v1 glibc, 32 bits
476 Set BR2_TARGET_OPTIMIZATION to -te500v1
477 - e500v2 glibc, 32 bits
478 Set BR2_TARGET_OPTIMIZATION to -te500v2
479 - e500mc glibc, 32 bits
480 Set BR2_TARGET_OPTIMIZATION to -te500mc
481 - 970 glibc hard-float, 64 bits
482 Set BR2_TARGET_OPTIMIZATION to -m64
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100483
Thomas Petazzonie067a442012-11-04 07:34:21 +0000484config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
485 bool "Sourcery CodeBench SH 2012.09"
486 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000487 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100488 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzonie067a442012-11-04 07:34:21 +0000489 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
490 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
491 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000492 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100493 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Thomas Petazzonie067a442012-11-04 07:34:21 +0000494 help
495 Sourcery CodeBench toolchain for the SuperH architecture,
496 from Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51,
497 glibc 2.16, uClibc 0.9.30, gdb 7.4.50 and kernel headers
498 3.5.4. It has support for the following variants:
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +0100499 - SH4A, glibc, little endian
500 Default.
501 - SH4A, glibc, big endian
502 Add -mb to BR2_TARGET_OPTIMIZATION
503 - SH4A, uClibc, little endian
504 Not usable in Buildroot yet.
505 - SH4A, uClibc, big endian
506 Not usable in Buildroot yet.
Thomas Petazzonie067a442012-11-04 07:34:21 +0000507
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000508config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
509 bool "Sourcery CodeBench SH 2012.03"
510 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000511 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100512 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000513 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
514 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000515 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100516 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000517 help
518 Sourcery CodeBench toolchain for the SuperH architecture,
519 from Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53,
520 glibc 2.15, uClibc 0.9.30, gdb 7.2.50 and kernel headers
521 3.2.10. It has support for the following variants:
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +0100522 - SH4A, glibc, little endian
523 Default.
524 - SH4A, glibc, big endian
525 Add -mb to BR2_TARGET_OPTIMIZATION
526 - SH4A, uClibc, little endian
527 Not usable in Buildroot yet.
528 - SH4A, uClibc, big endian
529 Not usable in Buildroot yet.
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000530
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200531config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200532 bool "Sourcery CodeBench SH 2011.03"
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200533 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000534 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100535 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200536 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100537 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200538 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000539 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100540 # kernel headers: 2.6.38
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200541 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200542 Sourcery CodeBench toolchain for the SuperH architecture,
543 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
544 glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers
545 2.6.38. It has support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200546 - SH4A, glibc, little endian
547 Default.
548 - SH4A, glibc, big endian
549 Add -mb to BR2_TARGET_OPTIMIZATION
550 - SH4A, uClibc, little endian
551 Not usable in Buildroot yet.
552 - SH4A, uClibc, big endian
553 Not usable in Buildroot yet.
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200554
Thomas Petazzoniae236462011-10-02 21:20:11 +0200555config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200556 bool "Sourcery CodeBench SH 2011.03"
Thomas Petazzoniae236462011-10-02 21:20:11 +0200557 depends on BR2_sh2a
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000558 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoniae236462011-10-02 21:20:11 +0200559 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
560 select BR2_LARGEFILE
Thomas Petazzoni0858e002012-11-03 18:47:49 +0100561 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoniae236462011-10-02 21:20:11 +0200562 select BR2_USE_WCHAR
563 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard5931db02011-11-24 14:26:52 +0100564 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
Thomas Petazzoniae236462011-10-02 21:20:11 +0200565 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000566 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100567 # kernel headers: 2.6.38
Thomas Petazzoniae236462011-10-02 21:20:11 +0200568 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200569 Sourcery CodeBench toolchain for the SuperH architecture,
570 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
571 uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.38. It has
572 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200573 - SH2A, uClibc, big endian
Thomas Petazzoniae236462011-10-02 21:20:11 +0200574
Phil Edworthy95157452011-05-06 15:23:04 +0100575config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200576 bool "Sourcery CodeBench SH 2010.09"
Phil Edworthyd5247aa2011-05-09 14:12:53 +0100577 depends on BR2_sh2a
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000578 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Phil Edworthy95157452011-05-06 15:23:04 +0100579 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
Thomas Petazzonid63a8172011-07-30 00:00:37 +0200580 select BR2_LARGEFILE
Thomas Petazzoni0858e002012-11-03 18:47:49 +0100581 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonid63a8172011-07-30 00:00:37 +0200582 select BR2_USE_WCHAR
583 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard5931db02011-11-24 14:26:52 +0100584 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
Phil Edworthy95157452011-05-06 15:23:04 +0100585 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000586 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100587 # kernel headers: 2.6.35
Phil Edworthy95157452011-05-06 15:23:04 +0100588 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200589 Sourcery CodeBench toolchain for the SuperH architecture,
590 from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
591 uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.35.2. It
592 has support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200593 - SH2A, uClibc, big endian
Phil Edworthy95157452011-05-06 15:23:04 +0100594
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000595config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
596 bool "Sourcery CodeBench x86/x86_64 2012.09"
597 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000598 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100599 depends on !BR2_PREFER_STATIC_LIB
Adrien Bérauda20cb382014-01-15 17:17:10 -0500600 depends on !BR2_x86_jaguar
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000601 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
602 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
603 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000604 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100605 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000606 help
607 Sourcery CodeBench toolchain for the x86/x86_64
608 architectures, from Mentor Graphics. It uses gcc 4.7.2,
609 binutils 2.23.51, glibc 2.16, gdb 7.4.50 and kernel headers
610 3.5.4. It has support for the following variants:
611 - Intel Pentium 4, glibc, 32 bits
612 Default for x86, nothing special to do.
613 - Intel Atom, glibc, 32 bits
614 Select an Atom core
615 - Intel Xeon, glibc, 64 bits
616 Default for x86_64, nothing special to do.
617 - Intel Core 2, glibc, 64 bits
618 Select a Core 2 core
619 Other architecture variants (beyond Pentium-4/Xeon) are
620 supported as well, but glibc is not optimised for it.
621
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000622config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
623 bool "Sourcery CodeBench x86/x86_64 2012.03"
624 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000625 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100626 depends on !BR2_PREFER_STATIC_LIB
Adrien Bérauda20cb382014-01-15 17:17:10 -0500627 depends on !BR2_x86_jaguar
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000628 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
629 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000630 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100631 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000632 help
633 Sourcery CodeBench toolchain for the x86/x86_64
634 architectures, from Mentor Graphics. It uses gcc 4.6.3,
635 binutils 2.21.53, glibc 2.15, gdb 7.2.50 and kernel headers
636 3.2.10. It has support for the following variants:
637 - Intel Pentium 4, glibc, 32 bits
638 Default for x86, nothing special to do.
639 - Intel Atom, glibc, 32 bits
640 Select an Atom core
641 - Intel Xeon, glibc, 64 bits
642 Default for x86_64, nothing special to do.
643 - Intel Core 2, glibc, 64 bits
644 Select a Core 2 core
645 Other architecture variants (beyond Pentium-4/Xeon) are
646 supported as well, but glibc is not optimised for it.
647
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100648config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
649 bool "Sourcery CodeBench x86/x86_64 2011.09"
650 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000651 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100652 depends on !BR2_PREFER_STATIC_LIB
Adrien Bérauda20cb382014-01-15 17:17:10 -0500653 depends on !BR2_x86_jaguar
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100654 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100655 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100656 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000657 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100658 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100659 help
660 Sourcery CodeBench toolchain for the x86/x86_64
661 architectures, from Mentor Graphics. It uses gcc 4.6.1,
662 binutils 2.21.53, glibc 2.13, gdb 7.2.50 and kernel headers
663 3.0.1. It has support for the following variants:
664 - Intel Pentium 4, glibc, 32 bits
Arnout Vandecappelle (Essensium/Mind)a22dc0f2012-03-13 23:30:00 +0100665 Default for x86, nothing special to do.
666 - Intel Atom, glibc, 32 bits
667 Select an Atom core
668 - Intel Xeon, glibc, 64 bits
669 Default for x86_64, nothing special to do.
670 - Intel Core 2, glibc, 64 bits
671 Select a Core 2 core
672 Other architecture variants (beyond Pentium-4/Xeon) are
673 supported as well, but glibc is not optimised for it.
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100674
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100675config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1
676 bool "Blackfin.uclinux.org 2013R1"
677 depends on BR2_bfin
678 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
679 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
680 select BR2_INSTALL_LIBSTDCPP
681 select BR2_LARGEFILE
682 select BR2_INET_IPV6
683 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
684 select BR2_USE_WCHAR
685 select BR2_TOOLCHAIN_HAS_THREADS
686 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
687 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100688 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100689 help
690 Toolchain for the Blackfin architecture, from
691 http://blackfin.uclinux.org.
692
Gustavo Zacarias82e39a22013-02-01 03:04:50 +0000693config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
694 bool "Blackfin.uclinux.org 2012R2-RC2"
695 depends on BR2_bfin
696 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
697 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
698 select BR2_INSTALL_LIBSTDCPP
699 select BR2_LARGEFILE
700 select BR2_INET_IPV6
701 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
702 select BR2_USE_WCHAR
703 select BR2_TOOLCHAIN_HAS_THREADS
704 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
705 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100706 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Gustavo Zacarias82e39a22013-02-01 03:04:50 +0000707 help
708 Toolchain for the Blackfin architecture, from
709 http://blackfin.uclinux.org.
710
Thomas Petazzoni8d8a73f2013-04-07 08:01:01 +0000711config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
Gustavo Zacarias82e39a22013-02-01 03:04:50 +0000712 bool "Blackfin.uclinux.org 2012R1-RC2"
Thomas Petazzoniadf586e2012-06-03 16:04:39 +0200713 depends on BR2_bfin
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000714 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoniadf586e2012-06-03 16:04:39 +0200715 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
716 select BR2_INSTALL_LIBSTDCPP
717 select BR2_LARGEFILE
718 select BR2_INET_IPV6
Thomas Petazzoni0858e002012-11-03 18:47:49 +0100719 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoniadf586e2012-06-03 16:04:39 +0200720 select BR2_USE_WCHAR
721 select BR2_TOOLCHAIN_HAS_THREADS
722 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000723 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100724 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
Thomas Petazzoniadf586e2012-06-03 16:04:39 +0200725 help
726 Toolchain for the Blackfin architecture, from
727 http://blackfin.uclinux.org.
728
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000729config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
Jan Viktorincd344462013-07-08 16:08:18 +0200730 bool "Xilinx Little Endian Microblaze GNU Tools 14.3"
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000731 depends on BR2_microblazeel
732 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100733 depends on !BR2_PREFER_STATIC_LIB
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100734 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000735 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
736 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
737 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100738 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000739 help
740 Toolchain for the Microblaze architecture, from
741 http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It
742 uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50.
743
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100744config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
Jan Viktorincd344462013-07-08 16:08:18 +0200745 bool "Xilinx Little Endian Microblaze GNU Tools v2"
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100746 depends on BR2_microblazeel
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000747 depends on BR2_HOSTARCH = "x86_64"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100748 depends on !BR2_PREFER_STATIC_LIB
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100749 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni1f6e2b42012-08-01 23:47:04 +0200750 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100751 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100752 # kernel headers: 2.6.37
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100753 help
754 Toolchain for the Microblaze architecture, from
755 http://wiki.xilinx.com/mb-gnu-tools
756
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000757config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
758 bool "Xilinx Big Endian Microblaze GNU Tools"
Peter Korsgaardc1a6f682013-04-11 07:50:53 +0200759 depends on BR2_microblazebe
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000760 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100761 depends on !BR2_PREFER_STATIC_LIB
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100762 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000763 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
764 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
765 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100766 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000767 help
768 Toolchain for the Microblaze architecture, from
769 http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It
770 uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50.
771
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100772config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
773 bool "Xilinx Big Endian Microblaze GNU Tools"
774 depends on BR2_microblazebe
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000775 depends on BR2_HOSTARCH = "x86_64"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100776 depends on !BR2_PREFER_STATIC_LIB
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100777 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni1f6e2b42012-08-01 23:47:04 +0200778 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100779 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100780 # kernel headers: 2.6.37
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100781 help
782 Toolchain for the Microblaze architecture, from
783 http://wiki.xilinx.com/mb-gnu-tools
784
Thomas Petazzonid51025d2014-06-01 12:47:41 +0200785config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
Thomas Petazzoni0d740d82014-03-05 23:23:39 +0100786 bool "Linaro AArch64 14.02"
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100787 depends on BR2_aarch64
788 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
789 depends on !BR2_PREFER_STATIC_LIB
790 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
791 select BR2_INSTALL_LIBSTDCPP
792 select BR2_HOSTARCH_NEEDS_IA32_LIBS
793 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100794 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100795 help
796 Toolchain for the AArch64 architecture, from
797 http://www.linaro.org/engineering/armv8/
798
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200799config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS
800 bool "Musl toolchain"
801 depends on (BR2_arm && BR2_ARM_EABI) || (BR2_armeb && BR2_ARM_EABI) || \
Thomas Petazzoni77ef6a32014-05-30 22:24:39 +0200802 (BR2_i386 && !BR2_x86_i386) || BR2_microblazebe || BR2_mips || \
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200803 BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || BR2_x86_64
804 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
805 select BR2_TOOLCHAIN_EXTERNAL_MUSL
806 select BR2_INSTALL_LIBSTDCPP
807 select BR2_HOSTARCH_NEEDS_IA32_LIBS
808 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
809 help
810 Toolchain based on the Musl C library, provided by the
811 musl-cross project. It uses gcc 4.8.2, binutils 2.24 and
812 musl 1.0.0. It does not have a cross debugger included.
813
814 The ARM toolchain is built for ARMv4t, soft-float.
815 The x86 toolchain is built for i486.
816
817 http://musl.codu.org/
818
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100819config BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200820 bool "Custom toolchain"
821 help
822 Use this option to use a custom toolchain pre-installed on
823 your system.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100824
825endchoice
826
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200827choice
828 prompt "Toolchain origin"
Thomas Petazzoni70194072012-07-22 20:57:26 +0200829 # Keep compatibility with old defconfig files that are using
830 # custom toolchains, and which are therefore assuming that
831 # "preinstalled" in the default choice.
832 default BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200833
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100834config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200835 bool "Toolchain to be downloaded and installed"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100836 help
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200837 Select this option if you want Buildroot to download and install the
838 toolchain. If you have selected a custom toolchain, specify the URL
839 in BR2_TOOLCHAIN_EXTERNAL_URL.
840
841config BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
842 bool "Pre-installed toolchain"
843 help
844 Select this option if you want to use a pre-installed toolchain.
845 Specify the path to this toolchain in BR2_TOOLCHAIN_EXTERNAL_PATH.
846
847endchoice
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100848
849config BR2_TOOLCHAIN_EXTERNAL_PATH
850 string "Toolchain path"
851 default "/path/to/toolchain/usr"
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200852 depends on BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100853 help
854 Path to where the external toolchain is installed.
855
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200856config BR2_TOOLCHAIN_EXTERNAL_URL
857 string "Toolchain URL"
858 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM && BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
859 help
860 URL of the custom toolchain tarball to download and install.
861
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100862config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
863 string "Toolchain prefix"
864 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM
865 default "$(ARCH)-linux"
866
867config BR2_TOOLCHAIN_EXTERNAL_PREFIX
868 string
Thomas Petazzonibe2abf22014-06-01 12:47:40 +0200869 default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
Thomas Petazzonicd32da82014-03-05 23:23:40 +0100870 default "armeb-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
Fabio Porcedda7bcb4942012-09-10 00:02:57 +0000871 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
Fabio Porcedda786700e2013-05-26 12:08:19 +0000872 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
Thomas Petazzonic5252312013-12-27 12:32:17 +0100873 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200874 default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200875 default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
Thomas Petazzonid51025d2014-06-01 12:47:41 +0200876 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000877 default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100878 default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000879 default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100880 default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000881 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209
Markos Chandras4d34fb72013-06-08 11:14:14 +0200882 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201305
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100883 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201311
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300884 default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100885 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100886 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200887 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000888 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
Thomas Petazzonie067a442012-11-04 07:34:21 +0000889 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
Phil Edworthy95157452011-05-06 15:23:04 +0100890 default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
Thomas Petazzoniae236462011-10-02 21:20:11 +0200891 default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100892 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000893 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000894 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
Sonic Zhang57133822013-05-03 00:39:34 +0000895 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 && BR2_BINFMT_FLAT
896 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 && BR2_BINFMT_FDPIC
897 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FLAT
898 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FDPIC
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100899 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FLAT
900 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FDPIC
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200901 default "arm-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_arm
902 default "armeb-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_armeb
903 default "i486-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_i386
Thomas Petazzoni77ef6a32014-05-30 22:24:39 +0200904 default "microblaze-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_microblazebe
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200905 default "mips-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && !BR2_SOFT_FLOAT)
906 default "mips-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && BR2_SOFT_FLOAT)
907 default "mipsel-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && !BR2_SOFT_FLOAT)
908 default "mipsel-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && BR2_SOFT_FLOAT)
909 default "powerpc-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_powerpc
910 default "x86_64-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_x86_64
Thomas De Schampheleirefbc24942013-09-02 22:07:53 +0200911 default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX \
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100912 if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzoni643aa232009-05-29 18:37:41 +0200913
914config BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100915 bool
Thomas Petazzoni381616e2013-06-30 21:29:09 +0200916 select BR2_TOOLCHAIN_USES_GLIBC
Thomas Petazzoni643aa232009-05-29 18:37:41 +0200917
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100918config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
919 bool
Thomas Petazzoni381616e2013-06-30 21:29:09 +0200920 select BR2_TOOLCHAIN_USES_UCLIBC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100921
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +0200922config BR2_TOOLCHAIN_EXTERNAL_MUSL
923 bool
924 select BR2_TOOLCHAIN_USES_MUSL
925
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100926if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
927
928choice
Yann E. MORINc58bcd52014-03-01 15:52:59 +0100929 bool "External toolchain kernel headers series"
930 default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
931 help
932 Set to the kernel headers version that were used to build
933 this external toolchain.
934
935 This is used to hide/show some packages that have strict
936 requirements on the version of kernel headers.
937
938 If unsure what version your toolchain is using, you can look
939 at the value of LINUX_VERSION_CODE in linux/version.h in your
940 toolchain. The Linux version is M.m.p, with:
941 M = ( LINUX_VERSION_CODE >> 16 ) & 0xFF
942 m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF
943 p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF
944
Gustavo Zacariasfb29afe2014-06-09 08:30:33 -0300945config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15
946 bool "3.15.x"
947 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
948
Samuel Martin11547ca2014-04-06 18:27:49 +0200949config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14
950 bool "3.14.x"
951 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
952
Yann E. MORINc58bcd52014-03-01 15:52:59 +0100953config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13
954 bool "3.13.x"
955 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
956
957config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12
958 bool "3.12.x"
959 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
960
961config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11
962 bool "3.11.x"
963 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
964
965config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10
966 bool "3.10.x"
967 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
968
969config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9
970 bool "3.9.x"
971 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
972
973config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8
974 bool "3.8.x"
975 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
976
977config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7
978 bool "3.7.x"
979 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
980
981config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6
982 bool "3.6.x"
983 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
984
985config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5
986 bool "3.5.x"
987 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
988
989config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4
990 bool "3.4.x"
991 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
992
993config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3
994 bool "3.3.x"
995 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
996
997config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2
998 bool "3.2.x"
999 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
1000
1001config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1
1002 bool "3.1.x"
1003 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
1004
1005config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0
1006 bool "3.0.x"
1007 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
1008
1009config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
1010 bool "2.6.x"
1011
1012endchoice
1013
1014choice
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001015 prompt "External toolchain C library"
1016 default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1017
1018config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1019 bool "uClibc"
1020 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
Thomas Petazzonib9882922011-05-30 23:56:57 +02001021 # For the time being, we assume that all custom external
1022 # toolchains have shadow password support.
1023 select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
Thomas Petazzoni692a5852013-10-08 20:17:10 +02001024 help
1025 Select this option if your external toolchain uses the
1026 uClibc C library (available from http://www.uclibc.org/).
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001027
1028config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +00001029 bool "glibc/eglibc"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01001030 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001031 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +00001032 help
Thomas Petazzoni692a5852013-10-08 20:17:10 +02001033 Select this option if your external toolchain uses the GNU C
1034 library (available from https://www.gnu.org/software/libc/)
1035 or its variant the eglibc library (http://www.eglibc.org/).
1036
1037 Note: eglibc is a variant of glibc that (among other things)
1038 can be configured to exclude some of its features. Using a
1039 toolchain with eglibc configured to exclude key features may
1040 cause build failures to some packages.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001041
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01001042comment "(e)glibc only available with shared lib support"
1043 depends on BR2_PREFER_STATIC_LIB
1044
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001045config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL
1046 bool "musl"
1047 select BR2_TOOLCHAIN_EXTERNAL_MUSL
1048 help
1049 Select this option if your external toolchain uses the
1050 'musl' C library, available from http://www.musl-libc.org/.
1051
Thomas Petazzoni643aa232009-05-29 18:37:41 +02001052endchoice
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +00001053
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001054if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
Thomas Petazzonifff71172010-12-13 17:27:37 +01001055
1056config BR2_TOOLCHAIN_EXTERNAL_LARGEFILE
1057 bool "Toolchain has large file support?"
1058 select BR2_LARGEFILE
1059 help
1060 Select this option if your external toolchain supports
1061 largefile. If you don't know, leave the default value,
1062 Buildroot will tell you if it's correct or not.
1063
1064config BR2_TOOLCHAIN_EXTERNAL_INET_IPV6
1065 bool "Toolchain has IPv6 support?"
1066 select BR2_INET_IPV6
1067 help
1068 Select this option if your external toolchain supports
1069 IPv6. If you don't know, leave the default value, Buildroot
1070 will tell you if it's correct or not.
1071
Thomas Petazzonifff71172010-12-13 17:27:37 +01001072config BR2_TOOLCHAIN_EXTERNAL_WCHAR
1073 bool "Toolchain has WCHAR support?"
1074 select BR2_USE_WCHAR
1075 help
1076 Select this option if your external toolchain supports
1077 WCHAR. If you don't know, leave the default value, Buildroot
1078 will tell you if it's correct or not.
1079
1080config BR2_TOOLCHAIN_EXTERNAL_LOCALE
1081 bool "Toolchain has locale support?"
1082 select BR2_TOOLCHAIN_EXTERNAL_WCHAR
1083 select BR2_ENABLE_LOCALE
1084 help
1085 Select this option if your external toolchain has locale
1086 support. If you don't know, leave the default value,
1087 Buildroot will tell you if it's correct or not.
1088
Thomas Petazzoni9eaad202010-12-13 17:27:44 +01001089config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1090 bool "Toolchain has threads support?"
1091 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard04d06892011-07-26 15:28:19 +02001092 default y
Thomas Petazzoni9eaad202010-12-13 17:27:44 +01001093 help
1094 Select this option if your external toolchain has thread
1095 support. If you don't know, leave the default value,
1096 Buildroot will tell you if it's correct or not.
1097
Thomas Petazzonic64f9482014-02-18 22:08:59 +01001098if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1099
Peter Korsgaard5931db02011-11-24 14:26:52 +01001100config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
1101 bool "Toolchain has threads debugging support?"
Peter Korsgaard5931db02011-11-24 14:26:52 +01001102 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
1103 default y
1104 help
1105 Select this option if your external toolchain has thread
1106 debugging support. If you don't know, leave the default
1107 value, Buildroot will tell you if it's correct or not.
1108
Thomas Petazzonic64f9482014-02-18 22:08:59 +01001109config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL
1110 bool "Toolchain has NPTL threads support?"
1111 select BR2_TOOLCHAIN_HAS_THREADS_NPTL
1112 default y
1113 help
1114 Select this option if your external toolchain uses the NPTL
1115 (Native Posix Thread Library) implementation of Posix
1116 threads. If you don't know, leave the default value,
1117 Buildroot will tell you if it's correct or not.
1118
1119endif # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1120
Thomas Petazzonic5866be2013-09-02 18:06:36 +02001121config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
1122 bool "Toolchain has SSP support?"
1123 select BR2_TOOLCHAIN_HAS_SSP
1124 help
1125 Selection this option if your external toolchain has Stack
1126 Smashing Protection support enabled. If you don't know,
1127 leave the default value, Buildroot will tell you if it's
1128 correct or not.
1129
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001130endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1131
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +01001132config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
1133 bool "Toolchain has RPC support?"
1134 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001135 depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL
Thomas Petazzoni3a843a32012-11-04 07:34:29 +00001136 default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +01001137 help
1138 Select this option if your external toolchain supports
1139 RPC. If you don't know, leave the default value, Buildroot
1140 will tell you if it's correct or not.
1141
Thomas Petazzoni6b578c82010-12-13 17:27:41 +01001142config BR2_TOOLCHAIN_EXTERNAL_CXX
1143 bool "Toolchain has C++ support?"
1144 select BR2_INSTALL_LIBSTDCPP
1145 help
1146 Select this option if your external toolchain has C++
1147 support. If you don't know, leave the default value,
1148 Buildroot will tell you if it's correct or not.
1149
Thomas De Schampheleirec72f54b2011-10-02 21:20:10 +02001150config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
1151 string "Extra toolchain libraries to be copied to target"
1152 help
1153 If your external toolchain provides extra libraries that
1154 need to be copied to the target filesystem, enter them
1155 here, separated by spaces. They will be copied to the
1156 target's /lib directory.
1157
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001158endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzonifff71172010-12-13 17:27:37 +01001159
Thomas Petazzonia0b6faa2013-04-07 00:04:33 +00001160config BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
1161 bool "Copy gdb server to the Target"
1162 depends on BR2_TOOLCHAIN_EXTERNAL
1163 help
1164 Copy the gdbserver provided by the external toolchain to the
1165 target.
1166
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001167# When the FDPIC shared binary format is used, the corresponding libraries are
1168# always installed. When a different binary format is used, we offer the option
1169# of installing the FDPIC shared libraries.
1170config BR2_BFIN_INSTALL_FDPIC_SHARED
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +01001171 bool "Install FDPIC shared libraries"
1172 depends on BR2_bfin && !BR2_BINFMT_FDPIC
1173 help
1174 The Linux kernel supports running both FDPIC and FLAT applications
1175 concurrently if the binary format specific libraries are installed
1176 properly. This option allows developer to install FDPIC libraries
1177 into a buildroot rootfs image built with binary format that is not
1178 FDPIC.
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001179
1180# When the FLAT shared binary format is used, we force the installation
1181# of the corresponding libraries. When a different binary format is
1182# used, we offer the option of installing the FLAT shared libraries.
1183config BR2_BFIN_INSTALL_FLAT_SHARED
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +01001184 bool "Install FLAT shared libraries" if !BR2_BINFMT_FLAT_SHARED
1185 depends on BR2_bfin
1186 default y if BR2_BINFMT_FLAT_SHARED
1187 help
1188 The Linux kernel supports running both FDPIC and FLAT applications
1189 concurrently if the binary format specific libraries are installed
1190 properly. This option allows developer to install FLAT libraries
1191 into a buildroot rootfs image built with binary format that is not
1192 shared FLAT.
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001193
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001194endif # BR2_TOOLCHAIN_EXTERNAL