blob: f4a5ccf653380ad12c4c5f85b18f1189ead5c9b5 [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 Petazzonid2c54e62014-03-05 23:23:37 +01009config BR2_TOOLCHAIN_EXTERNAL_LINARO_2014_02
10 bool "Linaro 2014.02"
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010011 depends on BR2_arm
12 depends on BR2_GCC_TARGET_ARCH = "armv7-a"
13 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
14 depends on BR2_ARM_EABIHF
15 depends on !BR2_PREFER_STATIC_LIB
Samuel Martina1a86eb2014-03-08 15:38:31 +010016 select BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # toolchain generated before fix backport
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010017 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
18 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
19 select BR2_INSTALL_LIBSTDCPP
20 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +010021 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010022 help
23 Linaro toolchain for the ARM architecture. It uses Linaro
Thomas Petazzonid2c54e62014-03-05 23:23:37 +010024 GCC 2014.02 (based on gcc 4.8), Linaro GDB 2013.10 (based on
25 GDB 7.6), eglibc 2.18, Binutils 2014.02 (based on 2.24). It
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010026 generates code that runs on all Cortex-A profile devices,
27 but tuned for the Cortex-A9. The code generated is Thumb 2,
28 with the hard floating point calling convention, and uses
29 the VFPv3-D16 FPU instructions.
30
Thomas Petazzonid2c54e62014-03-05 23:23:37 +010031config BR2_TOOLCHAIN_EXTERNAL_LINARO_2014_01
32 bool "Linaro 2014.01"
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010033 depends on BR2_arm
34 depends on BR2_GCC_TARGET_ARCH = "armv7-a"
35 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
36 depends on BR2_ARM_EABIHF
37 depends on !BR2_PREFER_STATIC_LIB
Samuel Martina1a86eb2014-03-08 15:38:31 +010038 select BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # toolchain generated before fix backport
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010039 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
40 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
41 select BR2_INSTALL_LIBSTDCPP
42 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +010043 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010044 help
45 Linaro toolchain for the ARM architecture. It uses Linaro
Thomas Petazzonid2c54e62014-03-05 23:23:37 +010046 GCC 2014.01 (based on gcc 4.8), Linaro GDB 2013.10 (based on
47 GDB 7.6), eglibc 2.18, Binutils 2013.11 (based on 2.24). It
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010048 generates code that runs on all Cortex-A profile devices,
49 but tuned for the Cortex-A9. The code generated is Thumb 2,
50 with the hard floating point calling convention, and uses
51 the VFPv3-D16 FPU instructions.
52
Thomas Petazzonid2c54e62014-03-05 23:23:37 +010053config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_12
54 bool "Linaro 2013.12"
Thomas Petazzonibb58faf2013-10-08 20:17:12 +020055 depends on BR2_arm
56 depends on BR2_GCC_TARGET_ARCH = "armv7-a"
57 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
58 depends on BR2_ARM_EABIHF
Thomas Petazzonied3f3e42013-11-11 18:57:32 +010059 depends on !BR2_PREFER_STATIC_LIB
Samuel Martina1a86eb2014-03-08 15:38:31 +010060 select BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # toolchain generated before fix backport
Thomas Petazzonibb58faf2013-10-08 20:17:12 +020061 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
62 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
63 select BR2_INSTALL_LIBSTDCPP
64 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +010065 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
Thomas Petazzonibb58faf2013-10-08 20:17:12 +020066 help
67 Linaro toolchain for the ARM architecture. It uses Linaro
Thomas Petazzonid2c54e62014-03-05 23:23:37 +010068 GCC 2013.12 (based on gcc 4.8), Linaro GDB 2013.10 (based on
69 GDB 7.6), eglibc 2.18, Binutils 2013.11 (based on 2.24). It
Thomas Petazzonibb58faf2013-10-08 20:17:12 +020070 generates code that runs on all Cortex-A profile devices,
71 but tuned for the Cortex-A9. The code generated is Thumb 2,
72 with the hard floating point calling convention, and uses
73 the VFPv3-D16 FPU instructions.
74
Thomas Petazzoni1e0b97d2013-10-29 21:54:01 +010075comment "Linaro toolchains available for Cortex-A + EABIhf"
Thomas Petazzoni90f763c2012-11-27 04:07:03 +000076 depends on BR2_arm
Thomas Petazzoni1e0b97d2013-10-29 21:54:01 +010077 depends on BR2_GCC_TARGET_ARCH != "armv7-a" || !BR2_ARM_EABIHF
Thomas Petazzonied3f3e42013-11-11 18:57:32 +010078 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni90f763c2012-11-27 04:07:03 +000079
Thomas Petazzonicd32da82014-03-05 23:23:40 +010080config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
81 bool "Linaro armeb 2014.02"
82 depends on BR2_armeb
83 depends on BR2_GCC_TARGET_ARCH = "armv7-a"
84 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
85 depends on BR2_ARM_EABIHF
86 depends on !BR2_PREFER_STATIC_LIB
87 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
88 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
89 select BR2_INSTALL_LIBSTDCPP
90 select BR2_HOSTARCH_NEEDS_IA32_LIBS
91 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
92 help
93 Linaro toolchain for the ARM big endian architecture. It
94 uses Linaro GCC 2014.01 (based on gcc 4.8), Linaro GDB
95 2013.10 (based on GDB 7.6), eglibc 2.18, Binutils 2013.11
96 (based on 2.24). It generates code that runs on all Cortex-A
97 profile devices, but tuned for the Cortex-A9. The code
98 generated is Thumb 2, with the hard floating point calling
99 convention, and uses the VFPv3-D16 FPU instructions.
100
101comment "Linaro toolchains available for Cortex-A + EABIhf"
102 depends on BR2_armeb
103 depends on BR2_GCC_TARGET_ARCH != "armv7-a" || !BR2_ARM_EABIHF
104 depends on !BR2_PREFER_STATIC_LIB
105
Thomas Petazzonic5252312013-12-27 12:32:17 +0100106config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
107 bool "Sourcery CodeBench ARM 2013.11"
108 depends on BR2_arm
109 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
110 depends on BR2_ARM_EABI
111 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzonibe4f30a2014-04-13 21:58:57 +0200112 select BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # based-on gcc-4.8.1
Samuel Martina1a86eb2014-03-08 15:38:31 +0100113 select BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # based-on gcc-4.8.1
Thomas Petazzonic5252312013-12-27 12:32:17 +0100114 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
115 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
116 select BR2_INSTALL_LIBSTDCPP
117 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100118 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
Thomas Petazzonic5252312013-12-27 12:32:17 +0100119 help
120 Sourcery CodeBench toolchain for the ARM architecture, from
121 Mentor Graphics. It uses gcc 4.8.1, binutils 2.23.52, glibc
122 2.18 and gdb 7.6.50, kernel headers 3.11. It has support
123 for the following variants:
124 - ARMv5TE, little endian, soft-float, glibc
125 Select ARM926T, ARM10T, XScale or another ARMv5 core
126 Select BR2_SOFT_FLOAT
127 - ARMv4T, little endian, soft-float, glibc
128 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
129 Select BR2_SOFT_FLOAT
130 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
131 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
132 Select BR2_SOFT_FLOAT
133 Set BR2_TARGET_OPTIMIZATION to -mthumb
134
Fabio Porcedda786700e2013-05-26 12:08:19 +0000135config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
136 bool "Sourcery CodeBench ARM 2013.05"
137 depends on BR2_arm
138 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200139 depends on BR2_ARM_EABI
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100140 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni85082ca2014-05-12 23:10:35 +0200141 select BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # based-on gcc-4.7.3
Fabio Porcedda786700e2013-05-26 12:08:19 +0000142 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
143 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
144 select BR2_INSTALL_LIBSTDCPP
145 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100146 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
Fabio Porcedda786700e2013-05-26 12:08:19 +0000147 help
148 Sourcery CodeBench toolchain for the ARM architecture, from
149 Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52, glibc
150 2.17 and gdb 7.4.50, kernel headers 3.8.2. It has support
151 for the following variants:
152 - ARMv5TE, little endian, soft-float, glibc
153 Select ARM926T, ARM10T, XScale or another ARMv5 core
154 Select BR2_SOFT_FLOAT
155 - ARMv4T, little endian, soft-float, glibc
156 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
157 Select BR2_SOFT_FLOAT
158 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
159 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
160 Select BR2_SOFT_FLOAT
161 Set BR2_TARGET_OPTIMIZATION to -mthumb
162
Fabio Porcedda7bcb4942012-09-10 00:02:57 +0000163config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
164 bool "Sourcery CodeBench ARM 2012.03"
165 depends on BR2_arm
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000166 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200167 depends on BR2_ARM_EABI
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100168 depends on !BR2_PREFER_STATIC_LIB
Fabio Porcedda7bcb4942012-09-10 00:02:57 +0000169 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni78f136a2012-11-04 07:34:09 +0000170 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Fabio Porcedda7bcb4942012-09-10 00:02:57 +0000171 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000172 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100173 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Fabio Porcedda7bcb4942012-09-10 00:02:57 +0000174 help
175 Sourcery CodeBench toolchain for the ARM architecture, from
176 Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53, glibc
177 2.15 and gdb 7.2.50, kernel headers 3.2.10. It has support
178 for the following variants:
179 - ARMv5TE, little endian, soft-float, glibc
180 Select ARM926T, ARM10T, XScale or another ARMv5 core
181 Select BR2_SOFT_FLOAT
182 - ARMv4T, little endian, soft-float, glibc
183 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
184 Select BR2_SOFT_FLOAT
185 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
186 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
187 Select BR2_SOFT_FLOAT
188 Set BR2_TARGET_OPTIMIZATION to -mthumb
189
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200190comment "Sourcery CodeBench toolchains available for the EABI ABI"
191 depends on BR2_arm
192 depends on !BR2_ARM_EABI
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100193 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200194
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200195config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
196 bool "Arago ARMv7 2011.09"
197 depends on BR2_arm
198 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonic5f87f72013-06-08 11:14:19 +0200199 depends on BR2_GCC_TARGET_ARCH = "armv7-a"
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200200 depends on BR2_ARM_EABI
201 depends on BR2_ARM_CPU_HAS_VFPV3 || BR2_ARM_CPU_MAYBE_HAS_VFPV3
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100202 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200203 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
204 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
205 select BR2_INSTALL_LIBSTDCPP
206 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100207 # kernel headers: 2.6.31
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200208 help
209 Texas Instruments Arago 2011.09 toolchain, with gcc 4.5.3,
210 binutils 2.20.1, glibc 2.12, gdb 7.2.
211
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200212 This toolchain uses -mfloat-abi=softfp (i.e can use FPU
213 instructions, but passes floating point function arguments
214 in integer registers), and requires a VFPv3 floating point
215 unit to work properly. This unit is available on most
216 Cortex-A ARM processors, but not all.
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200217
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200218config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
219 bool "Arago ARMv5 2011.09"
220 depends on BR2_arm
221 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonif3d6e6c2013-06-08 11:14:20 +0200222 depends on BR2_GCC_TARGET_ARCH != "armv4t" && \
223 BR2_GCC_TARGET_ARCH != "armv4" && \
224 BR2_GCC_TARGET_ARCH != "armv5t"
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200225 depends on BR2_ARM_EABI
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100226 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200227 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
228 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
229 select BR2_INSTALL_LIBSTDCPP
230 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100231 # kernel headers: 2.6.31
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200232 help
233 Texas Instruments Arago ARMv5 2011.09 toolchain, with gcc
234 4.5.3, binutils 2.20.1, glibc 2.12, gdb 7.2.
235
236 This toolchain uses software-floating point.
237
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100238config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201311
239 bool "Sourcery CodeBench MIPS 2013.11"
240 depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
241 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
242 depends on !BR2_MIPS_NABI32
243 depends on !BR2_PREFER_STATIC_LIB
244 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
245 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
246 select BR2_INSTALL_LIBSTDCPP
247 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100248 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100249 help
250 Sourcery CodeBench toolchain for the MIPS architecture, from
251 Mentor Graphics. It uses gcc 4.8.1, binutils 2.23.52, glibc
252 2.18, uClibc 0.9.30 and gdb 7.6.50, kernel headers
253 3.11. It has support for the following variants:
254 - MIPS32 O32 big endian glibc
255 Select a MIPS generic core
256 Disable BR2_SOFT_FLOAT
257 - MIPS64 big endian glibc
258 Select a MIPS64 generic core
259 Select the n64 ABI
260 Disable BR2_SOFT_FLOAT
261 - MIPS32 O32 little endian glibc
262 Select a MIPS generic core
263 Disable BR2_SOFT_FLOAT
264 - MIPS64 little endian glibc
265 Select a MIPS64 generic core
266 Select the n64 ABI
267 Disable BR2_SOFT_FLOAT
268 - MIPS32 big endian soft float glibc
269 Select a MIPS generic core
270 Select BR2_SOFT_FLOAT
271 - MIPS64 big endian soft float glibc
272 Select a MIPS64 generic core
273 Select the n64 ABI
274 Select BR2_SOFT_FLOAT
275 - MIPS32 little endian soft float glibc
276 Select a MIPS generic core
277 Select BR2_SOFT_FLOAT
278 - MIPS64 little endian soft float glibc
279 Select a MIPS64 generic core
280 Select the n64 ABI
281 Select BR2_SOFT_FLOAT
282 - MIPS32 big endian microMIPS glibc
283 Select a MIPS generic core
284 Disable BR2_SOFT_FLOAT
285 Set BR2_TARGET_OPTIMIZATION to -mips16
286 - MIPS32 little endian microMIPS glibc
287 Select a MIPS generic core
288 Disable BR2_SOFT_FLOAT
289 Set BR2_TARGET_OPTIMIZATION to -mips16
290 - MIPS32 big endian soft float microMIPS glibc
291 Select a MIPS generic core
292 Select BR2_SOFT_FLOAT
293 Set BR2_TARGET_OPTIMIZATION to -mips16
294 - MIPS32 little endian soft float microMIPS glibc
295 Select a MIPS generic core
296 Select BR2_SOFT_FLOAT
297 Set BR2_TARGET_OPTIMIZATION to -mips16
298 - MIPS32 big endian uclibc
299 Not usable in Buildroot yet.
300 - MIPS32 little endian uclibc
301 Not usable in Buildroot yet.
302 - MIPS32 big endian soft float uclibc
303 Not usable in Buildroot yet.
304 - MIPS32 little endian soft float uclibc
305 Not usable in Buildroot yet.
306
Markos Chandras4d34fb72013-06-08 11:14:14 +0200307config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201305
308 bool "Sourcery CodeBench MIPS 2013.05"
309 depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
310 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Markos Chandras6f70ba32013-08-13 09:45:44 +0100311 depends on !BR2_MIPS_NABI32
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100312 depends on !BR2_PREFER_STATIC_LIB
Markos Chandras4d34fb72013-06-08 11:14:14 +0200313 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
314 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
315 select BR2_INSTALL_LIBSTDCPP
316 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100317 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
Markos Chandras4d34fb72013-06-08 11:14:14 +0200318 help
319 Sourcery CodeBench toolchain for the MIPS architecture, from
320 Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52, glibc
321 2.17, uClibc 0.9.30 and gdb 7.4.50, kernel headers
322 3.8.2. It has support for the following variants:
323 - MIPS32 O32 big endian glibc
324 Select a MIPS generic core
325 Disable BR2_SOFT_FLOAT
326 - MIPS64 big endian glibc
327 Select a MIPS64 generic core
328 Select the n64 ABI
329 Disable BR2_SOFT_FLOAT
330 - MIPS32 O32 little endian glibc
331 Select a MIPS generic core
332 Disable BR2_SOFT_FLOAT
Markos Chandras4d34fb72013-06-08 11:14:14 +0200333 - MIPS64 little endian glibc
334 Select a MIPS64 generic core
335 Select the n64 ABI
336 Disable BR2_SOFT_FLOAT
Markos Chandras4d34fb72013-06-08 11:14:14 +0200337 - MIPS32 big endian soft float glibc
338 Select a MIPS generic core
339 Select BR2_SOFT_FLOAT
340 - MIPS64 big endian soft float glibc
341 Select a MIPS64 generic core
342 Select the n64 ABI
343 Select BR2_SOFT_FLOAT
344 - MIPS32 little endian soft float glibc
345 Select a MIPS generic core
346 Select BR2_SOFT_FLOAT
Markos Chandras4d34fb72013-06-08 11:14:14 +0200347 - MIPS64 little endian soft float glibc
348 Select a MIPS64 generic core
349 Select the n64 ABI
350 Select BR2_SOFT_FLOAT
Markos Chandras4d34fb72013-06-08 11:14:14 +0200351 - MIPS32 big endian microMIPS glibc
352 Select a MIPS generic core
353 Disable BR2_SOFT_FLOAT
354 Set BR2_TARGET_OPTIMIZATION to -mips16
355 - MIPS32 little endian microMIPS glibc
356 Select a MIPS generic core
357 Disable BR2_SOFT_FLOAT
Markos Chandrasf3a2b802013-10-14 10:52:25 +0100358 Set BR2_TARGET_OPTIMIZATION to -mips16
Markos Chandras4d34fb72013-06-08 11:14:14 +0200359 - MIPS32 big endian soft float microMIPS glibc
360 Select a MIPS generic core
361 Select BR2_SOFT_FLOAT
362 Set BR2_TARGET_OPTIMIZATION to -mips16
363 - MIPS32 little endian soft float microMIPS glibc
364 Select a MIPS generic core
365 Select BR2_SOFT_FLOAT
Markos Chandrasf3a2b802013-10-14 10:52:25 +0100366 Set BR2_TARGET_OPTIMIZATION to -mips16
Markos Chandras4d34fb72013-06-08 11:14:14 +0200367 - MIPS32 big endian uclibc
368 Not usable in Buildroot yet.
369 - MIPS32 little endian uclibc
370 Not usable in Buildroot yet.
371 - MIPS32 big endian soft float uclibc
372 Not usable in Buildroot yet.
373 - MIPS32 little endian soft float uclibc
374 Not usable in Buildroot yet.
375
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000376config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209
377 bool "Sourcery CodeBench MIPS 2012.09"
378 depends on BR2_mips || BR2_mipsel
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000379 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Markos Chandras6f70ba32013-08-13 09:45:44 +0100380 depends on !BR2_MIPS_NABI32
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100381 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000382 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
383 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
384 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000385 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100386 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000387 help
388 Sourcery CodeBench toolchain for the MIPS architecture, from
389 Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51, glibc
390 2.16, uClibc 0.9.30 and gdb 7.4.50, kernel headers
391 3.5.4. It has support for the following variants:
392 - MIPS32 O32 big endian glibc
393 Select a MIPS generic core
394 Disable BR2_SOFT_FLOAT
395 - MIPS64 big endian glibc
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100396 Select a MIPS64 generic core
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000397 Select the n64 ABI
398 Disable BR2_SOFT_FLOAT
399 - MIPS32 O32 little endian glibc
400 Select a MIPS generic core
401 Disable BR2_SOFT_FLOAT
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000402 - MIPS64 little endian glibc
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100403 Select a MIPS64 generic core
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000404 Select the n64 ABI
405 Disable BR2_SOFT_FLOAT
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000406 - MIPS32 big endian soft float glibc
407 Select a MIPS generic core
408 Select BR2_SOFT_FLOAT
409 - MIPS64 big endian soft float glibc
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100410 Select a MIPS64 generic core
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000411 Select the n64 ABI
412 Select BR2_SOFT_FLOAT
413 - MIPS32 little endian soft float glibc
414 Select a MIPS generic core
415 Select BR2_SOFT_FLOAT
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000416 - MIPS64 little endian soft float glibc
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100417 Select a MIPS64 generic core
Thomas Petazzoni60e26e32012-12-20 13:23:20 +0000418 Select the n64 ABI
419 Select BR2_SOFT_FLOAT
Thomas Petazzoni60e26e32012-12-20 13:23:20 +0000420 - MIPS32 big endian microMIPS glibc
421 Select a MIPS generic core
422 Disable BR2_SOFT_FLOAT
423 Set BR2_TARGET_OPTIMIZATION to -mips16
424 - MIPS32 little endian microMIPS glibc
425 Select a MIPS generic core
426 Disable BR2_SOFT_FLOAT
Markos Chandrasf3a2b802013-10-14 10:52:25 +0100427 Set BR2_TARGET_OPTIMIZATION to -mips16
Thomas Petazzoni60e26e32012-12-20 13:23:20 +0000428 - MIPS32 big endian soft float microMIPS glibc
429 Select a MIPS generic core
430 Select BR2_SOFT_FLOAT
431 Set BR2_TARGET_OPTIMIZATION to -mips16
432 - MIPS32 little endian soft float microMIPS glibc
433 Select a MIPS generic core
434 Select BR2_SOFT_FLOAT
Markos Chandrasf3a2b802013-10-14 10:52:25 +0100435 Set BR2_TARGET_OPTIMIZATION to -mips16
Thomas Petazzoni60e26e32012-12-20 13:23:20 +0000436 - MIPS32 big endian uclibc
437 Not usable in Buildroot yet.
438 - MIPS32 little endian uclibc
439 Not usable in Buildroot yet.
440 - MIPS32 big endian soft float uclibc
441 Not usable in Buildroot yet.
442 - MIPS32 little endian soft float uclibc
443 Not usable in Buildroot yet.
444
Markos Chandras6f70ba32013-08-13 09:45:44 +0100445comment "Sourcery CodeBench toolchains are only available for MIPS/MIPS64 o32 and n64"
446 depends on BR2_MIPS_NABI32
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100447 depends on !BR2_PREFER_STATIC_LIB
Markos Chandras6f70ba32013-08-13 09:45:44 +0100448
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300449config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
450 bool "Sourcery CodeBench Nios-II 2013.05"
451 depends on BR2_nios2
452 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100453 depends on !BR2_PREFER_STATIC_LIB
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300454 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
455 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
456 select BR2_INSTALL_LIBSTDCPP
457 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100458 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300459 help
460 Sourcery CodeBench toolchain for the Nios-II architecture,
461 from Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52,
462 glibc 2.17, gdb 7.4.50 and kernel headers 3.7.0.
463
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100464config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
465 bool "Sourcery CodeBench PowerPC 2011.03"
466 depends on BR2_powerpc
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000467 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100468 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100469 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100470 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100471 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000472 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100473 # kernel headers: 2.6.38
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100474 help
475 Sourcery CodeBench toolchain for the PowerPC architecture,
476 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20.51,
477 glibc 2.13, gdb 7.2.50 and kernel headers 2.6.38. It has
478 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200479 - 603 glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100480 Select a generic PowerPC core
481 Disable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200482 - 603 soft float glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100483 Select a generic PowerPC core
484 Enable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200485 - e600 altivec glibc, 32 bits
486 Set BR2_TARGET_OPTIMIZATION to -te600
487 - e500v1 glibc, 32 bits
488 Set BR2_TARGET_OPTIMIZATION to -te500v1
489 - e500v2 glibc, 32 bits
490 Set BR2_TARGET_OPTIMIZATION to -te500v2
491 - e500mc glibc, 32 bits
492 Set BR2_TARGET_OPTIMIZATION to -te500mc
493 - 970 glibc hard-float, 64 bits
494 Set BR2_TARGET_OPTIMIZATION to -m64
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100495
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100496config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200497 bool "Sourcery CodeBench PowerPC 2010.09"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100498 depends on BR2_powerpc
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000499 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100500 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100501 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100502 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni6b578c82010-12-13 17:27:41 +0100503 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000504 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100505 # kernel headers: 2.6.35
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100506 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200507 Sourcery CodeBench toolchain for the PowerPC architecture,
Thomas Petazzoni2ec3e6d2012-01-15 20:02:11 +0100508 from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200509 glibc 2.11, gdb 7.2.50 and kernel headers 2.6.35.2. It has
510 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200511 - 603 glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100512 Select a generic PowerPC core
513 Disable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200514 - 603 soft float glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100515 Select a generic PowerPC core
516 Enable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200517 - e600 altivec glibc, 32 bits
518 Set BR2_TARGET_OPTIMIZATION to -te600
519 - e500v1 glibc, 32 bits
520 Set BR2_TARGET_OPTIMIZATION to -te500v1
521 - e500v2 glibc, 32 bits
522 Set BR2_TARGET_OPTIMIZATION to -te500v2
523 - e500mc glibc, 32 bits
524 Set BR2_TARGET_OPTIMIZATION to -te500mc
525 - 970 glibc hard-float, 64 bits
526 Set BR2_TARGET_OPTIMIZATION to -m64
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100527
Thomas Petazzonie067a442012-11-04 07:34:21 +0000528config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
529 bool "Sourcery CodeBench SH 2012.09"
530 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000531 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100532 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzonie067a442012-11-04 07:34:21 +0000533 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
534 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
535 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000536 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100537 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Thomas Petazzonie067a442012-11-04 07:34:21 +0000538 help
539 Sourcery CodeBench toolchain for the SuperH architecture,
540 from Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51,
541 glibc 2.16, uClibc 0.9.30, gdb 7.4.50 and kernel headers
542 3.5.4. It has support for the following variants:
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +0100543 - SH4A, glibc, little endian
544 Default.
545 - SH4A, glibc, big endian
546 Add -mb to BR2_TARGET_OPTIMIZATION
547 - SH4A, uClibc, little endian
548 Not usable in Buildroot yet.
549 - SH4A, uClibc, big endian
550 Not usable in Buildroot yet.
Thomas Petazzonie067a442012-11-04 07:34:21 +0000551
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000552config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
553 bool "Sourcery CodeBench SH 2012.03"
554 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000555 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100556 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000557 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
558 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000559 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100560 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000561 help
562 Sourcery CodeBench toolchain for the SuperH architecture,
563 from Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53,
564 glibc 2.15, uClibc 0.9.30, gdb 7.2.50 and kernel headers
565 3.2.10. It has support for the following variants:
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +0100566 - SH4A, glibc, little endian
567 Default.
568 - SH4A, glibc, big endian
569 Add -mb to BR2_TARGET_OPTIMIZATION
570 - SH4A, uClibc, little endian
571 Not usable in Buildroot yet.
572 - SH4A, uClibc, big endian
573 Not usable in Buildroot yet.
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000574
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200575config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200576 bool "Sourcery CodeBench SH 2011.03"
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200577 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000578 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100579 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200580 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100581 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +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 Petazzoni42c0fb42011-10-02 21:20:13 +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 glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers
589 2.6.38. It has support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200590 - SH4A, glibc, little endian
591 Default.
592 - SH4A, glibc, big endian
593 Add -mb to BR2_TARGET_OPTIMIZATION
594 - SH4A, uClibc, little endian
595 Not usable in Buildroot yet.
596 - SH4A, uClibc, big endian
597 Not usable in Buildroot yet.
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200598
Thomas Petazzoniae236462011-10-02 21:20:11 +0200599config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200600 bool "Sourcery CodeBench SH 2011.03"
Thomas Petazzoniae236462011-10-02 21:20:11 +0200601 depends on BR2_sh2a
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000602 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoniae236462011-10-02 21:20:11 +0200603 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
604 select BR2_LARGEFILE
Thomas Petazzoni0858e002012-11-03 18:47:49 +0100605 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoniae236462011-10-02 21:20:11 +0200606 select BR2_USE_WCHAR
607 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard5931db02011-11-24 14:26:52 +0100608 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
Thomas Petazzoniae236462011-10-02 21:20:11 +0200609 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000610 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100611 # kernel headers: 2.6.38
Thomas Petazzoniae236462011-10-02 21:20:11 +0200612 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200613 Sourcery CodeBench toolchain for the SuperH architecture,
614 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
615 uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.38. It has
616 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200617 - SH2A, uClibc, big endian
Thomas Petazzoniae236462011-10-02 21:20:11 +0200618
Phil Edworthy95157452011-05-06 15:23:04 +0100619config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200620 bool "Sourcery CodeBench SH 2010.09"
Phil Edworthyd5247aa2011-05-09 14:12:53 +0100621 depends on BR2_sh2a
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000622 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Phil Edworthy95157452011-05-06 15:23:04 +0100623 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
Thomas Petazzonid63a8172011-07-30 00:00:37 +0200624 select BR2_LARGEFILE
Thomas Petazzoni0858e002012-11-03 18:47:49 +0100625 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonid63a8172011-07-30 00:00:37 +0200626 select BR2_USE_WCHAR
627 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard5931db02011-11-24 14:26:52 +0100628 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
Phil Edworthy95157452011-05-06 15:23:04 +0100629 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000630 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100631 # kernel headers: 2.6.35
Phil Edworthy95157452011-05-06 15:23:04 +0100632 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200633 Sourcery CodeBench toolchain for the SuperH architecture,
634 from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
635 uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.35.2. It
636 has support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200637 - SH2A, uClibc, big endian
Phil Edworthy95157452011-05-06 15:23:04 +0100638
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000639config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
640 bool "Sourcery CodeBench x86/x86_64 2012.09"
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 Petazzoni1c811232012-11-04 07:34:22 +0000645 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
646 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
647 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000648 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100649 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000650 help
651 Sourcery CodeBench toolchain for the x86/x86_64
652 architectures, from Mentor Graphics. It uses gcc 4.7.2,
653 binutils 2.23.51, glibc 2.16, gdb 7.4.50 and kernel headers
654 3.5.4. It has support for the following variants:
655 - Intel Pentium 4, glibc, 32 bits
656 Default for x86, nothing special to do.
657 - Intel Atom, glibc, 32 bits
658 Select an Atom core
659 - Intel Xeon, glibc, 64 bits
660 Default for x86_64, nothing special to do.
661 - Intel Core 2, glibc, 64 bits
662 Select a Core 2 core
663 Other architecture variants (beyond Pentium-4/Xeon) are
664 supported as well, but glibc is not optimised for it.
665
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000666config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
667 bool "Sourcery CodeBench x86/x86_64 2012.03"
668 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000669 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100670 depends on !BR2_PREFER_STATIC_LIB
Adrien Bérauda20cb382014-01-15 17:17:10 -0500671 depends on !BR2_x86_jaguar
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000672 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
673 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_2
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000676 help
677 Sourcery CodeBench toolchain for the x86/x86_64
678 architectures, from Mentor Graphics. It uses gcc 4.6.3,
679 binutils 2.21.53, glibc 2.15, gdb 7.2.50 and kernel headers
680 3.2.10. It has support for the following variants:
681 - Intel Pentium 4, glibc, 32 bits
682 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.
691
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100692config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
693 bool "Sourcery CodeBench x86/x86_64 2011.09"
694 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000695 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100696 depends on !BR2_PREFER_STATIC_LIB
Adrien Bérauda20cb382014-01-15 17:17:10 -0500697 depends on !BR2_x86_jaguar
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100698 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100699 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100700 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000701 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100702 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100703 help
704 Sourcery CodeBench toolchain for the x86/x86_64
705 architectures, from Mentor Graphics. It uses gcc 4.6.1,
706 binutils 2.21.53, glibc 2.13, gdb 7.2.50 and kernel headers
707 3.0.1. It has support for the following variants:
708 - Intel Pentium 4, glibc, 32 bits
Arnout Vandecappelle (Essensium/Mind)a22dc0f2012-03-13 23:30:00 +0100709 Default for x86, nothing special to do.
710 - Intel Atom, glibc, 32 bits
711 Select an Atom core
712 - Intel Xeon, glibc, 64 bits
713 Default for x86_64, nothing special to do.
714 - Intel Core 2, glibc, 64 bits
715 Select a Core 2 core
716 Other architecture variants (beyond Pentium-4/Xeon) are
717 supported as well, but glibc is not optimised for it.
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100718
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100719config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1
720 bool "Blackfin.uclinux.org 2013R1"
721 depends on BR2_bfin
722 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
723 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
724 select BR2_INSTALL_LIBSTDCPP
725 select BR2_LARGEFILE
726 select BR2_INET_IPV6
727 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
728 select BR2_USE_WCHAR
729 select BR2_TOOLCHAIN_HAS_THREADS
730 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
731 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100732 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100733 help
734 Toolchain for the Blackfin architecture, from
735 http://blackfin.uclinux.org.
736
Gustavo Zacarias82e39a22013-02-01 03:04:50 +0000737config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
738 bool "Blackfin.uclinux.org 2012R2-RC2"
739 depends on BR2_bfin
740 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
741 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
742 select BR2_INSTALL_LIBSTDCPP
743 select BR2_LARGEFILE
744 select BR2_INET_IPV6
745 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
746 select BR2_USE_WCHAR
747 select BR2_TOOLCHAIN_HAS_THREADS
748 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
749 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100750 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Gustavo Zacarias82e39a22013-02-01 03:04:50 +0000751 help
752 Toolchain for the Blackfin architecture, from
753 http://blackfin.uclinux.org.
754
Thomas Petazzoni8d8a73f2013-04-07 08:01:01 +0000755config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
Gustavo Zacarias82e39a22013-02-01 03:04:50 +0000756 bool "Blackfin.uclinux.org 2012R1-RC2"
Thomas Petazzoniadf586e2012-06-03 16:04:39 +0200757 depends on BR2_bfin
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000758 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoniadf586e2012-06-03 16:04:39 +0200759 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
760 select BR2_INSTALL_LIBSTDCPP
761 select BR2_LARGEFILE
762 select BR2_INET_IPV6
Thomas Petazzoni0858e002012-11-03 18:47:49 +0100763 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoniadf586e2012-06-03 16:04:39 +0200764 select BR2_USE_WCHAR
765 select BR2_TOOLCHAIN_HAS_THREADS
766 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000767 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100768 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
Thomas Petazzoniadf586e2012-06-03 16:04:39 +0200769 help
770 Toolchain for the Blackfin architecture, from
771 http://blackfin.uclinux.org.
772
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000773config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
Jan Viktorincd344462013-07-08 16:08:18 +0200774 bool "Xilinx Little Endian Microblaze GNU Tools 14.3"
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000775 depends on BR2_microblazeel
776 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100777 depends on !BR2_PREFER_STATIC_LIB
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100778 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000779 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
780 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
781 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100782 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000783 help
784 Toolchain for the Microblaze architecture, from
785 http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It
786 uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50.
787
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100788config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
Jan Viktorincd344462013-07-08 16:08:18 +0200789 bool "Xilinx Little Endian Microblaze GNU Tools v2"
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100790 depends on BR2_microblazeel
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000791 depends on BR2_HOSTARCH = "x86_64"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100792 depends on !BR2_PREFER_STATIC_LIB
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100793 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni1f6e2b42012-08-01 23:47:04 +0200794 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100795 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100796 # kernel headers: 2.6.37
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100797 help
798 Toolchain for the Microblaze architecture, from
799 http://wiki.xilinx.com/mb-gnu-tools
800
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000801config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
802 bool "Xilinx Big Endian Microblaze GNU Tools"
Peter Korsgaardc1a6f682013-04-11 07:50:53 +0200803 depends on BR2_microblazebe
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000804 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100805 depends on !BR2_PREFER_STATIC_LIB
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100806 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000807 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
808 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
809 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100810 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000811 help
812 Toolchain for the Microblaze architecture, from
813 http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It
814 uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50.
815
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100816config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
817 bool "Xilinx Big Endian Microblaze GNU Tools"
818 depends on BR2_microblazebe
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000819 depends on BR2_HOSTARCH = "x86_64"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100820 depends on !BR2_PREFER_STATIC_LIB
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100821 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni1f6e2b42012-08-01 23:47:04 +0200822 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100823 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100824 # kernel headers: 2.6.37
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100825 help
826 Toolchain for the Microblaze architecture, from
827 http://wiki.xilinx.com/mb-gnu-tools
828
Thomas Petazzoni0d740d82014-03-05 23:23:39 +0100829config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_14_02
830 bool "Linaro AArch64 14.02"
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100831 depends on BR2_aarch64
832 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
833 depends on !BR2_PREFER_STATIC_LIB
834 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
835 select BR2_INSTALL_LIBSTDCPP
836 select BR2_HOSTARCH_NEEDS_IA32_LIBS
837 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100838 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100839 help
840 Toolchain for the AArch64 architecture, from
841 http://www.linaro.org/engineering/armv8/
842
Thomas Petazzoni0d740d82014-03-05 23:23:39 +0100843config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_14_01
844 bool "Linaro AArch64 14.01"
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100845 depends on BR2_aarch64
846 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
847 depends on !BR2_PREFER_STATIC_LIB
848 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
849 select BR2_INSTALL_LIBSTDCPP
850 select BR2_HOSTARCH_NEEDS_IA32_LIBS
851 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100852 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100853 help
854 Toolchain for the AArch64 architecture, from
855 http://www.linaro.org/engineering/armv8/
856
Thomas Petazzoni0d740d82014-03-05 23:23:39 +0100857config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_12
858 bool "Linaro AArch64 13.12"
Thomas Petazzonid75e5732013-10-08 20:17:13 +0200859 depends on BR2_aarch64
860 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100861 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzonid75e5732013-10-08 20:17:13 +0200862 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
863 select BR2_INSTALL_LIBSTDCPP
864 select BR2_HOSTARCH_NEEDS_IA32_LIBS
865 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100866 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
Thomas Petazzonid75e5732013-10-08 20:17:13 +0200867 help
868 Toolchain for the AArch64 architecture, from
869 http://www.linaro.org/engineering/armv8/
870
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200871config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS
872 bool "Musl toolchain"
873 depends on (BR2_arm && BR2_ARM_EABI) || (BR2_armeb && BR2_ARM_EABI) || \
Thomas Petazzoni77ef6a32014-05-30 22:24:39 +0200874 (BR2_i386 && !BR2_x86_i386) || BR2_microblazebe || BR2_mips || \
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200875 BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || BR2_x86_64
876 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
877 select BR2_TOOLCHAIN_EXTERNAL_MUSL
878 select BR2_INSTALL_LIBSTDCPP
879 select BR2_HOSTARCH_NEEDS_IA32_LIBS
880 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
881 help
882 Toolchain based on the Musl C library, provided by the
883 musl-cross project. It uses gcc 4.8.2, binutils 2.24 and
884 musl 1.0.0. It does not have a cross debugger included.
885
886 The ARM toolchain is built for ARMv4t, soft-float.
887 The x86 toolchain is built for i486.
888
889 http://musl.codu.org/
890
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100891config BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200892 bool "Custom toolchain"
893 help
894 Use this option to use a custom toolchain pre-installed on
895 your system.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100896
897endchoice
898
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200899choice
900 prompt "Toolchain origin"
Thomas Petazzoni70194072012-07-22 20:57:26 +0200901 # Keep compatibility with old defconfig files that are using
902 # custom toolchains, and which are therefore assuming that
903 # "preinstalled" in the default choice.
904 default BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200905
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100906config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200907 bool "Toolchain to be downloaded and installed"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100908 help
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200909 Select this option if you want Buildroot to download and install the
910 toolchain. If you have selected a custom toolchain, specify the URL
911 in BR2_TOOLCHAIN_EXTERNAL_URL.
912
913config BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
914 bool "Pre-installed toolchain"
915 help
916 Select this option if you want to use a pre-installed toolchain.
917 Specify the path to this toolchain in BR2_TOOLCHAIN_EXTERNAL_PATH.
918
919endchoice
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100920
921config BR2_TOOLCHAIN_EXTERNAL_PATH
922 string "Toolchain path"
923 default "/path/to/toolchain/usr"
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200924 depends on BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100925 help
926 Path to where the external toolchain is installed.
927
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200928config BR2_TOOLCHAIN_EXTERNAL_URL
929 string "Toolchain URL"
930 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM && BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
931 help
932 URL of the custom toolchain tarball to download and install.
933
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100934config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
935 string "Toolchain prefix"
936 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM
937 default "$(ARCH)-linux"
938
939config BR2_TOOLCHAIN_EXTERNAL_PREFIX
940 string
Thomas Petazzonid2c54e62014-03-05 23:23:37 +0100941 default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2014_02
942 default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2014_01
943 default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_12
Thomas Petazzonicd32da82014-03-05 23:23:40 +0100944 default "armeb-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
Fabio Porcedda7bcb4942012-09-10 00:02:57 +0000945 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
Fabio Porcedda786700e2013-05-26 12:08:19 +0000946 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
Thomas Petazzonic5252312013-12-27 12:32:17 +0100947 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200948 default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200949 default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
Thomas Petazzoni0d740d82014-03-05 23:23:39 +0100950 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_14_02
951 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_14_01
952 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_12
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000953 default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100954 default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000955 default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100956 default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
Thomas Petazzoni8de1f572012-12-20 13:23:21 +0000957 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209
Markos Chandras4d34fb72013-06-08 11:14:14 +0200958 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201305
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100959 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201311
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300960 default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100961 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100962 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200963 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000964 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
Thomas Petazzonie067a442012-11-04 07:34:21 +0000965 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
Phil Edworthy95157452011-05-06 15:23:04 +0100966 default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
Thomas Petazzoniae236462011-10-02 21:20:11 +0200967 default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100968 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000969 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000970 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
Sonic Zhang57133822013-05-03 00:39:34 +0000971 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 && BR2_BINFMT_FLAT
972 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 && BR2_BINFMT_FDPIC
973 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FLAT
974 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FDPIC
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100975 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FLAT
976 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FDPIC
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200977 default "arm-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_arm
978 default "armeb-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_armeb
979 default "i486-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_i386
Thomas Petazzoni77ef6a32014-05-30 22:24:39 +0200980 default "microblaze-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_microblazebe
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200981 default "mips-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && !BR2_SOFT_FLOAT)
982 default "mips-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && BR2_SOFT_FLOAT)
983 default "mipsel-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && !BR2_SOFT_FLOAT)
984 default "mipsel-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && BR2_SOFT_FLOAT)
985 default "powerpc-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_powerpc
986 default "x86_64-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_x86_64
Thomas De Schampheleirefbc24942013-09-02 22:07:53 +0200987 default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX \
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100988 if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzoni643aa232009-05-29 18:37:41 +0200989
990config BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100991 bool
Thomas Petazzoni381616e2013-06-30 21:29:09 +0200992 select BR2_TOOLCHAIN_USES_GLIBC
Thomas Petazzoni643aa232009-05-29 18:37:41 +0200993
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100994config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
995 bool
Thomas Petazzoni381616e2013-06-30 21:29:09 +0200996 select BR2_TOOLCHAIN_USES_UCLIBC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100997
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +0200998config BR2_TOOLCHAIN_EXTERNAL_MUSL
999 bool
1000 select BR2_TOOLCHAIN_USES_MUSL
1001
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001002if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
1003
1004choice
Yann E. MORINc58bcd52014-03-01 15:52:59 +01001005 bool "External toolchain kernel headers series"
1006 default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
1007 help
1008 Set to the kernel headers version that were used to build
1009 this external toolchain.
1010
1011 This is used to hide/show some packages that have strict
1012 requirements on the version of kernel headers.
1013
1014 If unsure what version your toolchain is using, you can look
1015 at the value of LINUX_VERSION_CODE in linux/version.h in your
1016 toolchain. The Linux version is M.m.p, with:
1017 M = ( LINUX_VERSION_CODE >> 16 ) & 0xFF
1018 m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF
1019 p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF
1020
Samuel Martin11547ca2014-04-06 18:27:49 +02001021config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14
1022 bool "3.14.x"
1023 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
1024
Yann E. MORINc58bcd52014-03-01 15:52:59 +01001025config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13
1026 bool "3.13.x"
1027 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
1028
1029config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12
1030 bool "3.12.x"
1031 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
1032
1033config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11
1034 bool "3.11.x"
1035 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
1036
1037config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10
1038 bool "3.10.x"
1039 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
1040
1041config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9
1042 bool "3.9.x"
1043 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
1044
1045config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8
1046 bool "3.8.x"
1047 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
1048
1049config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7
1050 bool "3.7.x"
1051 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
1052
1053config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6
1054 bool "3.6.x"
1055 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
1056
1057config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5
1058 bool "3.5.x"
1059 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
1060
1061config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4
1062 bool "3.4.x"
1063 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
1064
1065config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3
1066 bool "3.3.x"
1067 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
1068
1069config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2
1070 bool "3.2.x"
1071 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
1072
1073config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1
1074 bool "3.1.x"
1075 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
1076
1077config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0
1078 bool "3.0.x"
1079 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
1080
1081config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
1082 bool "2.6.x"
1083
1084endchoice
1085
1086choice
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001087 prompt "External toolchain C library"
1088 default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1089
1090config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1091 bool "uClibc"
1092 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
Thomas Petazzonib9882922011-05-30 23:56:57 +02001093 # For the time being, we assume that all custom external
1094 # toolchains have shadow password support.
1095 select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
Thomas Petazzoni692a5852013-10-08 20:17:10 +02001096 help
1097 Select this option if your external toolchain uses the
1098 uClibc C library (available from http://www.uclibc.org/).
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001099
1100config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +00001101 bool "glibc/eglibc"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01001102 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001103 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +00001104 help
Thomas Petazzoni692a5852013-10-08 20:17:10 +02001105 Select this option if your external toolchain uses the GNU C
1106 library (available from https://www.gnu.org/software/libc/)
1107 or its variant the eglibc library (http://www.eglibc.org/).
1108
1109 Note: eglibc is a variant of glibc that (among other things)
1110 can be configured to exclude some of its features. Using a
1111 toolchain with eglibc configured to exclude key features may
1112 cause build failures to some packages.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001113
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01001114comment "(e)glibc only available with shared lib support"
1115 depends on BR2_PREFER_STATIC_LIB
1116
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001117config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL
1118 bool "musl"
1119 select BR2_TOOLCHAIN_EXTERNAL_MUSL
1120 help
1121 Select this option if your external toolchain uses the
1122 'musl' C library, available from http://www.musl-libc.org/.
1123
Thomas Petazzoni643aa232009-05-29 18:37:41 +02001124endchoice
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +00001125
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001126if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
Thomas Petazzonifff71172010-12-13 17:27:37 +01001127
1128config BR2_TOOLCHAIN_EXTERNAL_LARGEFILE
1129 bool "Toolchain has large file support?"
1130 select BR2_LARGEFILE
1131 help
1132 Select this option if your external toolchain supports
1133 largefile. If you don't know, leave the default value,
1134 Buildroot will tell you if it's correct or not.
1135
1136config BR2_TOOLCHAIN_EXTERNAL_INET_IPV6
1137 bool "Toolchain has IPv6 support?"
1138 select BR2_INET_IPV6
1139 help
1140 Select this option if your external toolchain supports
1141 IPv6. If you don't know, leave the default value, Buildroot
1142 will tell you if it's correct or not.
1143
Thomas Petazzonifff71172010-12-13 17:27:37 +01001144config BR2_TOOLCHAIN_EXTERNAL_WCHAR
1145 bool "Toolchain has WCHAR support?"
1146 select BR2_USE_WCHAR
1147 help
1148 Select this option if your external toolchain supports
1149 WCHAR. If you don't know, leave the default value, Buildroot
1150 will tell you if it's correct or not.
1151
1152config BR2_TOOLCHAIN_EXTERNAL_LOCALE
1153 bool "Toolchain has locale support?"
1154 select BR2_TOOLCHAIN_EXTERNAL_WCHAR
1155 select BR2_ENABLE_LOCALE
1156 help
1157 Select this option if your external toolchain has locale
1158 support. If you don't know, leave the default value,
1159 Buildroot will tell you if it's correct or not.
1160
Thomas Petazzoni9eaad202010-12-13 17:27:44 +01001161config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1162 bool "Toolchain has threads support?"
1163 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard04d06892011-07-26 15:28:19 +02001164 default y
Thomas Petazzoni9eaad202010-12-13 17:27:44 +01001165 help
1166 Select this option if your external toolchain has thread
1167 support. If you don't know, leave the default value,
1168 Buildroot will tell you if it's correct or not.
1169
Thomas Petazzonic64f9482014-02-18 22:08:59 +01001170if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1171
Peter Korsgaard5931db02011-11-24 14:26:52 +01001172config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
1173 bool "Toolchain has threads debugging support?"
Peter Korsgaard5931db02011-11-24 14:26:52 +01001174 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
1175 default y
1176 help
1177 Select this option if your external toolchain has thread
1178 debugging support. If you don't know, leave the default
1179 value, Buildroot will tell you if it's correct or not.
1180
Thomas Petazzonic64f9482014-02-18 22:08:59 +01001181config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL
1182 bool "Toolchain has NPTL threads support?"
1183 select BR2_TOOLCHAIN_HAS_THREADS_NPTL
1184 default y
1185 help
1186 Select this option if your external toolchain uses the NPTL
1187 (Native Posix Thread Library) implementation of Posix
1188 threads. If you don't know, leave the default value,
1189 Buildroot will tell you if it's correct or not.
1190
1191endif # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1192
Thomas Petazzonic5866be2013-09-02 18:06:36 +02001193config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
1194 bool "Toolchain has SSP support?"
1195 select BR2_TOOLCHAIN_HAS_SSP
1196 help
1197 Selection this option if your external toolchain has Stack
1198 Smashing Protection support enabled. If you don't know,
1199 leave the default value, Buildroot will tell you if it's
1200 correct or not.
1201
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001202endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1203
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +01001204config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
1205 bool "Toolchain has RPC support?"
1206 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001207 depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL
Thomas Petazzoni3a843a32012-11-04 07:34:29 +00001208 default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +01001209 help
1210 Select this option if your external toolchain supports
1211 RPC. If you don't know, leave the default value, Buildroot
1212 will tell you if it's correct or not.
1213
Thomas Petazzoni6b578c82010-12-13 17:27:41 +01001214config BR2_TOOLCHAIN_EXTERNAL_CXX
1215 bool "Toolchain has C++ support?"
1216 select BR2_INSTALL_LIBSTDCPP
1217 help
1218 Select this option if your external toolchain has C++
1219 support. If you don't know, leave the default value,
1220 Buildroot will tell you if it's correct or not.
1221
Thomas De Schampheleirec72f54b2011-10-02 21:20:10 +02001222config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
1223 string "Extra toolchain libraries to be copied to target"
1224 help
1225 If your external toolchain provides extra libraries that
1226 need to be copied to the target filesystem, enter them
1227 here, separated by spaces. They will be copied to the
1228 target's /lib directory.
1229
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001230endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzonifff71172010-12-13 17:27:37 +01001231
Thomas Petazzonia0b6faa2013-04-07 00:04:33 +00001232config BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
1233 bool "Copy gdb server to the Target"
1234 depends on BR2_TOOLCHAIN_EXTERNAL
1235 help
1236 Copy the gdbserver provided by the external toolchain to the
1237 target.
1238
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001239# When the FDPIC shared binary format is used, the corresponding libraries are
1240# always installed. When a different binary format is used, we offer the option
1241# of installing the FDPIC shared libraries.
1242config BR2_BFIN_INSTALL_FDPIC_SHARED
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +01001243 bool "Install FDPIC shared libraries"
1244 depends on BR2_bfin && !BR2_BINFMT_FDPIC
1245 help
1246 The Linux kernel supports running both FDPIC and FLAT applications
1247 concurrently if the binary format specific libraries are installed
1248 properly. This option allows developer to install FDPIC libraries
1249 into a buildroot rootfs image built with binary format that is not
1250 FDPIC.
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001251
1252# When the FLAT shared binary format is used, we force the installation
1253# of the corresponding libraries. When a different binary format is
1254# used, we offer the option of installing the FLAT shared libraries.
1255config BR2_BFIN_INSTALL_FLAT_SHARED
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +01001256 bool "Install FLAT shared libraries" if !BR2_BINFMT_FLAT_SHARED
1257 depends on BR2_bfin
1258 default y if BR2_BINFMT_FLAT_SHARED
1259 help
1260 The Linux kernel supports running both FDPIC and FLAT applications
1261 concurrently if the binary format specific libraries are installed
1262 properly. This option allows developer to install FLAT libraries
1263 into a buildroot rootfs image built with binary format that is not
1264 shared FLAT.
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001265
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001266endif # BR2_TOOLCHAIN_EXTERNAL