blob: e210011fde311ea8f9b017b9244a1a1fa2526ab0 [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 Petazzonia167f0f2014-06-01 12:47:42 +020010 bool "Linaro ARM 2014.05"
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 Petazzonia167f0f2014-06-01 12:47:42 +020023 GCC 2014.05 (based on gcc 4.9), Linaro GDB 2014.05 (based on
24 GDB 7.6), eglibc 2.19, Binutils 2014.05 (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 Petazzoniba1563f2014-06-01 12:47:43 +020036 bool "Linaro armeb 2014.04"
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 Petazzoniba1563f2014-06-01 12:47:43 +020049 uses Linaro GCC 2014.04 (based on gcc 4.8), Linaro GDB
50 2014.04 (based on GDB 7.6), eglibc 2.19, Binutils 2014.04
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 Petazzonic5252312013-12-27 12:32:17 +010061config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
62 bool "Sourcery CodeBench ARM 2013.11"
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
Thomas Petazzonibe4f30a2014-04-13 21:58:57 +020067 select BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # based-on gcc-4.8.1
Samuel Martina1a86eb2014-03-08 15:38:31 +010068 select BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # based-on gcc-4.8.1
Thomas Petazzonic5252312013-12-27 12:32:17 +010069 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
70 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
71 select BR2_INSTALL_LIBSTDCPP
72 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +010073 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
Thomas Petazzonic5252312013-12-27 12:32:17 +010074 help
75 Sourcery CodeBench toolchain for the ARM architecture, from
76 Mentor Graphics. It uses gcc 4.8.1, binutils 2.23.52, glibc
77 2.18 and gdb 7.6.50, kernel headers 3.11. It has support
78 for the following variants:
79 - ARMv5TE, little endian, soft-float, glibc
80 Select ARM926T, ARM10T, XScale or another ARMv5 core
81 Select BR2_SOFT_FLOAT
82 - ARMv4T, little endian, soft-float, glibc
83 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
84 Select BR2_SOFT_FLOAT
85 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
86 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
87 Select BR2_SOFT_FLOAT
88 Set BR2_TARGET_OPTIMIZATION to -mthumb
89
Fabio Porcedda786700e2013-05-26 12:08:19 +000090config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
91 bool "Sourcery CodeBench ARM 2013.05"
92 depends on BR2_arm
93 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoniea6b2772013-07-16 10:03:20 +020094 depends on BR2_ARM_EABI
Thomas Petazzonied3f3e42013-11-11 18:57:32 +010095 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni85082ca2014-05-12 23:10:35 +020096 select BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # based-on gcc-4.7.3
Fabio Porcedda786700e2013-05-26 12:08:19 +000097 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
98 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
99 select BR2_INSTALL_LIBSTDCPP
100 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100101 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
Fabio Porcedda786700e2013-05-26 12:08:19 +0000102 help
103 Sourcery CodeBench toolchain for the ARM architecture, from
104 Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52, glibc
105 2.17 and gdb 7.4.50, kernel headers 3.8.2. It has support
106 for the following variants:
107 - ARMv5TE, little endian, soft-float, glibc
108 Select ARM926T, ARM10T, XScale or another ARMv5 core
109 Select BR2_SOFT_FLOAT
110 - ARMv4T, little endian, soft-float, glibc
111 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
112 Select BR2_SOFT_FLOAT
113 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
114 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
115 Select BR2_SOFT_FLOAT
116 Set BR2_TARGET_OPTIMIZATION to -mthumb
117
Fabio Porcedda7bcb4942012-09-10 00:02:57 +0000118config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
119 bool "Sourcery CodeBench ARM 2012.03"
120 depends on BR2_arm
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000121 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200122 depends on BR2_ARM_EABI
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100123 depends on !BR2_PREFER_STATIC_LIB
Fabio Porcedda7bcb4942012-09-10 00:02:57 +0000124 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni78f136a2012-11-04 07:34:09 +0000125 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Fabio Porcedda7bcb4942012-09-10 00:02:57 +0000126 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000127 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100128 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Fabio Porcedda7bcb4942012-09-10 00:02:57 +0000129 help
130 Sourcery CodeBench toolchain for the ARM architecture, from
131 Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53, glibc
132 2.15 and gdb 7.2.50, kernel headers 3.2.10. 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 Garciad1de1c02013-08-29 19:10:41 -0300404config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
405 bool "Sourcery CodeBench Nios-II 2013.05"
406 depends on BR2_nios2
407 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100408 depends on !BR2_PREFER_STATIC_LIB
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300409 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
410 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
411 select BR2_INSTALL_LIBSTDCPP
412 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100413 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300414 help
415 Sourcery CodeBench toolchain for the Nios-II architecture,
416 from Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52,
417 glibc 2.17, gdb 7.4.50 and kernel headers 3.7.0.
418
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +0200419config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201203
420 bool "Sourcery CodeBench PowerPC 2012.03"
421 depends on BR2_powerpc
422 depends on BR2_powerpc_SPE
423 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
424 depends on !BR2_PREFER_STATIC_LIB
425 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
426 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
427 select BR2_INSTALL_LIBSTDCPP
428 select BR2_HOSTARCH_NEEDS_IA32_LIBS
429 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
430 help
431 Sourcery CodeBench toolchain for the PowerPC architecture,
432 from Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53,
433 glibc 2.15, gdb 7.2.50 and kernel headers 3.2.10. It has
434 support for the following variants:
435 - e500v2 glibc, SPE, 32 bits
436
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100437config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
438 bool "Sourcery CodeBench PowerPC 2011.03"
439 depends on BR2_powerpc
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000440 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100441 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100442 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100443 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100444 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000445 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100446 # kernel headers: 2.6.38
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100447 help
448 Sourcery CodeBench toolchain for the PowerPC architecture,
449 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20.51,
450 glibc 2.13, gdb 7.2.50 and kernel headers 2.6.38. It has
451 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200452 - 603 glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100453 Select a generic PowerPC core
454 Disable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200455 - 603 soft float glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100456 Select a generic PowerPC core
457 Enable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200458 - e600 altivec glibc, 32 bits
459 Set BR2_TARGET_OPTIMIZATION to -te600
460 - e500v1 glibc, 32 bits
461 Set BR2_TARGET_OPTIMIZATION to -te500v1
462 - e500v2 glibc, 32 bits
463 Set BR2_TARGET_OPTIMIZATION to -te500v2
464 - e500mc glibc, 32 bits
465 Set BR2_TARGET_OPTIMIZATION to -te500mc
466 - 970 glibc hard-float, 64 bits
467 Set BR2_TARGET_OPTIMIZATION to -m64
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100468
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100469config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200470 bool "Sourcery CodeBench PowerPC 2010.09"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100471 depends on BR2_powerpc
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000472 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100473 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100474 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100475 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni6b578c82010-12-13 17:27:41 +0100476 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000477 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100478 # kernel headers: 2.6.35
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100479 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200480 Sourcery CodeBench toolchain for the PowerPC architecture,
Thomas Petazzoni2ec3e6d2012-01-15 20:02:11 +0100481 from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200482 glibc 2.11, gdb 7.2.50 and kernel headers 2.6.35.2. It has
483 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200484 - 603 glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100485 Select a generic PowerPC core
486 Disable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200487 - 603 soft float glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100488 Select a generic PowerPC core
489 Enable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200490 - e600 altivec glibc, 32 bits
491 Set BR2_TARGET_OPTIMIZATION to -te600
492 - e500v1 glibc, 32 bits
493 Set BR2_TARGET_OPTIMIZATION to -te500v1
494 - e500v2 glibc, 32 bits
495 Set BR2_TARGET_OPTIMIZATION to -te500v2
496 - e500mc glibc, 32 bits
497 Set BR2_TARGET_OPTIMIZATION to -te500mc
498 - 970 glibc hard-float, 64 bits
499 Set BR2_TARGET_OPTIMIZATION to -m64
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100500
Thomas Petazzonie067a442012-11-04 07:34:21 +0000501config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
502 bool "Sourcery CodeBench SH 2012.09"
503 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000504 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100505 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzonie067a442012-11-04 07:34:21 +0000506 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
507 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
508 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000509 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100510 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Thomas Petazzonie067a442012-11-04 07:34:21 +0000511 help
512 Sourcery CodeBench toolchain for the SuperH architecture,
513 from Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51,
514 glibc 2.16, uClibc 0.9.30, gdb 7.4.50 and kernel headers
515 3.5.4. It has support for the following variants:
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +0100516 - SH4A, glibc, little endian
517 Default.
518 - SH4A, glibc, big endian
519 Add -mb to BR2_TARGET_OPTIMIZATION
520 - SH4A, uClibc, little endian
521 Not usable in Buildroot yet.
522 - SH4A, uClibc, big endian
523 Not usable in Buildroot yet.
Thomas Petazzonie067a442012-11-04 07:34:21 +0000524
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000525config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
526 bool "Sourcery CodeBench SH 2012.03"
527 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000528 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100529 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000530 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
531 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000532 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100533 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000534 help
535 Sourcery CodeBench toolchain for the SuperH architecture,
536 from Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53,
537 glibc 2.15, uClibc 0.9.30, gdb 7.2.50 and kernel headers
538 3.2.10. It has support for the following variants:
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +0100539 - SH4A, glibc, little endian
540 Default.
541 - SH4A, glibc, big endian
542 Add -mb to BR2_TARGET_OPTIMIZATION
543 - SH4A, uClibc, little endian
544 Not usable in Buildroot yet.
545 - SH4A, uClibc, big endian
546 Not usable in Buildroot yet.
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000547
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200548config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200549 bool "Sourcery CodeBench SH 2011.03"
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200550 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000551 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100552 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200553 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100554 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200555 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000556 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100557 # kernel headers: 2.6.38
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200558 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200559 Sourcery CodeBench toolchain for the SuperH architecture,
560 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
561 glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers
562 2.6.38. It has support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200563 - SH4A, glibc, little endian
564 Default.
565 - SH4A, glibc, big endian
566 Add -mb to BR2_TARGET_OPTIMIZATION
567 - SH4A, uClibc, little endian
568 Not usable in Buildroot yet.
569 - SH4A, uClibc, big endian
570 Not usable in Buildroot yet.
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200571
Thomas Petazzoniae236462011-10-02 21:20:11 +0200572config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200573 bool "Sourcery CodeBench SH 2011.03"
Thomas Petazzoniae236462011-10-02 21:20:11 +0200574 depends on BR2_sh2a
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000575 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoniae236462011-10-02 21:20:11 +0200576 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
577 select BR2_LARGEFILE
Thomas Petazzoni0858e002012-11-03 18:47:49 +0100578 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoniae236462011-10-02 21:20:11 +0200579 select BR2_USE_WCHAR
580 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard5931db02011-11-24 14:26:52 +0100581 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
Thomas Petazzoniae236462011-10-02 21:20:11 +0200582 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000583 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100584 # kernel headers: 2.6.38
Thomas Petazzoniae236462011-10-02 21:20:11 +0200585 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200586 Sourcery CodeBench toolchain for the SuperH architecture,
587 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
588 uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.38. It has
589 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200590 - SH2A, uClibc, big endian
Thomas Petazzoniae236462011-10-02 21:20:11 +0200591
Phil Edworthy95157452011-05-06 15:23:04 +0100592config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200593 bool "Sourcery CodeBench SH 2010.09"
Phil Edworthyd5247aa2011-05-09 14:12:53 +0100594 depends on BR2_sh2a
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000595 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Phil Edworthy95157452011-05-06 15:23:04 +0100596 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
Thomas Petazzonid63a8172011-07-30 00:00:37 +0200597 select BR2_LARGEFILE
Thomas Petazzoni0858e002012-11-03 18:47:49 +0100598 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonid63a8172011-07-30 00:00:37 +0200599 select BR2_USE_WCHAR
600 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard5931db02011-11-24 14:26:52 +0100601 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
Phil Edworthy95157452011-05-06 15:23:04 +0100602 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000603 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100604 # kernel headers: 2.6.35
Phil Edworthy95157452011-05-06 15:23:04 +0100605 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200606 Sourcery CodeBench toolchain for the SuperH architecture,
607 from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
608 uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.35.2. It
609 has support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200610 - SH2A, uClibc, big endian
Phil Edworthy95157452011-05-06 15:23:04 +0100611
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000612config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
613 bool "Sourcery CodeBench x86/x86_64 2012.09"
614 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000615 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100616 depends on !BR2_PREFER_STATIC_LIB
Adrien Bérauda20cb382014-01-15 17:17:10 -0500617 depends on !BR2_x86_jaguar
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000618 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
619 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
620 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000621 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100622 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000623 help
624 Sourcery CodeBench toolchain for the x86/x86_64
625 architectures, from Mentor Graphics. It uses gcc 4.7.2,
626 binutils 2.23.51, glibc 2.16, gdb 7.4.50 and kernel headers
627 3.5.4. It has support for the following variants:
628 - Intel Pentium 4, glibc, 32 bits
629 Default for x86, nothing special to do.
630 - Intel Atom, glibc, 32 bits
631 Select an Atom core
632 - Intel Xeon, glibc, 64 bits
633 Default for x86_64, nothing special to do.
634 - Intel Core 2, glibc, 64 bits
635 Select a Core 2 core
636 Other architecture variants (beyond Pentium-4/Xeon) are
637 supported as well, but glibc is not optimised for it.
638
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000639config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
640 bool "Sourcery CodeBench x86/x86_64 2012.03"
641 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000642 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100643 depends on !BR2_PREFER_STATIC_LIB
Adrien Bérauda20cb382014-01-15 17:17:10 -0500644 depends on !BR2_x86_jaguar
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000645 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
646 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000647 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100648 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000649 help
650 Sourcery CodeBench toolchain for the x86/x86_64
651 architectures, from Mentor Graphics. It uses gcc 4.6.3,
652 binutils 2.21.53, glibc 2.15, gdb 7.2.50 and kernel headers
653 3.2.10. It has support for the following variants:
654 - Intel Pentium 4, glibc, 32 bits
655 Default for x86, nothing special to do.
656 - Intel Atom, glibc, 32 bits
657 Select an Atom core
658 - Intel Xeon, glibc, 64 bits
659 Default for x86_64, nothing special to do.
660 - Intel Core 2, glibc, 64 bits
661 Select a Core 2 core
662 Other architecture variants (beyond Pentium-4/Xeon) are
663 supported as well, but glibc is not optimised for it.
664
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100665config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
666 bool "Sourcery CodeBench x86/x86_64 2011.09"
667 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000668 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100669 depends on !BR2_PREFER_STATIC_LIB
Adrien Bérauda20cb382014-01-15 17:17:10 -0500670 depends on !BR2_x86_jaguar
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100671 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100672 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100673 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000674 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100675 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100676 help
677 Sourcery CodeBench toolchain for the x86/x86_64
678 architectures, from Mentor Graphics. It uses gcc 4.6.1,
679 binutils 2.21.53, glibc 2.13, gdb 7.2.50 and kernel headers
680 3.0.1. It has support for the following variants:
681 - Intel Pentium 4, glibc, 32 bits
Arnout Vandecappelle (Essensium/Mind)a22dc0f2012-03-13 23:30:00 +0100682 Default for x86, nothing special to do.
683 - Intel Atom, glibc, 32 bits
684 Select an Atom core
685 - Intel Xeon, glibc, 64 bits
686 Default for x86_64, nothing special to do.
687 - Intel Core 2, glibc, 64 bits
688 Select a Core 2 core
689 Other architecture variants (beyond Pentium-4/Xeon) are
690 supported as well, but glibc is not optimised for it.
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100691
Thomas Petazzoni1cfeed12014-07-09 23:20:22 +0200692config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1
693 bool "Blackfin.uclinux.org 2014R1"
Thomas Petazzoni5a65b8e2014-06-01 12:47:48 +0200694 depends on BR2_bfin
695 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
696 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
697 select BR2_INSTALL_LIBSTDCPP
698 select BR2_LARGEFILE
699 select BR2_INET_IPV6
700 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
701 select BR2_USE_WCHAR
702 select BR2_TOOLCHAIN_HAS_THREADS
703 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
704 select BR2_HOSTARCH_NEEDS_IA32_LIBS
705 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
706 help
707 Toolchain for the Blackfin architecture, from
708 http://blackfin.uclinux.org.
709
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100710config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1
711 bool "Blackfin.uclinux.org 2013R1"
712 depends on BR2_bfin
713 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
714 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
715 select BR2_INSTALL_LIBSTDCPP
716 select BR2_LARGEFILE
717 select BR2_INET_IPV6
718 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
719 select BR2_USE_WCHAR
720 select BR2_TOOLCHAIN_HAS_THREADS
721 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
722 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100723 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100724 help
725 Toolchain for the Blackfin architecture, from
726 http://blackfin.uclinux.org.
727
Gustavo Zacarias82e39a22013-02-01 03:04:50 +0000728config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
729 bool "Blackfin.uclinux.org 2012R2-RC2"
730 depends on BR2_bfin
731 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
732 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
733 select BR2_INSTALL_LIBSTDCPP
734 select BR2_LARGEFILE
735 select BR2_INET_IPV6
736 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
737 select BR2_USE_WCHAR
738 select BR2_TOOLCHAIN_HAS_THREADS
739 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
740 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100741 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Gustavo Zacarias82e39a22013-02-01 03:04:50 +0000742 help
743 Toolchain for the Blackfin architecture, from
744 http://blackfin.uclinux.org.
745
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000746config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
Jan Viktorincd344462013-07-08 16:08:18 +0200747 bool "Xilinx Little Endian Microblaze GNU Tools 14.3"
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000748 depends on BR2_microblazeel
749 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100750 depends on !BR2_PREFER_STATIC_LIB
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100751 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000752 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
753 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
754 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100755 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000756 help
757 Toolchain for the Microblaze architecture, from
758 http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It
759 uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50.
760
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100761config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
Jan Viktorincd344462013-07-08 16:08:18 +0200762 bool "Xilinx Little Endian Microblaze GNU Tools v2"
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100763 depends on BR2_microblazeel
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000764 depends on BR2_HOSTARCH = "x86_64"
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 Petazzoni1f6e2b42012-08-01 23:47:04 +0200767 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100768 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100769 # kernel headers: 2.6.37
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100770 help
771 Toolchain for the Microblaze architecture, from
772 http://wiki.xilinx.com/mb-gnu-tools
773
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000774config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
775 bool "Xilinx Big Endian Microblaze GNU Tools"
Peter Korsgaardc1a6f682013-04-11 07:50:53 +0200776 depends on BR2_microblazebe
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000777 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100778 depends on !BR2_PREFER_STATIC_LIB
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100779 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000780 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
781 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
782 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100783 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000784 help
785 Toolchain for the Microblaze architecture, from
786 http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It
787 uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50.
788
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100789config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
790 bool "Xilinx Big Endian Microblaze GNU Tools"
791 depends on BR2_microblazebe
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000792 depends on BR2_HOSTARCH = "x86_64"
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 Petazzoni1f6e2b42012-08-01 23:47:04 +0200795 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100796 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100797 # kernel headers: 2.6.37
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100798 help
799 Toolchain for the Microblaze architecture, from
800 http://wiki.xilinx.com/mb-gnu-tools
801
Thomas Petazzonid51025d2014-06-01 12:47:41 +0200802config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
Thomas Petazzoni419a09c2014-06-01 12:47:44 +0200803 bool "Linaro AArch64 14.05"
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100804 depends on BR2_aarch64
805 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
806 depends on !BR2_PREFER_STATIC_LIB
807 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
808 select BR2_INSTALL_LIBSTDCPP
809 select BR2_HOSTARCH_NEEDS_IA32_LIBS
810 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100811 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100812 help
813 Toolchain for the AArch64 architecture, from
814 http://www.linaro.org/engineering/armv8/
815
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200816config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS
Thomas Petazzoni5c852662014-06-01 12:47:45 +0200817 bool "Musl 1.1.1 toolchain"
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200818 depends on (BR2_arm && BR2_ARM_EABI) || (BR2_armeb && BR2_ARM_EABI) || \
Thomas Petazzoni77ef6a32014-05-30 22:24:39 +0200819 (BR2_i386 && !BR2_x86_i386) || BR2_microblazebe || BR2_mips || \
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200820 BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || BR2_x86_64
821 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
822 select BR2_TOOLCHAIN_EXTERNAL_MUSL
823 select BR2_INSTALL_LIBSTDCPP
824 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni5c852662014-06-01 12:47:45 +0200825 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200826 help
827 Toolchain based on the Musl C library, provided by the
Thomas Petazzoni5c852662014-06-01 12:47:45 +0200828 musl-cross project. It uses gcc 4.8.3, binutils 2.24 and
829 musl 1.1.1. It does not have a cross debugger included.
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200830
831 The ARM toolchain is built for ARMv4t, soft-float.
832 The x86 toolchain is built for i486.
833
834 http://musl.codu.org/
835
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100836config BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200837 bool "Custom toolchain"
838 help
839 Use this option to use a custom toolchain pre-installed on
840 your system.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100841
842endchoice
843
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200844choice
845 prompt "Toolchain origin"
Thomas Petazzoni70194072012-07-22 20:57:26 +0200846 # Keep compatibility with old defconfig files that are using
847 # custom toolchains, and which are therefore assuming that
848 # "preinstalled" in the default choice.
849 default BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200850
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100851config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200852 bool "Toolchain to be downloaded and installed"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100853 help
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200854 Select this option if you want Buildroot to download and install the
855 toolchain. If you have selected a custom toolchain, specify the URL
856 in BR2_TOOLCHAIN_EXTERNAL_URL.
857
858config BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
859 bool "Pre-installed toolchain"
860 help
861 Select this option if you want to use a pre-installed toolchain.
862 Specify the path to this toolchain in BR2_TOOLCHAIN_EXTERNAL_PATH.
863
864endchoice
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100865
866config BR2_TOOLCHAIN_EXTERNAL_PATH
867 string "Toolchain path"
868 default "/path/to/toolchain/usr"
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200869 depends on BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100870 help
871 Path to where the external toolchain is installed.
872
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200873config BR2_TOOLCHAIN_EXTERNAL_URL
874 string "Toolchain URL"
875 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM && BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
876 help
877 URL of the custom toolchain tarball to download and install.
878
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100879config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
880 string "Toolchain prefix"
881 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM
882 default "$(ARCH)-linux"
883
884config BR2_TOOLCHAIN_EXTERNAL_PREFIX
885 string
Thomas Petazzonibe2abf22014-06-01 12:47:40 +0200886 default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
Thomas Petazzonicd32da82014-03-05 23:23:40 +0100887 default "armeb-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
Fabio Porcedda7bcb4942012-09-10 00:02:57 +0000888 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
Fabio Porcedda786700e2013-05-26 12:08:19 +0000889 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
Thomas Petazzonic5252312013-12-27 12:32:17 +0100890 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200891 default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200892 default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
Thomas Petazzonid51025d2014-06-01 12:47:41 +0200893 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000894 default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100895 default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000896 default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100897 default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
Markos Chandras4d34fb72013-06-08 11:14:14 +0200898 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201305
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100899 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201311
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200900 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201405
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300901 default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100902 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100903 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +0200904 default "powerpc-mentor-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201203
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200905 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000906 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
Thomas Petazzonie067a442012-11-04 07:34:21 +0000907 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
Phil Edworthy95157452011-05-06 15:23:04 +0100908 default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
Thomas Petazzoniae236462011-10-02 21:20:11 +0200909 default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100910 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000911 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000912 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
Sonic Zhang57133822013-05-03 00:39:34 +0000913 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FLAT
914 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FDPIC
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100915 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FLAT
916 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FDPIC
Thomas Petazzoni1cfeed12014-07-09 23:20:22 +0200917 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 && BR2_BINFMT_FLAT
918 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 && BR2_BINFMT_FDPIC
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200919 default "arm-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_arm
920 default "armeb-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_armeb
921 default "i486-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_i386
Thomas Petazzoni77ef6a32014-05-30 22:24:39 +0200922 default "microblaze-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_microblazebe
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200923 default "mips-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && !BR2_SOFT_FLOAT)
924 default "mips-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && BR2_SOFT_FLOAT)
925 default "mipsel-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && !BR2_SOFT_FLOAT)
926 default "mipsel-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && BR2_SOFT_FLOAT)
927 default "powerpc-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_powerpc
928 default "x86_64-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_x86_64
Thomas De Schampheleirefbc24942013-09-02 22:07:53 +0200929 default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX \
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100930 if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzoni643aa232009-05-29 18:37:41 +0200931
932config BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100933 bool
Thomas Petazzoni381616e2013-06-30 21:29:09 +0200934 select BR2_TOOLCHAIN_USES_GLIBC
Thomas Petazzoni643aa232009-05-29 18:37:41 +0200935
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100936config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
937 bool
Thomas Petazzoni381616e2013-06-30 21:29:09 +0200938 select BR2_TOOLCHAIN_USES_UCLIBC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100939
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +0200940config BR2_TOOLCHAIN_EXTERNAL_MUSL
941 bool
942 select BR2_TOOLCHAIN_USES_MUSL
943
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100944if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
945
946choice
Yann E. MORINc58bcd52014-03-01 15:52:59 +0100947 bool "External toolchain kernel headers series"
948 default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
949 help
950 Set to the kernel headers version that were used to build
951 this external toolchain.
952
953 This is used to hide/show some packages that have strict
954 requirements on the version of kernel headers.
955
956 If unsure what version your toolchain is using, you can look
957 at the value of LINUX_VERSION_CODE in linux/version.h in your
958 toolchain. The Linux version is M.m.p, with:
959 M = ( LINUX_VERSION_CODE >> 16 ) & 0xFF
960 m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF
961 p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF
962
Gustavo Zacarias911516f2014-08-03 23:29:22 -0300963config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_16
964 bool "3.16.x"
965 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
966
Gustavo Zacariasfb29afe2014-06-09 08:30:33 -0300967config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15
968 bool "3.15.x"
969 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
970
Samuel Martin11547ca2014-04-06 18:27:49 +0200971config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14
972 bool "3.14.x"
973 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
974
Yann E. MORINc58bcd52014-03-01 15:52:59 +0100975config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13
976 bool "3.13.x"
977 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
978
979config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12
980 bool "3.12.x"
981 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
982
983config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11
984 bool "3.11.x"
985 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
986
987config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10
988 bool "3.10.x"
989 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
990
991config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9
992 bool "3.9.x"
993 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
994
995config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8
996 bool "3.8.x"
997 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
998
999config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7
1000 bool "3.7.x"
1001 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
1002
1003config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6
1004 bool "3.6.x"
1005 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
1006
1007config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5
1008 bool "3.5.x"
1009 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
1010
1011config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4
1012 bool "3.4.x"
1013 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
1014
1015config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3
1016 bool "3.3.x"
1017 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
1018
1019config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2
1020 bool "3.2.x"
1021 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
1022
1023config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1
1024 bool "3.1.x"
1025 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
1026
1027config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0
1028 bool "3.0.x"
1029 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
1030
1031config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
1032 bool "2.6.x"
1033
1034endchoice
1035
1036choice
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001037 prompt "External toolchain C library"
1038 default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1039
1040config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1041 bool "uClibc"
1042 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
Thomas Petazzonib9882922011-05-30 23:56:57 +02001043 # For the time being, we assume that all custom external
1044 # toolchains have shadow password support.
1045 select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
Thomas Petazzoni692a5852013-10-08 20:17:10 +02001046 help
1047 Select this option if your external toolchain uses the
1048 uClibc C library (available from http://www.uclibc.org/).
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001049
1050config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +00001051 bool "glibc/eglibc"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01001052 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001053 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +00001054 help
Thomas Petazzoni692a5852013-10-08 20:17:10 +02001055 Select this option if your external toolchain uses the GNU C
1056 library (available from https://www.gnu.org/software/libc/)
1057 or its variant the eglibc library (http://www.eglibc.org/).
1058
1059 Note: eglibc is a variant of glibc that (among other things)
1060 can be configured to exclude some of its features. Using a
1061 toolchain with eglibc configured to exclude key features may
1062 cause build failures to some packages.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001063
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01001064comment "(e)glibc only available with shared lib support"
1065 depends on BR2_PREFER_STATIC_LIB
1066
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001067config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL
1068 bool "musl"
1069 select BR2_TOOLCHAIN_EXTERNAL_MUSL
1070 help
1071 Select this option if your external toolchain uses the
1072 'musl' C library, available from http://www.musl-libc.org/.
1073
Thomas Petazzoni643aa232009-05-29 18:37:41 +02001074endchoice
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +00001075
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001076if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
Thomas Petazzonifff71172010-12-13 17:27:37 +01001077
1078config BR2_TOOLCHAIN_EXTERNAL_LARGEFILE
1079 bool "Toolchain has large file support?"
1080 select BR2_LARGEFILE
1081 help
1082 Select this option if your external toolchain supports
1083 largefile. If you don't know, leave the default value,
1084 Buildroot will tell you if it's correct or not.
1085
1086config BR2_TOOLCHAIN_EXTERNAL_INET_IPV6
1087 bool "Toolchain has IPv6 support?"
1088 select BR2_INET_IPV6
1089 help
1090 Select this option if your external toolchain supports
1091 IPv6. If you don't know, leave the default value, Buildroot
1092 will tell you if it's correct or not.
1093
Thomas Petazzonifff71172010-12-13 17:27:37 +01001094config BR2_TOOLCHAIN_EXTERNAL_WCHAR
1095 bool "Toolchain has WCHAR support?"
1096 select BR2_USE_WCHAR
1097 help
1098 Select this option if your external toolchain supports
1099 WCHAR. If you don't know, leave the default value, Buildroot
1100 will tell you if it's correct or not.
1101
1102config BR2_TOOLCHAIN_EXTERNAL_LOCALE
1103 bool "Toolchain has locale support?"
1104 select BR2_TOOLCHAIN_EXTERNAL_WCHAR
1105 select BR2_ENABLE_LOCALE
1106 help
1107 Select this option if your external toolchain has locale
1108 support. If you don't know, leave the default value,
1109 Buildroot will tell you if it's correct or not.
1110
Thomas Petazzoni9eaad202010-12-13 17:27:44 +01001111config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1112 bool "Toolchain has threads support?"
1113 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard04d06892011-07-26 15:28:19 +02001114 default y
Thomas Petazzoni9eaad202010-12-13 17:27:44 +01001115 help
1116 Select this option if your external toolchain has thread
1117 support. If you don't know, leave the default value,
1118 Buildroot will tell you if it's correct or not.
1119
Thomas Petazzonic64f9482014-02-18 22:08:59 +01001120if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1121
Peter Korsgaard5931db02011-11-24 14:26:52 +01001122config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
1123 bool "Toolchain has threads debugging support?"
Peter Korsgaard5931db02011-11-24 14:26:52 +01001124 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
1125 default y
1126 help
1127 Select this option if your external toolchain has thread
1128 debugging support. If you don't know, leave the default
1129 value, Buildroot will tell you if it's correct or not.
1130
Thomas Petazzonic64f9482014-02-18 22:08:59 +01001131config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL
1132 bool "Toolchain has NPTL threads support?"
1133 select BR2_TOOLCHAIN_HAS_THREADS_NPTL
1134 default y
1135 help
1136 Select this option if your external toolchain uses the NPTL
1137 (Native Posix Thread Library) implementation of Posix
1138 threads. If you don't know, leave the default value,
1139 Buildroot will tell you if it's correct or not.
1140
1141endif # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1142
Thomas Petazzonic5866be2013-09-02 18:06:36 +02001143config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
1144 bool "Toolchain has SSP support?"
1145 select BR2_TOOLCHAIN_HAS_SSP
1146 help
1147 Selection this option if your external toolchain has Stack
1148 Smashing Protection support enabled. If you don't know,
1149 leave the default value, Buildroot will tell you if it's
1150 correct or not.
1151
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001152endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1153
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +01001154config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
1155 bool "Toolchain has RPC support?"
1156 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001157 depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL
Thomas Petazzoni3a843a32012-11-04 07:34:29 +00001158 default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +01001159 help
1160 Select this option if your external toolchain supports
1161 RPC. If you don't know, leave the default value, Buildroot
1162 will tell you if it's correct or not.
1163
Thomas Petazzoni6b578c82010-12-13 17:27:41 +01001164config BR2_TOOLCHAIN_EXTERNAL_CXX
1165 bool "Toolchain has C++ support?"
1166 select BR2_INSTALL_LIBSTDCPP
1167 help
1168 Select this option if your external toolchain has C++
1169 support. If you don't know, leave the default value,
1170 Buildroot will tell you if it's correct or not.
1171
Thomas De Schampheleirec72f54b2011-10-02 21:20:10 +02001172config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
1173 string "Extra toolchain libraries to be copied to target"
1174 help
1175 If your external toolchain provides extra libraries that
1176 need to be copied to the target filesystem, enter them
1177 here, separated by spaces. They will be copied to the
1178 target's /lib directory.
1179
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001180endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzonifff71172010-12-13 17:27:37 +01001181
Thomas Petazzonia0b6faa2013-04-07 00:04:33 +00001182config BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
1183 bool "Copy gdb server to the Target"
1184 depends on BR2_TOOLCHAIN_EXTERNAL
1185 help
1186 Copy the gdbserver provided by the external toolchain to the
1187 target.
1188
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001189# When the FDPIC shared binary format is used, the corresponding libraries are
1190# always installed. When a different binary format is used, we offer the option
1191# of installing the FDPIC shared libraries.
1192config BR2_BFIN_INSTALL_FDPIC_SHARED
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +01001193 bool "Install FDPIC shared libraries"
1194 depends on BR2_bfin && !BR2_BINFMT_FDPIC
1195 help
1196 The Linux kernel supports running both FDPIC and FLAT applications
1197 concurrently if the binary format specific libraries are installed
1198 properly. This option allows developer to install FDPIC libraries
1199 into a buildroot rootfs image built with binary format that is not
1200 FDPIC.
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001201
1202# When the FLAT shared binary format is used, we force the installation
1203# of the corresponding libraries. When a different binary format is
1204# used, we offer the option of installing the FLAT shared libraries.
1205config BR2_BFIN_INSTALL_FLAT_SHARED
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +01001206 bool "Install FLAT shared libraries" if !BR2_BINFMT_FLAT_SHARED
1207 depends on BR2_bfin
1208 default y if BR2_BINFMT_FLAT_SHARED
1209 help
1210 The Linux kernel supports running both FDPIC and FLAT applications
1211 concurrently if the binary format specific libraries are installed
1212 properly. This option allows developer to install FLAT libraries
1213 into a buildroot rootfs image built with binary format that is not
1214 shared FLAT.
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001215
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001216endif # BR2_TOOLCHAIN_EXTERNAL