blob: 5f9ebdbb6603905a59e43ba13f8e2f660175f4cf [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 Petazzonie658cdf2012-12-20 13:23:27 +00006config BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_12
7 bool "Linaro 2012.12"
8 depends on BR2_arm
9 depends on BR2_cortex_a5 || BR2_cortex_a8 || BR2_cortex_a9 || BR2_cortex_a15
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +000010 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonie658cdf2012-12-20 13:23:27 +000011 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
12 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
13 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +000014 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzonie658cdf2012-12-20 13:23:27 +000015 help
16 Linaro toolchain for the ARM architecture. It uses Linaro
17 GCC 2012.12 (based on gcc 4.7), Linaro GDB 2012.12 (based on
18 GDB 7.5), eglibc 2.15. It generates code that runs on all
19 Cortex-A profile devices, but tuned for the Cortex-A9. The
20 code generated is Thumb 2, with the hard floating point
21 calling convention, and uses the VFPv3-D16 FPU instructions.
22
23 To use this toolchain, you must disable soft float usage.
24
Thomas Petazzoni008f6352012-11-27 04:07:01 +000025config BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_11
26 bool "Linaro 2012.11"
27 depends on BR2_arm
Thomas Petazzoni16dcf2d2012-12-09 23:35:07 +000028 depends on BR2_cortex_a5 || BR2_cortex_a8 || BR2_cortex_a9 || BR2_cortex_a15
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +000029 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni008f6352012-11-27 04:07:01 +000030 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
31 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
32 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +000033 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni008f6352012-11-27 04:07:01 +000034 help
35 Linaro toolchain for the ARM architecture. It uses Linaro
36 GCC 2012.11 (based on gcc 4.7), Linaro GDB 2012.10 (based on
37 GDB 7.5), eglibc 2.15. It generates code that runs on all
38 Cortex-A profile devices, but tuned for the Cortex-A9. The
39 code generated is Thumb 2, with the hard floating point
40 calling convention, and uses the VFPv3-D16 FPU instructions.
41
42 To use this toolchain, you must disable soft float usage.
43
Thomas Petazzoni94ca09c2012-10-25 22:20:25 +000044config BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_10
45 bool "Linaro 2012.10"
46 depends on BR2_arm
Thomas Petazzoni16dcf2d2012-12-09 23:35:07 +000047 depends on BR2_cortex_a5 || BR2_cortex_a8 || BR2_cortex_a9 || BR2_cortex_a15
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +000048 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni94ca09c2012-10-25 22:20:25 +000049 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +010050 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni94ca09c2012-10-25 22:20:25 +000051 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +000052 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni94ca09c2012-10-25 22:20:25 +000053 help
54 Linaro toolchain for the ARM architecture. It uses Linaro
55 GCC 2012.10 (based on gcc 4.7), Linaro GDB 2012.10 (based on
56 GDB 7.5), eglibc 2.15. It generates code that runs on all
57 Cortex-A profile devices, but tuned for the Cortex-A9. The
58 code generated is Thumb 2, with the hard floating point
59 calling convention, and uses the VFPv3-D16 FPU instructions.
60
61 To use this toolchain, you must disable soft float usage.
62
Thomas Petazzoni16dcf2d2012-12-09 23:35:07 +000063comment "Linaro toolchains available for Cortex-A{5,8,9,15}"
Thomas Petazzoni90f763c2012-11-27 04:07:03 +000064 depends on BR2_arm
Thomas Petazzoni16dcf2d2012-12-09 23:35:07 +000065 depends on !BR2_cortex_a5 && !BR2_cortex_a8 && !BR2_cortex_a9 && !BR2_cortex_a15
Thomas Petazzoni90f763c2012-11-27 04:07:03 +000066
Fabio Porcedda7bcb4942012-09-10 00:02:57 +000067config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
68 bool "Sourcery CodeBench ARM 2012.03"
69 depends on BR2_arm
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +000070 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Fabio Porcedda7bcb4942012-09-10 00:02:57 +000071 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni78f136a2012-11-04 07:34:09 +000072 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Fabio Porcedda7bcb4942012-09-10 00:02:57 +000073 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +000074 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Fabio Porcedda7bcb4942012-09-10 00:02:57 +000075 help
76 Sourcery CodeBench toolchain for the ARM architecture, from
77 Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53, glibc
78 2.15 and gdb 7.2.50, kernel headers 3.2.10. It has support
79 for the following variants:
80 - ARMv5TE, little endian, soft-float, glibc
81 Select ARM926T, ARM10T, XScale or another ARMv5 core
82 Select BR2_SOFT_FLOAT
83 - ARMv4T, little endian, soft-float, glibc
84 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
85 Select BR2_SOFT_FLOAT
86 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
87 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
88 Select BR2_SOFT_FLOAT
89 Set BR2_TARGET_OPTIMIZATION to -mthumb
90
Thomas Petazzoni102c6b52011-12-31 12:18:23 +010091config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201109
92 bool "Sourcery CodeBench ARM 2011.09"
93 depends on BR2_arm
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +000094 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni102c6b52011-12-31 12:18:23 +010095 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +010096 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni102c6b52011-12-31 12:18:23 +010097 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +000098 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni102c6b52011-12-31 12:18:23 +010099 help
100 Sourcery CodeBench toolchain for the ARM architecture, from
101 Mentor Graphics. It uses gcc 4.6.1, binutils 2.21.53, glibc
102 2.13 and gdb 7.2.50, kernel headers 3.0.1. It has support
103 for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200104 - ARMv5TE, little endian, soft-float, glibc
105 Select ARM926T, ARM10T, XScale or another ARMv5 core
106 Select BR2_SOFT_FLOAT
107 - ARMv4T, little endian, soft-float, glibc
108 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
109 Select BR2_SOFT_FLOAT
110 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
111 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
112 Select BR2_SOFT_FLOAT
113 Set BR2_TARGET_OPTIMIZATION to -mthumb
Thomas Petazzoni102c6b52011-12-31 12:18:23 +0100114
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000115config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209
116 bool "Sourcery CodeBench MIPS 2012.09"
117 depends on BR2_mips || BR2_mipsel
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000118 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000119 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
120 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
121 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000122 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000123 help
124 Sourcery CodeBench toolchain for the MIPS architecture, from
125 Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51, glibc
126 2.16, uClibc 0.9.30 and gdb 7.4.50, kernel headers
127 3.5.4. It has support for the following variants:
128 - MIPS32 O32 big endian glibc
129 Select a MIPS generic core
130 Disable BR2_SOFT_FLOAT
131 - MIPS64 big endian glibc
132 Select a MIPS generic core
133 Select the n64 ABI
134 Disable BR2_SOFT_FLOAT
135 - MIPS32 O32 little endian glibc
136 Select a MIPS generic core
137 Disable BR2_SOFT_FLOAT
138 Set BR2_TARGET_OPTIMIZATION to -EL
139 - MIPS64 little endian glibc
140 Select a MIPS generic core
141 Select the n64 ABI
142 Disable BR2_SOFT_FLOAT
143 Set BR2_TARGET_OPTIMIZATION to -EL
144 - MIPS32 big endian soft float glibc
145 Select a MIPS generic core
146 Select BR2_SOFT_FLOAT
147 - MIPS64 big endian soft float glibc
148 Select a MIPS generic core
149 Select the n64 ABI
150 Select BR2_SOFT_FLOAT
151 - MIPS32 little endian soft float glibc
152 Select a MIPS generic core
153 Select BR2_SOFT_FLOAT
154 Set BR2_TARGET_OPTIMIZATION to -EL
155 - MIPS64 little endian soft float glibc
156 Select a MIPS generic core
157 Select the n64 ABI
158 Select BR2_SOFT_FLOAT
159 Set BR2_TARGET_OPTIMIZATION to -EL
160 - MIPS32 big endian microMIPS glibc
161 Select a MIPS generic core
162 Disable BR2_SOFT_FLOAT
163 Set BR2_TARGET_OPTIMIZATION to -mips16
164 - MIPS32 little endian microMIPS glibc
165 Select a MIPS generic core
166 Disable BR2_SOFT_FLOAT
167 Set BR2_TARGET_OPTIMIZATION to -EL -mips16
168 - MIPS32 big endian soft float microMIPS glibc
169 Select a MIPS generic core
170 Select BR2_SOFT_FLOAT
171 Set BR2_TARGET_OPTIMIZATION to -mips16
172 - MIPS32 little endian soft float microMIPS glibc
173 Select a MIPS generic core
174 Select BR2_SOFT_FLOAT
175 Set BR2_TARGET_OPTIMIZATION to -EL -mips16
176 - MIPS32 big endian uclibc
177 Not usable in Buildroot yet.
178 - MIPS32 little endian uclibc
179 Not usable in Buildroot yet.
180 - MIPS32 big endian soft float uclibc
181 Not usable in Buildroot yet.
182 - MIPS32 little endian soft float uclibc
183 Not usable in Buildroot yet.
184
Thomas Petazzoni60e26e32012-12-20 13:23:20 +0000185config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201203
186 bool "Sourcery CodeBench MIPS 2012.03"
187 depends on BR2_mips || BR2_mipsel
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000188 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni60e26e32012-12-20 13:23:20 +0000189 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
190 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
191 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000192 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni60e26e32012-12-20 13:23:20 +0000193 help
194 Sourcery CodeBench toolchain for the MIPS architecture, from
195 Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53, glibc
196 2.15, uClibc 0.9.30 and gdb 7.2.50, kernel headers
197 3.2.10. It has support for the following variants:
198 - MIPS32 O32 big endian glibc
199 Select a MIPS generic core
200 Disable BR2_SOFT_FLOAT
201 - MIPS64 big endian glibc
202 Select a MIPS generic core
203 Select the n64 ABI
204 Disable BR2_SOFT_FLOAT
205 - MIPS32 O32 little endian glibc
206 Select a MIPS generic core
207 Disable BR2_SOFT_FLOAT
208 Set BR2_TARGET_OPTIMIZATION to -EL
209 - MIPS64 little endian glibc
210 Select a MIPS generic core
211 Select the n64 ABI
212 Disable BR2_SOFT_FLOAT
213 Set BR2_TARGET_OPTIMIZATION to -EL
214 - MIPS32 big endian soft float glibc
215 Select a MIPS generic core
216 Select BR2_SOFT_FLOAT
217 - MIPS64 big endian soft float glibc
218 Select a MIPS generic core
219 Select the n64 ABI
220 Select BR2_SOFT_FLOAT
221 - MIPS32 little endian soft float glibc
222 Select a MIPS generic core
223 Select BR2_SOFT_FLOAT
224 Set BR2_TARGET_OPTIMIZATION to -EL
225 - MIPS64 little endian soft float glibc
226 Select a MIPS generic core
227 Select the n64 ABI
228 Select BR2_SOFT_FLOAT
229 Set BR2_TARGET_OPTIMIZATION to -EL
230 - MIPS32 big endian microMIPS glibc
231 Select a MIPS generic core
232 Disable BR2_SOFT_FLOAT
233 Set BR2_TARGET_OPTIMIZATION to -mips16
234 - MIPS32 little endian microMIPS glibc
235 Select a MIPS generic core
236 Disable BR2_SOFT_FLOAT
237 Set BR2_TARGET_OPTIMIZATION to -EL -mips16
238 - MIPS32 big endian soft float microMIPS glibc
239 Select a MIPS generic core
240 Select BR2_SOFT_FLOAT
241 Set BR2_TARGET_OPTIMIZATION to -mips16
242 - MIPS32 little endian soft float microMIPS glibc
243 Select a MIPS generic core
244 Select BR2_SOFT_FLOAT
245 Set BR2_TARGET_OPTIMIZATION to -EL -mips16
246 - MIPS32 big endian uclibc
247 Not usable in Buildroot yet.
248 - MIPS32 little endian uclibc
249 Not usable in Buildroot yet.
250 - MIPS32 big endian soft float uclibc
251 Not usable in Buildroot yet.
252 - MIPS32 little endian soft float uclibc
253 Not usable in Buildroot yet.
254
Thomas Petazzonie89b2622011-05-13 11:38:43 +0200255config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201103
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200256 bool "Sourcery CodeBench ARM 2011.03"
Thomas Petazzonie89b2622011-05-13 11:38:43 +0200257 depends on BR2_arm
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000258 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonie89b2622011-05-13 11:38:43 +0200259 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100260 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonie89b2622011-05-13 11:38:43 +0200261 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000262 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzonie89b2622011-05-13 11:38:43 +0200263 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200264 Sourcery CodeBench toolchain for the ARM architecture, from
265 Mentor Graphics. It uses gcc 4.5.2, binutils 2.20.51, glibc
266 2.13 and gdb 7.2.50, kernel headers 2.6.38. It has support
267 for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200268 - ARMv5TE, little endian, soft-float, glibc
269 Select ARM926T, ARM10T, XScale or another ARMv5 core
270 Select BR2_SOFT_FLOAT
271 - ARMv4T, little endian, soft-float, glibc
272 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
273 Select BR2_SOFT_FLOAT
274 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
275 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
276 Select BR2_SOFT_FLOAT
277 Set BR2_TARGET_OPTIMIZATION to -mthumb
Thomas Petazzonie89b2622011-05-13 11:38:43 +0200278
Thomas Petazzoni5cc49242012-06-03 16:04:40 +0200279config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201109
280 bool "Sourcery CodeBench MIPS 2011.09"
281 depends on BR2_mips || BR2_mipsel
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000282 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni5cc49242012-06-03 16:04:40 +0200283 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100284 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni5cc49242012-06-03 16:04:40 +0200285 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000286 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni5cc49242012-06-03 16:04:40 +0200287 help
288 Sourcery CodeBench toolchain for the MIPS architecture, from
289 Mentor Graphics. It uses gcc 4.5.2, binutils 2.21.53, glibc
290 2.13, uClibc 0.9.30 and gdb 7.2.50, kernel headers
291 3.0.1. It has support for the following variants:
292 - MIPS32 O32 big endian glibc
293 Select a MIPS generic core
294 Disable BR2_SOFT_FLOAT
295 - MIPS64 big endian glibc
296 Select a MIPS generic core
297 Select the n64 ABI
298 Disable BR2_SOFT_FLOAT
299 - MIPS32 O32 little endian glibc
300 Select a MIPS generic core
301 Disable BR2_SOFT_FLOAT
302 Set BR2_TARGET_OPTIMIZATION to -EL
303 - MIPS64 little endian glibc
304 Select a MIPS generic core
305 Select the n64 ABI
306 Disable BR2_SOFT_FLOAT
307 Set BR2_TARGET_OPTIMIZATION to -EL
308 - MIPS32 big endian soft float glibc
309 Select a MIPS generic core
310 Select BR2_SOFT_FLOAT
311 - MIPS64 big endian soft float glibc
312 Select a MIPS generic core
313 Select the n64 ABI
314 Select BR2_SOFT_FLOAT
315 - MIPS32 little endian soft float glibc
316 Select a MIPS generic core
317 Select BR2_SOFT_FLOAT
318 Set BR2_TARGET_OPTIMIZATION to -EL
319 - MIPS64 little endian soft float glibc
320 Select a MIPS generic core
321 Select the n64 ABI
322 Select BR2_SOFT_FLOAT
323 Set BR2_TARGET_OPTIMIZATION to -EL
324 - MIPS32 big endian microMIPS glibc
325 Select a MIPS generic core
326 Disable BR2_SOFT_FLOAT
327 Set BR2_TARGET_OPTIMIZATION to -mips16
328 - MIPS32 little endian microMIPS glibc
329 Select a MIPS generic core
330 Disable BR2_SOFT_FLOAT
331 Set BR2_TARGET_OPTIMIZATION to -EL -mips16
332 - MIPS32 big endian soft float microMIPS glibc
333 Select a MIPS generic core
334 Select BR2_SOFT_FLOAT
335 Set BR2_TARGET_OPTIMIZATION to -mips16
336 - MIPS32 little endian soft float microMIPS glibc
337 Select a MIPS generic core
338 Select BR2_SOFT_FLOAT
339 Set BR2_TARGET_OPTIMIZATION to -EL -mips16
340 - MIPS32 big endian uclibc
341 Not usable in Buildroot yet.
342 - MIPS32 little endian uclibc
343 Not usable in Buildroot yet.
344 - MIPS32 big endian soft float uclibc
345 Not usable in Buildroot yet.
346 - MIPS32 little endian soft float uclibc
347 Not usable in Buildroot yet.
348
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100349config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
350 bool "Sourcery CodeBench PowerPC 2011.03"
351 depends on BR2_powerpc
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000352 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100353 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100354 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100355 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000356 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100357 help
358 Sourcery CodeBench toolchain for the PowerPC architecture,
359 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20.51,
360 glibc 2.13, gdb 7.2.50 and kernel headers 2.6.38. It has
361 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200362 - 603 glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100363 Select a generic PowerPC core
364 Disable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200365 - 603 soft float glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100366 Select a generic PowerPC core
367 Enable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200368 - e600 altivec glibc, 32 bits
369 Set BR2_TARGET_OPTIMIZATION to -te600
370 - e500v1 glibc, 32 bits
371 Set BR2_TARGET_OPTIMIZATION to -te500v1
372 - e500v2 glibc, 32 bits
373 Set BR2_TARGET_OPTIMIZATION to -te500v2
374 - e500mc glibc, 32 bits
375 Set BR2_TARGET_OPTIMIZATION to -te500mc
376 - 970 glibc hard-float, 64 bits
377 Set BR2_TARGET_OPTIMIZATION to -m64
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100378
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100379config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200380 bool "Sourcery CodeBench PowerPC 2010.09"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100381 depends on BR2_powerpc
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000382 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100383 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100384 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni6b578c82010-12-13 17:27:41 +0100385 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000386 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100387 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200388 Sourcery CodeBench toolchain for the PowerPC architecture,
Thomas Petazzoni2ec3e6d2012-01-15 20:02:11 +0100389 from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200390 glibc 2.11, gdb 7.2.50 and kernel headers 2.6.35.2. It has
391 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200392 - 603 glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100393 Select a generic PowerPC core
394 Disable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200395 - 603 soft float glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100396 Select a generic PowerPC core
397 Enable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200398 - e600 altivec glibc, 32 bits
399 Set BR2_TARGET_OPTIMIZATION to -te600
400 - e500v1 glibc, 32 bits
401 Set BR2_TARGET_OPTIMIZATION to -te500v1
402 - e500v2 glibc, 32 bits
403 Set BR2_TARGET_OPTIMIZATION to -te500v2
404 - e500mc glibc, 32 bits
405 Set BR2_TARGET_OPTIMIZATION to -te500mc
406 - 970 glibc hard-float, 64 bits
407 Set BR2_TARGET_OPTIMIZATION to -m64
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100408
Thomas Petazzonie067a442012-11-04 07:34:21 +0000409config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
410 bool "Sourcery CodeBench SH 2012.09"
411 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000412 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonie067a442012-11-04 07:34:21 +0000413 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
414 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
415 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000416 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzonie067a442012-11-04 07:34:21 +0000417 help
418 Sourcery CodeBench toolchain for the SuperH architecture,
419 from Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51,
420 glibc 2.16, uClibc 0.9.30, gdb 7.4.50 and kernel headers
421 3.5.4. It has support for the following variants:
422 - SH4A, glibc, little endian
423 Default.
424 - SH4A, glibc, big endian
425 Add -mb to BR2_TARGET_OPTIMIZATION
426 - SH4A, uClibc, little endian
427 Not usable in Buildroot yet.
428 - SH4A, uClibc, big endian
429 Not usable in Buildroot yet.
430
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000431config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
432 bool "Sourcery CodeBench SH 2012.03"
433 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000434 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000435 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
436 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000437 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000438 help
439 Sourcery CodeBench toolchain for the SuperH architecture,
440 from Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53,
441 glibc 2.15, uClibc 0.9.30, gdb 7.2.50 and kernel headers
442 3.2.10. It has support for the following variants:
443 - SH4A, glibc, little endian
444 Default.
445 - SH4A, glibc, big endian
446 Add -mb to BR2_TARGET_OPTIMIZATION
447 - SH4A, uClibc, little endian
448 Not usable in Buildroot yet.
449 - SH4A, uClibc, big endian
450 Not usable in Buildroot yet.
451
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200452config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200453 bool "Sourcery CodeBench SH 2011.03"
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200454 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000455 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200456 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100457 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200458 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000459 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200460 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200461 Sourcery CodeBench toolchain for the SuperH architecture,
462 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
463 glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers
464 2.6.38. It has support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200465 - SH4A, glibc, little endian
466 Default.
467 - SH4A, glibc, big endian
468 Add -mb to BR2_TARGET_OPTIMIZATION
469 - SH4A, uClibc, little endian
470 Not usable in Buildroot yet.
471 - SH4A, uClibc, big endian
472 Not usable in Buildroot yet.
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200473
Thomas Petazzoniae236462011-10-02 21:20:11 +0200474config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200475 bool "Sourcery CodeBench SH 2011.03"
Thomas Petazzoniae236462011-10-02 21:20:11 +0200476 depends on BR2_sh2a
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000477 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoniae236462011-10-02 21:20:11 +0200478 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
479 select BR2_LARGEFILE
Thomas Petazzoni0858e002012-11-03 18:47:49 +0100480 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoniae236462011-10-02 21:20:11 +0200481 select BR2_USE_WCHAR
482 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard5931db02011-11-24 14:26:52 +0100483 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
Thomas Petazzoniae236462011-10-02 21:20:11 +0200484 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000485 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoniae236462011-10-02 21:20:11 +0200486 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200487 Sourcery CodeBench toolchain for the SuperH architecture,
488 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
489 uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.38. It has
490 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200491 - SH2A, uClibc, big endian
Thomas Petazzoniae236462011-10-02 21:20:11 +0200492
Phil Edworthy95157452011-05-06 15:23:04 +0100493config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200494 bool "Sourcery CodeBench SH 2010.09"
Phil Edworthyd5247aa2011-05-09 14:12:53 +0100495 depends on BR2_sh2a
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000496 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Phil Edworthy95157452011-05-06 15:23:04 +0100497 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
Thomas Petazzonid63a8172011-07-30 00:00:37 +0200498 select BR2_LARGEFILE
Thomas Petazzoni0858e002012-11-03 18:47:49 +0100499 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonid63a8172011-07-30 00:00:37 +0200500 select BR2_USE_WCHAR
501 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard5931db02011-11-24 14:26:52 +0100502 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
Phil Edworthy95157452011-05-06 15:23:04 +0100503 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000504 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Phil Edworthy95157452011-05-06 15:23:04 +0100505 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200506 Sourcery CodeBench toolchain for the SuperH architecture,
507 from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
508 uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.35.2. It
509 has support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200510 - SH2A, uClibc, big endian
Phil Edworthy95157452011-05-06 15:23:04 +0100511
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000512config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
513 bool "Sourcery CodeBench x86/x86_64 2012.09"
514 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000515 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000516 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
517 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
518 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000519 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000520 help
521 Sourcery CodeBench toolchain for the x86/x86_64
522 architectures, from Mentor Graphics. It uses gcc 4.7.2,
523 binutils 2.23.51, glibc 2.16, gdb 7.4.50 and kernel headers
524 3.5.4. It has support for the following variants:
525 - Intel Pentium 4, glibc, 32 bits
526 Default for x86, nothing special to do.
527 - Intel Atom, glibc, 32 bits
528 Select an Atom core
529 - Intel Xeon, glibc, 64 bits
530 Default for x86_64, nothing special to do.
531 - Intel Core 2, glibc, 64 bits
532 Select a Core 2 core
533 Other architecture variants (beyond Pentium-4/Xeon) are
534 supported as well, but glibc is not optimised for it.
535
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000536config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
537 bool "Sourcery CodeBench x86/x86_64 2012.03"
538 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000539 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000540 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
541 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000542 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000543 help
544 Sourcery CodeBench toolchain for the x86/x86_64
545 architectures, from Mentor Graphics. It uses gcc 4.6.3,
546 binutils 2.21.53, glibc 2.15, gdb 7.2.50 and kernel headers
547 3.2.10. It has support for the following variants:
548 - Intel Pentium 4, glibc, 32 bits
549 Default for x86, nothing special to do.
550 - Intel Atom, glibc, 32 bits
551 Select an Atom core
552 - Intel Xeon, glibc, 64 bits
553 Default for x86_64, nothing special to do.
554 - Intel Core 2, glibc, 64 bits
555 Select a Core 2 core
556 Other architecture variants (beyond Pentium-4/Xeon) are
557 supported as well, but glibc is not optimised for it.
558
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100559config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
560 bool "Sourcery CodeBench x86/x86_64 2011.09"
561 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000562 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100563 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100564 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100565 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000566 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100567 help
568 Sourcery CodeBench toolchain for the x86/x86_64
569 architectures, from Mentor Graphics. It uses gcc 4.6.1,
570 binutils 2.21.53, glibc 2.13, gdb 7.2.50 and kernel headers
571 3.0.1. It has support for the following variants:
572 - Intel Pentium 4, glibc, 32 bits
Arnout Vandecappelle (Essensium/Mind)a22dc0f2012-03-13 23:30:00 +0100573 Default for x86, nothing special to do.
574 - Intel Atom, glibc, 32 bits
575 Select an Atom core
576 - Intel Xeon, glibc, 64 bits
577 Default for x86_64, nothing special to do.
578 - Intel Core 2, glibc, 64 bits
579 Select a Core 2 core
580 Other architecture variants (beyond Pentium-4/Xeon) are
581 supported as well, but glibc is not optimised for it.
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100582
Gustavo Zacarias82e39a22013-02-01 03:04:50 +0000583config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
584 bool "Blackfin.uclinux.org 2012R2-RC2"
585 depends on BR2_bfin
586 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
587 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
588 select BR2_INSTALL_LIBSTDCPP
589 select BR2_LARGEFILE
590 select BR2_INET_IPV6
591 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
592 select BR2_USE_WCHAR
593 select BR2_TOOLCHAIN_HAS_THREADS
594 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
595 select BR2_HOSTARCH_NEEDS_IA32_LIBS
596 help
597 Toolchain for the Blackfin architecture, from
598 http://blackfin.uclinux.org.
599
600config BR2_TOOLCHAIN_EXTERNAL_BLACKFI_UCLINUX_2012R1
601 bool "Blackfin.uclinux.org 2012R1-RC2"
Thomas Petazzoniadf586e2012-06-03 16:04:39 +0200602 depends on BR2_bfin
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000603 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoniadf586e2012-06-03 16:04:39 +0200604 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
605 select BR2_INSTALL_LIBSTDCPP
606 select BR2_LARGEFILE
607 select BR2_INET_IPV6
Thomas Petazzoni0858e002012-11-03 18:47:49 +0100608 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoniadf586e2012-06-03 16:04:39 +0200609 select BR2_USE_WCHAR
610 select BR2_TOOLCHAIN_HAS_THREADS
611 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000612 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoniadf586e2012-06-03 16:04:39 +0200613 help
614 Toolchain for the Blackfin architecture, from
615 http://blackfin.uclinux.org.
616
Thomas Petazzoni91d43362011-12-31 12:39:12 +0100617config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2011R1
618 bool "Blackfin.uclinux.org 2011R1-RC4"
619 depends on BR2_bfin
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000620 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni91d43362011-12-31 12:39:12 +0100621 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
622 select BR2_INSTALL_LIBSTDCPP
623 select BR2_LARGEFILE
624 select BR2_INET_IPV6
Thomas Petazzoni0858e002012-11-03 18:47:49 +0100625 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni91d43362011-12-31 12:39:12 +0100626 select BR2_USE_WCHAR
627 select BR2_TOOLCHAIN_HAS_THREADS
628 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000629 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni91d43362011-12-31 12:39:12 +0100630 help
631 Toolchain for the Blackfin architecture, from
632 http://blackfin.uclinux.org.
633
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100634config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
635 bool "Xilinx Little Endian Microblaze GNU Tools"
636 depends on BR2_microblazeel
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000637 depends on BR2_HOSTARCH = "x86_64"
Thomas Petazzoni1f6e2b42012-08-01 23:47:04 +0200638 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100639 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100640 help
641 Toolchain for the Microblaze architecture, from
642 http://wiki.xilinx.com/mb-gnu-tools
643
644config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
645 bool "Xilinx Big Endian Microblaze GNU Tools"
646 depends on BR2_microblazebe
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000647 depends on BR2_HOSTARCH = "x86_64"
Thomas Petazzoni1f6e2b42012-08-01 23:47:04 +0200648 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100649 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100650 help
651 Toolchain for the Microblaze architecture, from
652 http://wiki.xilinx.com/mb-gnu-tools
653
Thomas Petazzoni8fa0a062012-12-20 13:23:26 +0000654config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_12_12
655 bool "Linaro AArch64 12.12"
656 depends on BR2_aarch64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000657 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni8fa0a062012-12-20 13:23:26 +0000658 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
659 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000660 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni8fa0a062012-12-20 13:23:26 +0000661 help
662 Toolchain for the AArch64 architecture, from
663 http://www.linaro.org/engineering/armv8/
664
Thomas Petazzoni6a0adce2012-12-20 13:23:25 +0000665config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_12_11
666 bool "Linaro AArch64 12.11"
667 depends on BR2_aarch64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000668 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni6a0adce2012-12-20 13:23:25 +0000669 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
670 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000671 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni6a0adce2012-12-20 13:23:25 +0000672 help
673 Toolchain for the AArch64 architecture, from
674 http://www.linaro.org/engineering/armv8/
675
Thomas Petazzoni7c7512d2012-10-28 17:40:32 +0100676config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_12_10
677 bool "Linaro AArch64 12.10"
678 depends on BR2_aarch64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000679 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni7c7512d2012-10-28 17:40:32 +0100680 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
681 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000682 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni7c7512d2012-10-28 17:40:32 +0100683 help
684 Toolchain for the AArch64 architecture, from
685 http://www.linaro.org/engineering/armv8/
686
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100687config BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200688 bool "Custom toolchain"
689 help
690 Use this option to use a custom toolchain pre-installed on
691 your system.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100692
693endchoice
694
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200695choice
696 prompt "Toolchain origin"
Thomas Petazzoni70194072012-07-22 20:57:26 +0200697 # Keep compatibility with old defconfig files that are using
698 # custom toolchains, and which are therefore assuming that
699 # "preinstalled" in the default choice.
700 default BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200701
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100702config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200703 bool "Toolchain to be downloaded and installed"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100704 help
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200705 Select this option if you want Buildroot to download and install the
706 toolchain. If you have selected a custom toolchain, specify the URL
707 in BR2_TOOLCHAIN_EXTERNAL_URL.
708
709config BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
710 bool "Pre-installed toolchain"
711 help
712 Select this option if you want to use a pre-installed toolchain.
713 Specify the path to this toolchain in BR2_TOOLCHAIN_EXTERNAL_PATH.
714
715endchoice
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100716
717config BR2_TOOLCHAIN_EXTERNAL_PATH
718 string "Toolchain path"
719 default "/path/to/toolchain/usr"
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200720 depends on BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100721 help
722 Path to where the external toolchain is installed.
723
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200724config BR2_TOOLCHAIN_EXTERNAL_URL
725 string "Toolchain URL"
726 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM && BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
727 help
728 URL of the custom toolchain tarball to download and install.
729
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100730config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
731 string "Toolchain prefix"
732 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM
733 default "$(ARCH)-linux"
734
735config BR2_TOOLCHAIN_EXTERNAL_PREFIX
736 string
Thomas Petazzoni94ca09c2012-10-25 22:20:25 +0000737 default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_10
Thomas Petazzoni008f6352012-11-27 04:07:01 +0000738 default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_11
Thomas Petazzonie658cdf2012-12-20 13:23:27 +0000739 default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_12
Thomas Petazzonie89b2622011-05-13 11:38:43 +0200740 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201103
Thomas Petazzoni102c6b52011-12-31 12:18:23 +0100741 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201109
Fabio Porcedda7bcb4942012-09-10 00:02:57 +0000742 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
Thomas Petazzoni7c7512d2012-10-28 17:40:32 +0100743 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_12_10
Thomas Petazzoni6a0adce2012-12-20 13:23:25 +0000744 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_12_11
Thomas Petazzoni8fa0a062012-12-20 13:23:26 +0000745 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_12_12
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100746 default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
747 default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
Thomas Petazzoni5cc49242012-06-03 16:04:40 +0200748 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201109
Thomas Petazzoni60e26e32012-12-20 13:23:20 +0000749 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201203
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000750 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100751 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100752 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200753 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000754 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
Thomas Petazzonie067a442012-11-04 07:34:21 +0000755 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
Phil Edworthy95157452011-05-06 15:23:04 +0100756 default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
Thomas Petazzoniae236462011-10-02 21:20:11 +0200757 default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100758 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000759 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000760 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
Thomas Petazzoni91d43362011-12-31 12:39:12 +0100761 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2011R1 && !BR2_BFIN_FDPIC
762 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2011R1 && BR2_BFIN_FDPIC
Thomas Petazzoniadf586e2012-06-03 16:04:39 +0200763 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 && !BR2_BFIN_FDPIC
764 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 && BR2_BFIN_FDPIC
Gustavo Zacarias82e39a22013-02-01 03:04:50 +0000765 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && !BR2_BFIN_FDPIC
766 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BFIN_FDPIC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100767 default $(BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX) \
768 if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzoni643aa232009-05-29 18:37:41 +0200769
770config BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100771 bool
Thomas Petazzonifff71172010-12-13 17:27:37 +0100772 select BR2_LARGEFILE
773 select BR2_INET_IPV6
Thomas Petazzonifff71172010-12-13 17:27:37 +0100774 select BR2_USE_WCHAR
775 select BR2_ENABLE_LOCALE
Thomas Petazzoni9eaad202010-12-13 17:27:44 +0100776 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard5931db02011-11-24 14:26:52 +0100777 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
Thomas Petazzonib9882922011-05-30 23:56:57 +0200778 select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
Thomas Petazzoni643aa232009-05-29 18:37:41 +0200779
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100780config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
781 bool
782
783if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
784
785choice
786 prompt "External toolchain C library"
787 default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
788
789config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
790 bool "uClibc"
791 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
Thomas Petazzonib9882922011-05-30 23:56:57 +0200792 # For the time being, we assume that all custom external
793 # toolchains have shadow password support.
794 select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100795
796config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +0000797 bool "glibc/eglibc"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100798 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +0000799 help
800 Note: eglibc is a variant of glibc that (among other things) can be
801 configured to exclude some of its features. Using a toolchain with
802 eglibc configured to exclude key features may cause build failures to
803 some packages.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100804
Thomas Petazzoni643aa232009-05-29 18:37:41 +0200805endchoice
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +0000806
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100807if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
Thomas Petazzonifff71172010-12-13 17:27:37 +0100808
809config BR2_TOOLCHAIN_EXTERNAL_LARGEFILE
810 bool "Toolchain has large file support?"
811 select BR2_LARGEFILE
812 help
813 Select this option if your external toolchain supports
814 largefile. If you don't know, leave the default value,
815 Buildroot will tell you if it's correct or not.
816
817config BR2_TOOLCHAIN_EXTERNAL_INET_IPV6
818 bool "Toolchain has IPv6 support?"
819 select BR2_INET_IPV6
820 help
821 Select this option if your external toolchain supports
822 IPv6. If you don't know, leave the default value, Buildroot
823 will tell you if it's correct or not.
824
Thomas Petazzonifff71172010-12-13 17:27:37 +0100825config BR2_TOOLCHAIN_EXTERNAL_WCHAR
826 bool "Toolchain has WCHAR support?"
827 select BR2_USE_WCHAR
828 help
829 Select this option if your external toolchain supports
830 WCHAR. If you don't know, leave the default value, Buildroot
831 will tell you if it's correct or not.
832
833config BR2_TOOLCHAIN_EXTERNAL_LOCALE
834 bool "Toolchain has locale support?"
835 select BR2_TOOLCHAIN_EXTERNAL_WCHAR
836 select BR2_ENABLE_LOCALE
837 help
838 Select this option if your external toolchain has locale
839 support. If you don't know, leave the default value,
840 Buildroot will tell you if it's correct or not.
841
Thomas Petazzoni9eaad202010-12-13 17:27:44 +0100842config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
843 bool "Toolchain has threads support?"
844 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard04d06892011-07-26 15:28:19 +0200845 default y
Thomas Petazzoni9eaad202010-12-13 17:27:44 +0100846 help
847 Select this option if your external toolchain has thread
848 support. If you don't know, leave the default value,
849 Buildroot will tell you if it's correct or not.
850
Peter Korsgaard5931db02011-11-24 14:26:52 +0100851config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
852 bool "Toolchain has threads debugging support?"
853 depends on BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
854 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
855 default y
856 help
857 Select this option if your external toolchain has thread
858 debugging support. If you don't know, leave the default
859 value, Buildroot will tell you if it's correct or not.
860
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100861endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
862
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100863config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
864 bool "Toolchain has RPC support?"
865 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni3a843a32012-11-04 07:34:29 +0000866 default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100867 help
868 Select this option if your external toolchain supports
869 RPC. If you don't know, leave the default value, Buildroot
870 will tell you if it's correct or not.
871
Thomas Petazzoni6b578c82010-12-13 17:27:41 +0100872config BR2_TOOLCHAIN_EXTERNAL_CXX
873 bool "Toolchain has C++ support?"
874 select BR2_INSTALL_LIBSTDCPP
875 help
876 Select this option if your external toolchain has C++
877 support. If you don't know, leave the default value,
878 Buildroot will tell you if it's correct or not.
879
Thomas De Schampheleirec72f54b2011-10-02 21:20:10 +0200880config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
881 string "Extra toolchain libraries to be copied to target"
882 help
883 If your external toolchain provides extra libraries that
884 need to be copied to the target filesystem, enter them
885 here, separated by spaces. They will be copied to the
886 target's /lib directory.
887
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100888endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzonifff71172010-12-13 17:27:37 +0100889
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100890endif # BR2_TOOLCHAIN_EXTERNAL
891