blob: c74388f12038ed092ec7d5e6d87747d864edb013 [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
Thomas Petazzonia08dcf72014-09-15 23:49:36 +020010 bool "Linaro ARM 2014.08"
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
16 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
17 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
18 select BR2_INSTALL_LIBSTDCPP
19 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +010020 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010021 help
22 Linaro toolchain for the ARM architecture. It uses Linaro
Thomas Petazzonia08dcf72014-09-15 23:49:36 +020023 GCC 2014.08 (based on gcc 4.9), Linaro GDB 2013.10 (based on
24 GDB 7.6), eglibc 2.19, Binutils 2014.08 (based on 2.24). It
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010025 generates code that runs on all Cortex-A profile devices,
26 but tuned for the Cortex-A9. The code generated is Thumb 2,
27 with the hard floating point calling convention, and uses
28 the VFPv3-D16 FPU instructions.
29
Thomas Petazzoni1e0b97d2013-10-29 21:54:01 +010030comment "Linaro toolchains available for Cortex-A + EABIhf"
Thomas Petazzoni90f763c2012-11-27 04:07:03 +000031 depends on BR2_arm
Thomas Petazzoni1e0b97d2013-10-29 21:54:01 +010032 depends on BR2_GCC_TARGET_ARCH != "armv7-a" || !BR2_ARM_EABIHF
Thomas Petazzonied3f3e42013-11-11 18:57:32 +010033 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni90f763c2012-11-27 04:07:03 +000034
Thomas Petazzonicd32da82014-03-05 23:23:40 +010035config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
Thomas Petazzonia08dcf72014-09-15 23:49:36 +020036 bool "Linaro armeb 2014.08"
Thomas Petazzonicd32da82014-03-05 23:23:40 +010037 depends on BR2_armeb
38 depends on BR2_GCC_TARGET_ARCH = "armv7-a"
39 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
40 depends on BR2_ARM_EABIHF
41 depends on !BR2_PREFER_STATIC_LIB
42 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
43 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
44 select BR2_INSTALL_LIBSTDCPP
45 select BR2_HOSTARCH_NEEDS_IA32_LIBS
46 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
47 help
48 Linaro toolchain for the ARM big endian architecture. It
Thomas Petazzonia08dcf72014-09-15 23:49:36 +020049 uses Linaro GCC 2014.08 (based on gcc 4.9), Linaro GDB
50 2013.10 (based on GDB 7.6), eglibc 2.19, Binutils 2014.08
Thomas Petazzonicd32da82014-03-05 23:23:40 +010051 (based on 2.24). It generates code that runs on all Cortex-A
52 profile devices, but tuned for the Cortex-A9. The code
53 generated is Thumb 2, with the hard floating point calling
54 convention, and uses the VFPv3-D16 FPU instructions.
55
56comment "Linaro toolchains available for Cortex-A + EABIhf"
57 depends on BR2_armeb
58 depends on BR2_GCC_TARGET_ARCH != "armv7-a" || !BR2_ARM_EABIHF
59 depends on !BR2_PREFER_STATIC_LIB
60
Thomas Petazzoni93f3c042014-09-15 23:49:35 +020061config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201405
62 bool "Sourcery CodeBench ARM 2014.05"
63 depends on BR2_arm
64 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
65 depends on BR2_ARM_EABI
66 depends on !BR2_PREFER_STATIC_LIB
67 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
68 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
69 select BR2_INSTALL_LIBSTDCPP
70 select BR2_HOSTARCH_NEEDS_IA32_LIBS
71 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
72 help
73 Sourcery CodeBench toolchain for the ARM architecture, from
74 Mentor Graphics. It uses gcc 4.8.3, binutils 2.24.51, glibc
75 2.18 and gdb 7.7.50, kernel headers 3.13. It has support
76 for the following variants:
77 - ARMv5TE, little endian, soft-float, glibc
78 Select ARM926T, ARM10T, XScale or another ARMv5 core
79 Select BR2_SOFT_FLOAT
80 - ARMv4T, little endian, soft-float, glibc
81 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
82 Select BR2_SOFT_FLOAT
83 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
84 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
85 Select BR2_SOFT_FLOAT
86 Set BR2_TARGET_OPTIMIZATION to -mthumb
87
Thomas Petazzonic5252312013-12-27 12:32:17 +010088config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
89 bool "Sourcery CodeBench ARM 2013.11"
90 depends on BR2_arm
91 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
92 depends on BR2_ARM_EABI
93 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzonibe4f30a2014-04-13 21:58:57 +020094 select BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # based-on gcc-4.8.1
Samuel Martina1a86eb2014-03-08 15:38:31 +010095 select BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # based-on gcc-4.8.1
Thomas Petazzonic5252312013-12-27 12:32:17 +010096 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
97 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
98 select BR2_INSTALL_LIBSTDCPP
99 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100100 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
Thomas Petazzonic5252312013-12-27 12:32:17 +0100101 help
102 Sourcery CodeBench toolchain for the ARM architecture, from
103 Mentor Graphics. It uses gcc 4.8.1, binutils 2.23.52, glibc
104 2.18 and gdb 7.6.50, kernel headers 3.11. It has support
105 for the following variants:
106 - ARMv5TE, little endian, soft-float, glibc
107 Select ARM926T, ARM10T, XScale or another ARMv5 core
108 Select BR2_SOFT_FLOAT
109 - ARMv4T, little endian, soft-float, glibc
110 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
111 Select BR2_SOFT_FLOAT
112 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
113 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
114 Select BR2_SOFT_FLOAT
115 Set BR2_TARGET_OPTIMIZATION to -mthumb
116
Fabio Porcedda786700e2013-05-26 12:08:19 +0000117config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
118 bool "Sourcery CodeBench ARM 2013.05"
119 depends on BR2_arm
120 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200121 depends on BR2_ARM_EABI
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100122 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni85082ca2014-05-12 23:10:35 +0200123 select BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # based-on gcc-4.7.3
Fabio Porcedda786700e2013-05-26 12:08:19 +0000124 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
125 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
126 select BR2_INSTALL_LIBSTDCPP
127 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100128 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
Fabio Porcedda786700e2013-05-26 12:08:19 +0000129 help
130 Sourcery CodeBench toolchain for the ARM architecture, from
131 Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52, glibc
132 2.17 and gdb 7.4.50, kernel headers 3.8.2. It has support
133 for the following variants:
134 - ARMv5TE, little endian, soft-float, glibc
135 Select ARM926T, ARM10T, XScale or another ARMv5 core
136 Select BR2_SOFT_FLOAT
137 - ARMv4T, little endian, soft-float, glibc
138 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
139 Select BR2_SOFT_FLOAT
140 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
141 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
142 Select BR2_SOFT_FLOAT
143 Set BR2_TARGET_OPTIMIZATION to -mthumb
144
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200145comment "Sourcery CodeBench toolchains available for the EABI ABI"
146 depends on BR2_arm
147 depends on !BR2_ARM_EABI
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100148 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200149
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200150config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
151 bool "Arago ARMv7 2011.09"
152 depends on BR2_arm
153 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonic5f87f72013-06-08 11:14:19 +0200154 depends on BR2_GCC_TARGET_ARCH = "armv7-a"
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200155 depends on BR2_ARM_EABI
156 depends on BR2_ARM_CPU_HAS_VFPV3 || BR2_ARM_CPU_MAYBE_HAS_VFPV3
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100157 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200158 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
159 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
160 select BR2_INSTALL_LIBSTDCPP
161 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100162 # kernel headers: 2.6.31
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200163 help
164 Texas Instruments Arago 2011.09 toolchain, with gcc 4.5.3,
165 binutils 2.20.1, glibc 2.12, gdb 7.2.
166
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200167 This toolchain uses -mfloat-abi=softfp (i.e can use FPU
168 instructions, but passes floating point function arguments
169 in integer registers), and requires a VFPv3 floating point
170 unit to work properly. This unit is available on most
171 Cortex-A ARM processors, but not all.
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200172
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200173config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
174 bool "Arago ARMv5 2011.09"
175 depends on BR2_arm
176 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonif3d6e6c2013-06-08 11:14:20 +0200177 depends on BR2_GCC_TARGET_ARCH != "armv4t" && \
178 BR2_GCC_TARGET_ARCH != "armv4" && \
179 BR2_GCC_TARGET_ARCH != "armv5t"
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200180 depends on BR2_ARM_EABI
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100181 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200182 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
183 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
184 select BR2_INSTALL_LIBSTDCPP
185 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100186 # kernel headers: 2.6.31
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200187 help
188 Texas Instruments Arago ARMv5 2011.09 toolchain, with gcc
189 4.5.3, binutils 2.20.1, glibc 2.12, gdb 7.2.
190
191 This toolchain uses software-floating point.
192
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200193config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201405
194 bool "Sourcery CodeBench MIPS 2014.05"
195 depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
196 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
197 depends on !BR2_MIPS_NABI32
198 depends on !BR2_PREFER_STATIC_LIB
199 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
200 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
201 select BR2_INSTALL_LIBSTDCPP
202 select BR2_HOSTARCH_NEEDS_IA32_LIBS
203 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
204 help
205 Sourcery CodeBench toolchain for the MIPS architecture, from
206 Mentor Graphics. It uses gcc 4.8.3, binutils 2.24.51, glibc
207 2.18, uClibc 0.9.30 and gdb 7.7.50, kernel headers
208 3.13. It has support for the following variants:
209 - MIPS32 O32 big endian glibc
210 Select a MIPS generic core
211 Disable BR2_SOFT_FLOAT
212 - MIPS64 big endian glibc
213 Select a MIPS64 generic core
214 Select the n64 ABI
215 Disable BR2_SOFT_FLOAT
216 - MIPS32 O32 little endian glibc
217 Select a MIPS generic core
218 Disable BR2_SOFT_FLOAT
219 - MIPS64 little endian glibc
220 Select a MIPS64 generic core
221 Select the n64 ABI
222 Disable BR2_SOFT_FLOAT
223 - MIPS32 big endian soft float glibc
224 Select a MIPS generic core
225 Select BR2_SOFT_FLOAT
226 - MIPS64 big endian soft float glibc
227 Select a MIPS64 generic core
228 Select the n64 ABI
229 Select BR2_SOFT_FLOAT
230 - MIPS32 little endian soft float glibc
231 Select a MIPS generic core
232 Select BR2_SOFT_FLOAT
233 - MIPS64 little endian soft float glibc
234 Select a MIPS64 generic core
235 Select the n64 ABI
236 Select BR2_SOFT_FLOAT
237 - MIPS32 big endian microMIPS glibc
238 Select a MIPS generic core
239 Disable BR2_SOFT_FLOAT
240 Set BR2_TARGET_OPTIMIZATION to -mips16
241 - MIPS32 little endian microMIPS glibc
242 Select a MIPS generic core
243 Disable BR2_SOFT_FLOAT
244 Set BR2_TARGET_OPTIMIZATION to -mips16
245 - MIPS32 big endian soft float microMIPS glibc
246 Select a MIPS generic core
247 Select BR2_SOFT_FLOAT
248 Set BR2_TARGET_OPTIMIZATION to -mips16
249 - MIPS32 little endian soft float microMIPS glibc
250 Select a MIPS generic core
251 Select BR2_SOFT_FLOAT
252 Set BR2_TARGET_OPTIMIZATION to -mips16
253 - MIPS32 big endian uclibc
254 Not usable in Buildroot yet.
255 - MIPS32 little endian uclibc
256 Not usable in Buildroot yet.
257 - MIPS32 big endian soft float uclibc
258 Not usable in Buildroot yet.
259 - MIPS32 little endian soft float uclibc
260 Not usable in Buildroot yet.
261
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100262config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201311
263 bool "Sourcery CodeBench MIPS 2013.11"
264 depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
265 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
266 depends on !BR2_MIPS_NABI32
267 depends on !BR2_PREFER_STATIC_LIB
268 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
269 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
270 select BR2_INSTALL_LIBSTDCPP
271 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100272 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100273 help
274 Sourcery CodeBench toolchain for the MIPS architecture, from
275 Mentor Graphics. It uses gcc 4.8.1, binutils 2.23.52, glibc
276 2.18, uClibc 0.9.30 and gdb 7.6.50, kernel headers
277 3.11. It has support for the following variants:
278 - MIPS32 O32 big endian glibc
279 Select a MIPS generic core
280 Disable BR2_SOFT_FLOAT
281 - MIPS64 big endian glibc
282 Select a MIPS64 generic core
283 Select the n64 ABI
284 Disable BR2_SOFT_FLOAT
285 - MIPS32 O32 little endian glibc
286 Select a MIPS generic core
287 Disable BR2_SOFT_FLOAT
288 - MIPS64 little endian glibc
289 Select a MIPS64 generic core
290 Select the n64 ABI
291 Disable BR2_SOFT_FLOAT
292 - MIPS32 big endian soft float glibc
293 Select a MIPS generic core
294 Select BR2_SOFT_FLOAT
295 - MIPS64 big endian soft float glibc
296 Select a MIPS64 generic core
297 Select the n64 ABI
298 Select BR2_SOFT_FLOAT
299 - MIPS32 little endian soft float glibc
300 Select a MIPS generic core
301 Select BR2_SOFT_FLOAT
302 - MIPS64 little endian soft float glibc
303 Select a MIPS64 generic core
304 Select the n64 ABI
305 Select BR2_SOFT_FLOAT
306 - MIPS32 big endian microMIPS glibc
307 Select a MIPS generic core
308 Disable BR2_SOFT_FLOAT
309 Set BR2_TARGET_OPTIMIZATION to -mips16
310 - MIPS32 little endian microMIPS glibc
311 Select a MIPS generic core
312 Disable BR2_SOFT_FLOAT
313 Set BR2_TARGET_OPTIMIZATION to -mips16
314 - MIPS32 big endian soft float microMIPS glibc
315 Select a MIPS generic core
316 Select BR2_SOFT_FLOAT
317 Set BR2_TARGET_OPTIMIZATION to -mips16
318 - MIPS32 little endian soft float microMIPS glibc
319 Select a MIPS generic core
320 Select BR2_SOFT_FLOAT
321 Set BR2_TARGET_OPTIMIZATION to -mips16
322 - MIPS32 big endian uclibc
323 Not usable in Buildroot yet.
324 - MIPS32 little endian uclibc
325 Not usable in Buildroot yet.
326 - MIPS32 big endian soft float uclibc
327 Not usable in Buildroot yet.
328 - MIPS32 little endian soft float uclibc
329 Not usable in Buildroot yet.
330
Markos Chandras4d34fb72013-06-08 11:14:14 +0200331config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201305
332 bool "Sourcery CodeBench MIPS 2013.05"
333 depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
334 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Markos Chandras6f70ba32013-08-13 09:45:44 +0100335 depends on !BR2_MIPS_NABI32
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100336 depends on !BR2_PREFER_STATIC_LIB
Markos Chandras4d34fb72013-06-08 11:14:14 +0200337 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
338 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
339 select BR2_INSTALL_LIBSTDCPP
340 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100341 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
Markos Chandras4d34fb72013-06-08 11:14:14 +0200342 help
343 Sourcery CodeBench toolchain for the MIPS architecture, from
344 Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52, glibc
345 2.17, uClibc 0.9.30 and gdb 7.4.50, kernel headers
346 3.8.2. It has support for the following variants:
347 - MIPS32 O32 big endian glibc
348 Select a MIPS generic core
349 Disable BR2_SOFT_FLOAT
350 - MIPS64 big endian glibc
351 Select a MIPS64 generic core
352 Select the n64 ABI
353 Disable BR2_SOFT_FLOAT
354 - MIPS32 O32 little endian glibc
355 Select a MIPS generic core
356 Disable BR2_SOFT_FLOAT
Markos Chandras4d34fb72013-06-08 11:14:14 +0200357 - MIPS64 little endian glibc
358 Select a MIPS64 generic core
359 Select the n64 ABI
360 Disable BR2_SOFT_FLOAT
Markos Chandras4d34fb72013-06-08 11:14:14 +0200361 - MIPS32 big endian soft float glibc
362 Select a MIPS generic core
363 Select BR2_SOFT_FLOAT
364 - MIPS64 big endian soft float glibc
365 Select a MIPS64 generic core
366 Select the n64 ABI
367 Select BR2_SOFT_FLOAT
368 - MIPS32 little endian soft float glibc
369 Select a MIPS generic core
370 Select BR2_SOFT_FLOAT
Markos Chandras4d34fb72013-06-08 11:14:14 +0200371 - MIPS64 little endian soft float glibc
372 Select a MIPS64 generic core
373 Select the n64 ABI
374 Select BR2_SOFT_FLOAT
Markos Chandras4d34fb72013-06-08 11:14:14 +0200375 - MIPS32 big endian microMIPS glibc
376 Select a MIPS generic core
377 Disable BR2_SOFT_FLOAT
378 Set BR2_TARGET_OPTIMIZATION to -mips16
379 - MIPS32 little endian microMIPS glibc
380 Select a MIPS generic core
381 Disable BR2_SOFT_FLOAT
Markos Chandrasf3a2b802013-10-14 10:52:25 +0100382 Set BR2_TARGET_OPTIMIZATION to -mips16
Markos Chandras4d34fb72013-06-08 11:14:14 +0200383 - MIPS32 big endian soft float microMIPS glibc
384 Select a MIPS generic core
385 Select BR2_SOFT_FLOAT
386 Set BR2_TARGET_OPTIMIZATION to -mips16
387 - MIPS32 little endian soft float microMIPS glibc
388 Select a MIPS generic core
389 Select BR2_SOFT_FLOAT
Markos Chandrasf3a2b802013-10-14 10:52:25 +0100390 Set BR2_TARGET_OPTIMIZATION to -mips16
Markos Chandras4d34fb72013-06-08 11:14:14 +0200391 - MIPS32 big endian uclibc
392 Not usable in Buildroot yet.
393 - MIPS32 little endian uclibc
394 Not usable in Buildroot yet.
395 - MIPS32 big endian soft float uclibc
396 Not usable in Buildroot yet.
397 - MIPS32 little endian soft float uclibc
398 Not usable in Buildroot yet.
399
Markos Chandras6f70ba32013-08-13 09:45:44 +0100400comment "Sourcery CodeBench toolchains are only available for MIPS/MIPS64 o32 and n64"
401 depends on BR2_MIPS_NABI32
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100402 depends on !BR2_PREFER_STATIC_LIB
Markos Chandras6f70ba32013-08-13 09:45:44 +0100403
Ezequiel García3ca5f0b2014-08-31 18:33:39 -0300404config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
405 bool "Sourcery CodeBench Nios-II 2014.05"
406 depends on BR2_nios2
407 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
408 depends on !BR2_PREFER_STATIC_LIB
409 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
410 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
411 select BR2_INSTALL_LIBSTDCPP
412 select BR2_HOSTARCH_NEEDS_IA32_LIBS
413 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
414 help
415 Sourcery CodeBench toolchain for the Nios-II architecture,
416 from Mentor Graphics. It uses gcc 4.8.3, binutils 2.24.51,
417 glibc 2.19.90, gdb 7.7.50 and kernel headers 3.12.
418
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300419config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
420 bool "Sourcery CodeBench Nios-II 2013.05"
421 depends on BR2_nios2
422 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100423 depends on !BR2_PREFER_STATIC_LIB
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300424 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
425 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
426 select BR2_INSTALL_LIBSTDCPP
427 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100428 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300429 help
430 Sourcery CodeBench toolchain for the Nios-II architecture,
431 from Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52,
432 glibc 2.17, gdb 7.4.50 and kernel headers 3.7.0.
433
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +0200434config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201203
435 bool "Sourcery CodeBench PowerPC 2012.03"
436 depends on BR2_powerpc
437 depends on BR2_powerpc_SPE
438 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
439 depends on !BR2_PREFER_STATIC_LIB
440 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
441 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
442 select BR2_INSTALL_LIBSTDCPP
443 select BR2_HOSTARCH_NEEDS_IA32_LIBS
444 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
445 help
446 Sourcery CodeBench toolchain for the PowerPC architecture,
447 from Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53,
448 glibc 2.15, gdb 7.2.50 and kernel headers 3.2.10. It has
449 support for the following variants:
450 - e500v2 glibc, SPE, 32 bits
451
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100452config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
453 bool "Sourcery CodeBench PowerPC 2011.03"
454 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 Petazzoni22e06982011-12-31 12:28:34 +0100457 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100458 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni22e06982011-12-31 12:28:34 +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.38
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100462 help
463 Sourcery CodeBench toolchain for the PowerPC architecture,
464 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20.51,
465 glibc 2.13, gdb 7.2.50 and kernel headers 2.6.38. 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 Petazzoni22e06982011-12-31 12:28:34 +0100483
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100484config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200485 bool "Sourcery CodeBench PowerPC 2010.09"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100486 depends on BR2_powerpc
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 Petazzoni6c492d52010-12-13 17:27:39 +0100489 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100490 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni6b578c82010-12-13 17:27:41 +0100491 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 # kernel headers: 2.6.35
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100494 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200495 Sourcery CodeBench toolchain for the PowerPC architecture,
Thomas Petazzoni2ec3e6d2012-01-15 20:02:11 +0100496 from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200497 glibc 2.11, gdb 7.2.50 and kernel headers 2.6.35.2. It has
498 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200499 - 603 glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100500 Select a generic PowerPC core
501 Disable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200502 - 603 soft float glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100503 Select a generic PowerPC core
504 Enable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200505 - e600 altivec glibc, 32 bits
506 Set BR2_TARGET_OPTIMIZATION to -te600
507 - e500v1 glibc, 32 bits
508 Set BR2_TARGET_OPTIMIZATION to -te500v1
509 - e500v2 glibc, 32 bits
510 Set BR2_TARGET_OPTIMIZATION to -te500v2
511 - e500mc glibc, 32 bits
512 Set BR2_TARGET_OPTIMIZATION to -te500mc
513 - 970 glibc hard-float, 64 bits
514 Set BR2_TARGET_OPTIMIZATION to -m64
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100515
Thomas Petazzonie067a442012-11-04 07:34:21 +0000516config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
517 bool "Sourcery CodeBench SH 2012.09"
518 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000519 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100520 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzonie067a442012-11-04 07:34:21 +0000521 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
522 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
523 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000524 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100525 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Thomas Petazzonie067a442012-11-04 07:34:21 +0000526 help
527 Sourcery CodeBench toolchain for the SuperH architecture,
528 from Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51,
529 glibc 2.16, uClibc 0.9.30, gdb 7.4.50 and kernel headers
530 3.5.4. It has support for the following variants:
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +0100531 - SH4A, glibc, little endian
532 Default.
533 - SH4A, glibc, big endian
534 Add -mb to BR2_TARGET_OPTIMIZATION
535 - SH4A, uClibc, little endian
536 Not usable in Buildroot yet.
537 - SH4A, uClibc, big endian
538 Not usable in Buildroot yet.
Thomas Petazzonie067a442012-11-04 07:34:21 +0000539
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000540config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
541 bool "Sourcery CodeBench SH 2012.03"
542 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000543 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100544 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000545 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
546 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000547 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100548 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000549 help
550 Sourcery CodeBench toolchain for the SuperH architecture,
551 from Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53,
552 glibc 2.15, uClibc 0.9.30, gdb 7.2.50 and kernel headers
553 3.2.10. It has support for the following variants:
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +0100554 - SH4A, glibc, little endian
555 Default.
556 - SH4A, glibc, big endian
557 Add -mb to BR2_TARGET_OPTIMIZATION
558 - SH4A, uClibc, little endian
559 Not usable in Buildroot yet.
560 - SH4A, uClibc, big endian
561 Not usable in Buildroot yet.
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000562
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200563config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200564 bool "Sourcery CodeBench SH 2011.03"
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200565 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000566 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100567 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200568 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100569 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200570 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000571 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100572 # kernel headers: 2.6.38
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200573 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200574 Sourcery CodeBench toolchain for the SuperH architecture,
575 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
576 glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers
577 2.6.38. It has support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200578 - SH4A, glibc, little endian
579 Default.
580 - SH4A, glibc, big endian
581 Add -mb to BR2_TARGET_OPTIMIZATION
582 - SH4A, uClibc, little endian
583 Not usable in Buildroot yet.
584 - SH4A, uClibc, big endian
585 Not usable in Buildroot yet.
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200586
Thomas Petazzoniae236462011-10-02 21:20:11 +0200587config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200588 bool "Sourcery CodeBench SH 2011.03"
Thomas Petazzoniae236462011-10-02 21:20:11 +0200589 depends on BR2_sh2a
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000590 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoniae236462011-10-02 21:20:11 +0200591 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
592 select BR2_LARGEFILE
Thomas Petazzoni0858e002012-11-03 18:47:49 +0100593 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoniae236462011-10-02 21:20:11 +0200594 select BR2_USE_WCHAR
595 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard5931db02011-11-24 14:26:52 +0100596 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
Thomas Petazzoniae236462011-10-02 21:20:11 +0200597 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000598 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100599 # kernel headers: 2.6.38
Thomas Petazzoniae236462011-10-02 21:20:11 +0200600 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200601 Sourcery CodeBench toolchain for the SuperH architecture,
602 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
603 uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.38. It has
604 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200605 - SH2A, uClibc, big endian
Thomas Petazzoniae236462011-10-02 21:20:11 +0200606
Phil Edworthy95157452011-05-06 15:23:04 +0100607config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200608 bool "Sourcery CodeBench SH 2010.09"
Phil Edworthyd5247aa2011-05-09 14:12:53 +0100609 depends on BR2_sh2a
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000610 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Phil Edworthy95157452011-05-06 15:23:04 +0100611 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
Thomas Petazzonid63a8172011-07-30 00:00:37 +0200612 select BR2_LARGEFILE
Thomas Petazzoni0858e002012-11-03 18:47:49 +0100613 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonid63a8172011-07-30 00:00:37 +0200614 select BR2_USE_WCHAR
615 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard5931db02011-11-24 14:26:52 +0100616 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
Phil Edworthy95157452011-05-06 15:23:04 +0100617 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000618 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100619 # kernel headers: 2.6.35
Phil Edworthy95157452011-05-06 15:23:04 +0100620 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200621 Sourcery CodeBench toolchain for the SuperH architecture,
622 from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
623 uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.35.2. It
624 has support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200625 - SH2A, uClibc, big endian
Phil Edworthy95157452011-05-06 15:23:04 +0100626
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000627config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
628 bool "Sourcery CodeBench x86/x86_64 2012.09"
629 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000630 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100631 depends on !BR2_PREFER_STATIC_LIB
Adrien Bérauda20cb382014-01-15 17:17:10 -0500632 depends on !BR2_x86_jaguar
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000633 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
634 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
635 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000636 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100637 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000638 help
639 Sourcery CodeBench toolchain for the x86/x86_64
640 architectures, from Mentor Graphics. It uses gcc 4.7.2,
641 binutils 2.23.51, glibc 2.16, gdb 7.4.50 and kernel headers
642 3.5.4. It has support for the following variants:
643 - Intel Pentium 4, glibc, 32 bits
644 Default for x86, nothing special to do.
645 - Intel Atom, glibc, 32 bits
646 Select an Atom core
647 - Intel Xeon, glibc, 64 bits
648 Default for x86_64, nothing special to do.
649 - Intel Core 2, glibc, 64 bits
650 Select a Core 2 core
651 Other architecture variants (beyond Pentium-4/Xeon) are
652 supported as well, but glibc is not optimised for it.
653
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000654config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
655 bool "Sourcery CodeBench x86/x86_64 2012.03"
656 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000657 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100658 depends on !BR2_PREFER_STATIC_LIB
Adrien Bérauda20cb382014-01-15 17:17:10 -0500659 depends on !BR2_x86_jaguar
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000660 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
661 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000662 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100663 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000664 help
665 Sourcery CodeBench toolchain for the x86/x86_64
666 architectures, from Mentor Graphics. It uses gcc 4.6.3,
667 binutils 2.21.53, glibc 2.15, gdb 7.2.50 and kernel headers
668 3.2.10. It has support for the following variants:
669 - Intel Pentium 4, glibc, 32 bits
670 Default for x86, nothing special to do.
671 - Intel Atom, glibc, 32 bits
672 Select an Atom core
673 - Intel Xeon, glibc, 64 bits
674 Default for x86_64, nothing special to do.
675 - Intel Core 2, glibc, 64 bits
676 Select a Core 2 core
677 Other architecture variants (beyond Pentium-4/Xeon) are
678 supported as well, but glibc is not optimised for it.
679
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100680config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
681 bool "Sourcery CodeBench x86/x86_64 2011.09"
682 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000683 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100684 depends on !BR2_PREFER_STATIC_LIB
Adrien Bérauda20cb382014-01-15 17:17:10 -0500685 depends on !BR2_x86_jaguar
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100686 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100687 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100688 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000689 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100690 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100691 help
692 Sourcery CodeBench toolchain for the x86/x86_64
693 architectures, from Mentor Graphics. It uses gcc 4.6.1,
694 binutils 2.21.53, glibc 2.13, gdb 7.2.50 and kernel headers
695 3.0.1. It has support for the following variants:
696 - Intel Pentium 4, glibc, 32 bits
Arnout Vandecappelle (Essensium/Mind)a22dc0f2012-03-13 23:30:00 +0100697 Default for x86, nothing special to do.
698 - Intel Atom, glibc, 32 bits
699 Select an Atom core
700 - Intel Xeon, glibc, 64 bits
701 Default for x86_64, nothing special to do.
702 - Intel Core 2, glibc, 64 bits
703 Select a Core 2 core
704 Other architecture variants (beyond Pentium-4/Xeon) are
705 supported as well, but glibc is not optimised for it.
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100706
Thomas Petazzoni1cfeed12014-07-09 23:20:22 +0200707config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1
708 bool "Blackfin.uclinux.org 2014R1"
Thomas Petazzoni5a65b8e2014-06-01 12:47:48 +0200709 depends on BR2_bfin
710 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
711 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
712 select BR2_INSTALL_LIBSTDCPP
713 select BR2_LARGEFILE
714 select BR2_INET_IPV6
715 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
716 select BR2_USE_WCHAR
717 select BR2_TOOLCHAIN_HAS_THREADS
718 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
719 select BR2_HOSTARCH_NEEDS_IA32_LIBS
720 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
721 help
722 Toolchain for the Blackfin architecture, from
723 http://blackfin.uclinux.org.
724
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100725config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1
726 bool "Blackfin.uclinux.org 2013R1"
727 depends on BR2_bfin
728 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
729 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
730 select BR2_INSTALL_LIBSTDCPP
731 select BR2_LARGEFILE
732 select BR2_INET_IPV6
733 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
734 select BR2_USE_WCHAR
735 select BR2_TOOLCHAIN_HAS_THREADS
736 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
737 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100738 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100739 help
740 Toolchain for the Blackfin architecture, from
741 http://blackfin.uclinux.org.
742
Gustavo Zacarias82e39a22013-02-01 03:04:50 +0000743config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
744 bool "Blackfin.uclinux.org 2012R2-RC2"
745 depends on BR2_bfin
746 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
747 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
748 select BR2_INSTALL_LIBSTDCPP
749 select BR2_LARGEFILE
750 select BR2_INET_IPV6
751 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
752 select BR2_USE_WCHAR
753 select BR2_TOOLCHAIN_HAS_THREADS
754 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
755 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100756 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Gustavo Zacarias82e39a22013-02-01 03:04:50 +0000757 help
758 Toolchain for the Blackfin architecture, from
759 http://blackfin.uclinux.org.
760
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000761config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
Jan Viktorincd344462013-07-08 16:08:18 +0200762 bool "Xilinx Little Endian Microblaze GNU Tools 14.3"
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000763 depends on BR2_microblazeel
764 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100765 depends on !BR2_PREFER_STATIC_LIB
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100766 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000767 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
768 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
769 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100770 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000771 help
772 Toolchain for the Microblaze architecture, from
773 http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It
774 uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50.
775
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100776config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
Jan Viktorincd344462013-07-08 16:08:18 +0200777 bool "Xilinx Little Endian Microblaze GNU Tools v2"
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100778 depends on BR2_microblazeel
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000779 depends on BR2_HOSTARCH = "x86_64"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100780 depends on !BR2_PREFER_STATIC_LIB
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100781 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni1f6e2b42012-08-01 23:47:04 +0200782 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100783 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100784 # kernel headers: 2.6.37
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100785 help
786 Toolchain for the Microblaze architecture, from
787 http://wiki.xilinx.com/mb-gnu-tools
788
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000789config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
790 bool "Xilinx Big Endian Microblaze GNU Tools"
Peter Korsgaardc1a6f682013-04-11 07:50:53 +0200791 depends on BR2_microblazebe
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000792 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100793 depends on !BR2_PREFER_STATIC_LIB
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100794 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000795 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
796 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
797 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100798 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000799 help
800 Toolchain for the Microblaze architecture, from
801 http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It
802 uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50.
803
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100804config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
805 bool "Xilinx Big Endian Microblaze GNU Tools"
806 depends on BR2_microblazebe
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000807 depends on BR2_HOSTARCH = "x86_64"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100808 depends on !BR2_PREFER_STATIC_LIB
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100809 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni1f6e2b42012-08-01 23:47:04 +0200810 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100811 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100812 # kernel headers: 2.6.37
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100813 help
814 Toolchain for the Microblaze architecture, from
815 http://wiki.xilinx.com/mb-gnu-tools
816
Thomas Petazzonid51025d2014-06-01 12:47:41 +0200817config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
Thomas Petazzonia08dcf72014-09-15 23:49:36 +0200818 bool "Linaro AArch64 14.08"
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100819 depends on BR2_aarch64
820 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
821 depends on !BR2_PREFER_STATIC_LIB
822 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
823 select BR2_INSTALL_LIBSTDCPP
824 select BR2_HOSTARCH_NEEDS_IA32_LIBS
825 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100826 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100827 help
828 Toolchain for the AArch64 architecture, from
829 http://www.linaro.org/engineering/armv8/
830
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200831config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
832 bool "CodeSourcery AArch64 2014.05"
833 depends on BR2_aarch64
834 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
835 depends on !BR2_PREFER_STATIC_LIB
836 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
837 select BR2_INSTALL_LIBSTDCPP
838 select BR2_HOSTARCH_NEEDS_IA32_LIBS
839 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
840 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
841 help
842 Sourcery CodeBench toolchain for the AArch64 architecture,
843 from Mentor Graphics. It uses gcc 4.8.3, binutils 2.24,
844 glibc 2.18, gdb 7.7.50 and kernel headers 3.13.
845
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200846config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS
Thomas Petazzoni5c852662014-06-01 12:47:45 +0200847 bool "Musl 1.1.1 toolchain"
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200848 depends on (BR2_arm && BR2_ARM_EABI) || (BR2_armeb && BR2_ARM_EABI) || \
Thomas Petazzoni77ef6a32014-05-30 22:24:39 +0200849 (BR2_i386 && !BR2_x86_i386) || BR2_microblazebe || BR2_mips || \
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200850 BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || BR2_x86_64
851 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
852 select BR2_TOOLCHAIN_EXTERNAL_MUSL
853 select BR2_INSTALL_LIBSTDCPP
854 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni5c852662014-06-01 12:47:45 +0200855 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200856 help
857 Toolchain based on the Musl C library, provided by the
Thomas Petazzoni5c852662014-06-01 12:47:45 +0200858 musl-cross project. It uses gcc 4.8.3, binutils 2.24 and
859 musl 1.1.1. It does not have a cross debugger included.
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200860
861 The ARM toolchain is built for ARMv4t, soft-float.
862 The x86 toolchain is built for i486.
863
864 http://musl.codu.org/
865
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100866config BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200867 bool "Custom toolchain"
868 help
869 Use this option to use a custom toolchain pre-installed on
870 your system.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100871
872endchoice
873
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200874choice
875 prompt "Toolchain origin"
Thomas Petazzoni70194072012-07-22 20:57:26 +0200876 # Keep compatibility with old defconfig files that are using
877 # custom toolchains, and which are therefore assuming that
878 # "preinstalled" in the default choice.
879 default BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200880
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100881config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200882 bool "Toolchain to be downloaded and installed"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100883 help
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200884 Select this option if you want Buildroot to download and install the
885 toolchain. If you have selected a custom toolchain, specify the URL
886 in BR2_TOOLCHAIN_EXTERNAL_URL.
887
888config BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
889 bool "Pre-installed toolchain"
890 help
891 Select this option if you want to use a pre-installed toolchain.
892 Specify the path to this toolchain in BR2_TOOLCHAIN_EXTERNAL_PATH.
893
894endchoice
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100895
896config BR2_TOOLCHAIN_EXTERNAL_PATH
897 string "Toolchain path"
898 default "/path/to/toolchain/usr"
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200899 depends on BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100900 help
901 Path to where the external toolchain is installed.
902
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200903config BR2_TOOLCHAIN_EXTERNAL_URL
904 string "Toolchain URL"
905 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM && BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
906 help
907 URL of the custom toolchain tarball to download and install.
908
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100909config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
910 string "Toolchain prefix"
911 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM
912 default "$(ARCH)-linux"
913
914config BR2_TOOLCHAIN_EXTERNAL_PREFIX
915 string
Thomas Petazzonibe2abf22014-06-01 12:47:40 +0200916 default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
Thomas Petazzonicd32da82014-03-05 23:23:40 +0100917 default "armeb-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
Fabio Porcedda786700e2013-05-26 12:08:19 +0000918 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
Thomas Petazzonic5252312013-12-27 12:32:17 +0100919 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
Thomas Petazzoni93f3c042014-09-15 23:49:35 +0200920 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201405
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200921 default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200922 default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
Thomas Petazzonid51025d2014-06-01 12:47:41 +0200923 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200924 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000925 default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100926 default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000927 default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100928 default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
Markos Chandras4d34fb72013-06-08 11:14:14 +0200929 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201305
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100930 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201311
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200931 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201405
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300932 default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
Ezequiel García3ca5f0b2014-08-31 18:33:39 -0300933 default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100934 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100935 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +0200936 default "powerpc-mentor-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201203
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200937 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000938 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
Thomas Petazzonie067a442012-11-04 07:34:21 +0000939 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
Phil Edworthy95157452011-05-06 15:23:04 +0100940 default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
Thomas Petazzoniae236462011-10-02 21:20:11 +0200941 default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100942 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000943 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000944 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
Sonic Zhang57133822013-05-03 00:39:34 +0000945 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FLAT
946 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FDPIC
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100947 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FLAT
948 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FDPIC
Thomas Petazzoni1cfeed12014-07-09 23:20:22 +0200949 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 && BR2_BINFMT_FLAT
950 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 && BR2_BINFMT_FDPIC
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200951 default "arm-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_arm
952 default "armeb-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_armeb
953 default "i486-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_i386
Thomas Petazzoni77ef6a32014-05-30 22:24:39 +0200954 default "microblaze-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_microblazebe
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200955 default "mips-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && !BR2_SOFT_FLOAT)
956 default "mips-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && BR2_SOFT_FLOAT)
957 default "mipsel-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && !BR2_SOFT_FLOAT)
958 default "mipsel-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && BR2_SOFT_FLOAT)
959 default "powerpc-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_powerpc
960 default "x86_64-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_x86_64
Thomas De Schampheleirefbc24942013-09-02 22:07:53 +0200961 default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX \
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100962 if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzoni643aa232009-05-29 18:37:41 +0200963
964config BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100965 bool
Thomas Petazzoni381616e2013-06-30 21:29:09 +0200966 select BR2_TOOLCHAIN_USES_GLIBC
Thomas Petazzoni643aa232009-05-29 18:37:41 +0200967
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100968config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
969 bool
Thomas Petazzoni381616e2013-06-30 21:29:09 +0200970 select BR2_TOOLCHAIN_USES_UCLIBC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100971
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +0200972config BR2_TOOLCHAIN_EXTERNAL_MUSL
973 bool
974 select BR2_TOOLCHAIN_USES_MUSL
975
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100976if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
977
978choice
Yann E. MORINc58bcd52014-03-01 15:52:59 +0100979 bool "External toolchain kernel headers series"
980 default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
981 help
982 Set to the kernel headers version that were used to build
983 this external toolchain.
984
985 This is used to hide/show some packages that have strict
986 requirements on the version of kernel headers.
987
988 If unsure what version your toolchain is using, you can look
989 at the value of LINUX_VERSION_CODE in linux/version.h in your
990 toolchain. The Linux version is M.m.p, with:
991 M = ( LINUX_VERSION_CODE >> 16 ) & 0xFF
992 m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF
993 p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF
994
Gustavo Zacarias2d312b72014-10-06 08:44:39 -0300995config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17
996 bool "3.17.x"
Karoly Kaszab8f9e572014-10-09 12:59:01 +0200997 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
Gustavo Zacarias2d312b72014-10-06 08:44:39 -0300998
Gustavo Zacarias911516f2014-08-03 23:29:22 -0300999config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_16
1000 bool "3.16.x"
1001 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
1002
Gustavo Zacariasfb29afe2014-06-09 08:30:33 -03001003config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15
1004 bool "3.15.x"
1005 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
1006
Samuel Martin11547ca2014-04-06 18:27:49 +02001007config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14
1008 bool "3.14.x"
1009 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
1010
Yann E. MORINc58bcd52014-03-01 15:52:59 +01001011config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13
1012 bool "3.13.x"
1013 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
1014
1015config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12
1016 bool "3.12.x"
1017 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
1018
1019config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11
1020 bool "3.11.x"
1021 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
1022
1023config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10
1024 bool "3.10.x"
1025 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
1026
1027config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9
1028 bool "3.9.x"
1029 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
1030
1031config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8
1032 bool "3.8.x"
1033 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
1034
1035config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7
1036 bool "3.7.x"
1037 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
1038
1039config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6
1040 bool "3.6.x"
1041 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
1042
1043config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5
1044 bool "3.5.x"
1045 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
1046
1047config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4
1048 bool "3.4.x"
1049 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
1050
1051config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3
1052 bool "3.3.x"
1053 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
1054
1055config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2
1056 bool "3.2.x"
1057 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
1058
1059config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1
1060 bool "3.1.x"
1061 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
1062
1063config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0
1064 bool "3.0.x"
1065 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
1066
1067config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
1068 bool "2.6.x"
1069
1070endchoice
1071
1072choice
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001073 prompt "External toolchain C library"
1074 default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1075
1076config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1077 bool "uClibc"
1078 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
Thomas Petazzonib9882922011-05-30 23:56:57 +02001079 # For the time being, we assume that all custom external
1080 # toolchains have shadow password support.
1081 select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
Thomas Petazzoni692a5852013-10-08 20:17:10 +02001082 help
1083 Select this option if your external toolchain uses the
1084 uClibc C library (available from http://www.uclibc.org/).
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001085
1086config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +00001087 bool "glibc/eglibc"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01001088 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001089 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +00001090 help
Thomas Petazzoni692a5852013-10-08 20:17:10 +02001091 Select this option if your external toolchain uses the GNU C
1092 library (available from https://www.gnu.org/software/libc/)
1093 or its variant the eglibc library (http://www.eglibc.org/).
1094
1095 Note: eglibc is a variant of glibc that (among other things)
1096 can be configured to exclude some of its features. Using a
1097 toolchain with eglibc configured to exclude key features may
1098 cause build failures to some packages.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001099
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01001100comment "(e)glibc only available with shared lib support"
1101 depends on BR2_PREFER_STATIC_LIB
1102
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001103config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL
1104 bool "musl"
1105 select BR2_TOOLCHAIN_EXTERNAL_MUSL
1106 help
1107 Select this option if your external toolchain uses the
1108 'musl' C library, available from http://www.musl-libc.org/.
1109
Thomas Petazzoni643aa232009-05-29 18:37:41 +02001110endchoice
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +00001111
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001112if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
Thomas Petazzonifff71172010-12-13 17:27:37 +01001113
1114config BR2_TOOLCHAIN_EXTERNAL_LARGEFILE
1115 bool "Toolchain has large file support?"
1116 select BR2_LARGEFILE
1117 help
1118 Select this option if your external toolchain supports
1119 largefile. If you don't know, leave the default value,
1120 Buildroot will tell you if it's correct or not.
1121
1122config BR2_TOOLCHAIN_EXTERNAL_INET_IPV6
1123 bool "Toolchain has IPv6 support?"
1124 select BR2_INET_IPV6
1125 help
1126 Select this option if your external toolchain supports
1127 IPv6. If you don't know, leave the default value, Buildroot
1128 will tell you if it's correct or not.
1129
Thomas Petazzonifff71172010-12-13 17:27:37 +01001130config BR2_TOOLCHAIN_EXTERNAL_WCHAR
1131 bool "Toolchain has WCHAR support?"
1132 select BR2_USE_WCHAR
1133 help
1134 Select this option if your external toolchain supports
1135 WCHAR. If you don't know, leave the default value, Buildroot
1136 will tell you if it's correct or not.
1137
1138config BR2_TOOLCHAIN_EXTERNAL_LOCALE
1139 bool "Toolchain has locale support?"
1140 select BR2_TOOLCHAIN_EXTERNAL_WCHAR
1141 select BR2_ENABLE_LOCALE
1142 help
1143 Select this option if your external toolchain has locale
1144 support. If you don't know, leave the default value,
1145 Buildroot will tell you if it's correct or not.
1146
Thomas Petazzoni9eaad202010-12-13 17:27:44 +01001147config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1148 bool "Toolchain has threads support?"
1149 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard04d06892011-07-26 15:28:19 +02001150 default y
Thomas Petazzoni9eaad202010-12-13 17:27:44 +01001151 help
1152 Select this option if your external toolchain has thread
1153 support. If you don't know, leave the default value,
1154 Buildroot will tell you if it's correct or not.
1155
Thomas Petazzonic64f9482014-02-18 22:08:59 +01001156if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1157
Peter Korsgaard5931db02011-11-24 14:26:52 +01001158config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
1159 bool "Toolchain has threads debugging support?"
Peter Korsgaard5931db02011-11-24 14:26:52 +01001160 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
1161 default y
1162 help
1163 Select this option if your external toolchain has thread
1164 debugging support. If you don't know, leave the default
1165 value, Buildroot will tell you if it's correct or not.
1166
Thomas Petazzonic64f9482014-02-18 22:08:59 +01001167config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL
1168 bool "Toolchain has NPTL threads support?"
1169 select BR2_TOOLCHAIN_HAS_THREADS_NPTL
1170 default y
1171 help
1172 Select this option if your external toolchain uses the NPTL
1173 (Native Posix Thread Library) implementation of Posix
1174 threads. If you don't know, leave the default value,
1175 Buildroot will tell you if it's correct or not.
1176
1177endif # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1178
Thomas Petazzonic5866be2013-09-02 18:06:36 +02001179config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
1180 bool "Toolchain has SSP support?"
1181 select BR2_TOOLCHAIN_HAS_SSP
1182 help
1183 Selection this option if your external toolchain has Stack
1184 Smashing Protection support enabled. If you don't know,
1185 leave the default value, Buildroot will tell you if it's
1186 correct or not.
1187
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001188endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1189
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +01001190config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
1191 bool "Toolchain has RPC support?"
1192 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001193 depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL
Thomas Petazzoni3a843a32012-11-04 07:34:29 +00001194 default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +01001195 help
1196 Select this option if your external toolchain supports
1197 RPC. If you don't know, leave the default value, Buildroot
1198 will tell you if it's correct or not.
1199
Thomas Petazzoni6b578c82010-12-13 17:27:41 +01001200config BR2_TOOLCHAIN_EXTERNAL_CXX
1201 bool "Toolchain has C++ support?"
1202 select BR2_INSTALL_LIBSTDCPP
1203 help
1204 Select this option if your external toolchain has C++
1205 support. If you don't know, leave the default value,
1206 Buildroot will tell you if it's correct or not.
1207
Thomas De Schampheleirec72f54b2011-10-02 21:20:10 +02001208config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
1209 string "Extra toolchain libraries to be copied to target"
1210 help
1211 If your external toolchain provides extra libraries that
1212 need to be copied to the target filesystem, enter them
1213 here, separated by spaces. They will be copied to the
1214 target's /lib directory.
1215
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001216endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzonifff71172010-12-13 17:27:37 +01001217
Thomas Petazzonia0b6faa2013-04-07 00:04:33 +00001218config BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
1219 bool "Copy gdb server to the Target"
1220 depends on BR2_TOOLCHAIN_EXTERNAL
1221 help
1222 Copy the gdbserver provided by the external toolchain to the
1223 target.
1224
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001225# When the FDPIC shared binary format is used, the corresponding libraries are
1226# always installed. When a different binary format is used, we offer the option
1227# of installing the FDPIC shared libraries.
1228config BR2_BFIN_INSTALL_FDPIC_SHARED
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +01001229 bool "Install FDPIC shared libraries"
1230 depends on BR2_bfin && !BR2_BINFMT_FDPIC
1231 help
1232 The Linux kernel supports running both FDPIC and FLAT applications
1233 concurrently if the binary format specific libraries are installed
1234 properly. This option allows developer to install FDPIC libraries
1235 into a buildroot rootfs image built with binary format that is not
1236 FDPIC.
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001237
1238# When the FLAT shared binary format is used, we force the installation
1239# of the corresponding libraries. When a different binary format is
1240# used, we offer the option of installing the FLAT shared libraries.
1241config BR2_BFIN_INSTALL_FLAT_SHARED
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +01001242 bool "Install FLAT shared libraries" if !BR2_BINFMT_FLAT_SHARED
1243 depends on BR2_bfin
1244 default y if BR2_BINFMT_FLAT_SHARED
1245 help
1246 The Linux kernel supports running both FDPIC and FLAT applications
1247 concurrently if the binary format specific libraries are installed
1248 properly. This option allows developer to install FLAT libraries
1249 into a buildroot rootfs image built with binary format that is not
1250 shared FLAT.
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001251
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001252endif # BR2_TOOLCHAIN_EXTERNAL