blob: 9f7a1da6a54b60f019d80478bcd8f4c2f7a949f6 [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"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +01007 depends on BR2_STATIC_LIBS
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01008
Yann E. MORIN87785ec2015-09-20 23:45:49 +02009comment "Linaro toolchains available for Cortex-A + EABIhf"
10 depends on BR2_arm || BR2_armeb
11 depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF
12 depends on !BR2_STATIC_LIBS
13
Yann E. MORIN9b3b98b2015-10-27 00:49:39 +010014# Note: we use the same symbol for both Linaro toolchains.
15# Since they have different dependencies (the host), we can
16# give them different prompts and different help texts.
Thomas Petazzonibe2abf22014-06-01 12:47:40 +020017config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
Thomas Petazzoni28bca1c2014-11-10 11:06:31 +010018 bool "Linaro ARM 2014.09"
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010019 depends on BR2_arm
Thomas Petazzoni29f68062014-10-21 22:27:06 +020020 depends on BR2_ARM_CPU_ARMV7A
Yann E. MORIN9b3b98b2015-10-27 00:49:39 +010021 depends on BR2_HOSTARCH = "x86"
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010022 depends on BR2_ARM_EABIHF
Thomas Petazzoni665e13c2014-12-03 22:41:29 +010023 depends on !BR2_STATIC_LIBS
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010024 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
25 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
26 select BR2_INSTALL_LIBSTDCPP
Yann E. MORINb6f321b2014-03-01 15:52:58 +010027 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
Thomas Petazzonibd760c32015-08-04 20:00:35 +020028 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010029 help
30 Linaro toolchain for the ARM architecture. It uses Linaro
Thomas Petazzoni28bca1c2014-11-10 11:06:31 +010031 GCC 2014.09 (based on gcc 4.9), Linaro GDB 2013.10 (based on
32 GDB 7.6), eglibc 2.19, Binutils 2014.09 (based on 2.24). It
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010033 generates code that runs on all Cortex-A profile devices,
34 but tuned for the Cortex-A9. The code generated is Thumb 2,
35 with the hard floating point calling convention, and uses
36 the VFPv3-D16 FPU instructions.
37
Yann E. MORIN9b3b98b2015-10-27 00:49:39 +010038# See the note above.
39config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
40 bool "Linaro ARM 2015.08"
41 depends on BR2_arm
42 depends on BR2_ARM_CPU_ARMV7A
43 depends on BR2_HOSTARCH = "x86_64"
44 depends on BR2_ARM_EABIHF
45 depends on !BR2_STATIC_LIBS
46 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
47 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
48 select BR2_INSTALL_LIBSTDCPP
49 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
50 select BR2_TOOLCHAIN_GCC_AT_LEAST_5
51 help
52 Linaro toolchain for the ARM architecture. It uses Linaro
53 GCC 2015.08 (based on gcc 5.1), Linaro GDB 2015.08 (based on
54 GDB 7.10), glibc 2.21, Binutils 2015.10 (based on 2.25). It
55 generates code that runs on all Cortex-A profile devices,
56 but tuned for the Cortex-A9. The code generated is Thumb 2,
57 with the hard floating point calling convention, and uses
58 the VFPv3-D16 FPU instructions.
59
Yann E. MORIN997ef602015-10-27 00:49:40 +010060# See the note above.
Thomas Petazzonicd32da82014-03-05 23:23:40 +010061config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
Thomas Petazzoni28bca1c2014-11-10 11:06:31 +010062 bool "Linaro armeb 2014.09"
Thomas Petazzonicd32da82014-03-05 23:23:40 +010063 depends on BR2_armeb
Thomas Petazzoni29f68062014-10-21 22:27:06 +020064 depends on BR2_ARM_CPU_ARMV7A
Yann E. MORIN997ef602015-10-27 00:49:40 +010065 depends on BR2_HOSTARCH = "x86"
Thomas Petazzonicd32da82014-03-05 23:23:40 +010066 depends on BR2_ARM_EABIHF
Thomas Petazzoni665e13c2014-12-03 22:41:29 +010067 depends on !BR2_STATIC_LIBS
Thomas Petazzonicd32da82014-03-05 23:23:40 +010068 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
69 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
70 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzonicd32da82014-03-05 23:23:40 +010071 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
Thomas Petazzonibd760c32015-08-04 20:00:35 +020072 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
Thomas Petazzonicd32da82014-03-05 23:23:40 +010073 help
74 Linaro toolchain for the ARM big endian architecture. It
Thomas Petazzoni28bca1c2014-11-10 11:06:31 +010075 uses Linaro GCC 2014.09 (based on gcc 4.9), Linaro GDB
76 2013.10 (based on GDB 7.6), eglibc 2.19, Binutils 2014.09
Thomas Petazzonicd32da82014-03-05 23:23:40 +010077 (based on 2.24). It generates code that runs on all Cortex-A
78 profile devices, but tuned for the Cortex-A9. The code
79 generated is Thumb 2, with the hard floating point calling
80 convention, and uses the VFPv3-D16 FPU instructions.
81
Yann E. MORIN997ef602015-10-27 00:49:40 +010082# See the note above.
83config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
84 bool "Linaro armeb 2015.08"
85 depends on BR2_armeb
86 depends on BR2_ARM_CPU_ARMV7A
87 depends on BR2_HOSTARCH = "x86_64"
88 depends on BR2_ARM_EABIHF
89 depends on !BR2_STATIC_LIBS
90 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
91 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
92 select BR2_INSTALL_LIBSTDCPP
93 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
94 select BR2_TOOLCHAIN_GCC_AT_LEAST_5
95 help
96 Linaro toolchain for the ARM big endian architecture. It
97 uses Linaro GCC 2015.08 (based on gcc 5.1), Linaro GDB
98 2015.08 (based on GDB 7.10), glibc 2.21, Binutils 2015.10
99 (based on 2.25). It generates code that runs on all Cortex-A
100 profile devices, but tuned for the Cortex-A9. The code
101 generated is Thumb 2, with the hard floating point calling
102 convention, and uses the VFPv3-D16 FPU instructions.
103
Thomas Petazzoni93f3c042014-09-15 23:49:35 +0200104config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201405
105 bool "Sourcery CodeBench ARM 2014.05"
106 depends on BR2_arm
107 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
108 depends on BR2_ARM_EABI
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100109 depends on !BR2_STATIC_LIBS
Thomas Petazzoni93f3c042014-09-15 23:49:35 +0200110 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
111 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
112 select BR2_INSTALL_LIBSTDCPP
113 select BR2_HOSTARCH_NEEDS_IA32_LIBS
114 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200115 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
Thomas Petazzoni93f3c042014-09-15 23:49:35 +0200116 help
117 Sourcery CodeBench toolchain for the ARM architecture, from
118 Mentor Graphics. It uses gcc 4.8.3, binutils 2.24.51, glibc
119 2.18 and gdb 7.7.50, kernel headers 3.13. It has support
120 for the following variants:
121 - ARMv5TE, little endian, soft-float, glibc
122 Select ARM926T, ARM10T, XScale or another ARMv5 core
123 Select BR2_SOFT_FLOAT
124 - ARMv4T, little endian, soft-float, glibc
125 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
126 Select BR2_SOFT_FLOAT
127 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
128 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
129 Select BR2_SOFT_FLOAT
130 Set BR2_TARGET_OPTIMIZATION to -mthumb
131
Thomas Petazzonic5252312013-12-27 12:32:17 +0100132config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
133 bool "Sourcery CodeBench ARM 2013.11"
134 depends on BR2_arm
135 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
136 depends on BR2_ARM_EABI
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100137 depends on !BR2_STATIC_LIBS
Thomas Petazzonibe4f30a2014-04-13 21:58:57 +0200138 select BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # based-on gcc-4.8.1
Samuel Martina1a86eb2014-03-08 15:38:31 +0100139 select BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # based-on gcc-4.8.1
Thomas Petazzonic5252312013-12-27 12:32:17 +0100140 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
141 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
142 select BR2_INSTALL_LIBSTDCPP
143 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100144 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200145 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
Thomas Petazzonic5252312013-12-27 12:32:17 +0100146 help
147 Sourcery CodeBench toolchain for the ARM architecture, from
148 Mentor Graphics. It uses gcc 4.8.1, binutils 2.23.52, glibc
149 2.18 and gdb 7.6.50, kernel headers 3.11. It has support
150 for the following variants:
151 - ARMv5TE, little endian, soft-float, glibc
152 Select ARM926T, ARM10T, XScale or another ARMv5 core
153 Select BR2_SOFT_FLOAT
154 - ARMv4T, little endian, soft-float, glibc
155 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
156 Select BR2_SOFT_FLOAT
157 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
158 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
159 Select BR2_SOFT_FLOAT
160 Set BR2_TARGET_OPTIMIZATION to -mthumb
161
Fabio Porcedda786700e2013-05-26 12:08:19 +0000162config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
163 bool "Sourcery CodeBench ARM 2013.05"
164 depends on BR2_arm
165 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200166 depends on BR2_ARM_EABI
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100167 depends on !BR2_STATIC_LIBS
Thomas Petazzoni85082ca2014-05-12 23:10:35 +0200168 select BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # based-on gcc-4.7.3
Fabio Porcedda786700e2013-05-26 12:08:19 +0000169 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
170 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
171 select BR2_INSTALL_LIBSTDCPP
172 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100173 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200174 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
Fabio Porcedda786700e2013-05-26 12:08:19 +0000175 help
176 Sourcery CodeBench toolchain for the ARM architecture, from
177 Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52, glibc
178 2.17 and gdb 7.4.50, kernel headers 3.8.2. It has support
179 for the following variants:
180 - ARMv5TE, little endian, soft-float, glibc
181 Select ARM926T, ARM10T, XScale or another ARMv5 core
182 Select BR2_SOFT_FLOAT
183 - ARMv4T, little endian, soft-float, glibc
184 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
185 Select BR2_SOFT_FLOAT
186 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
187 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
188 Select BR2_SOFT_FLOAT
189 Set BR2_TARGET_OPTIMIZATION to -mthumb
190
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200191comment "Sourcery CodeBench toolchains available for the EABI ABI"
192 depends on BR2_arm
193 depends on !BR2_ARM_EABI
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100194 depends on !BR2_STATIC_LIBS
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200195
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200196config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
197 bool "Arago ARMv7 2011.09"
198 depends on BR2_arm
199 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni29f68062014-10-21 22:27:06 +0200200 depends on BR2_ARM_CPU_ARMV7A
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200201 depends on BR2_ARM_EABI
202 depends on BR2_ARM_CPU_HAS_VFPV3 || BR2_ARM_CPU_MAYBE_HAS_VFPV3
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100203 depends on !BR2_STATIC_LIBS
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200204 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
205 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
206 select BR2_INSTALL_LIBSTDCPP
207 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200208 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100209 # kernel headers: 2.6.31
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200210 help
211 Texas Instruments Arago 2011.09 toolchain, with gcc 4.5.3,
212 binutils 2.20.1, glibc 2.12, gdb 7.2.
213
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200214 This toolchain uses -mfloat-abi=softfp (i.e can use FPU
215 instructions, but passes floating point function arguments
216 in integer registers), and requires a VFPv3 floating point
217 unit to work properly. This unit is available on most
218 Cortex-A ARM processors, but not all.
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200219
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200220config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
221 bool "Arago ARMv5 2011.09"
222 depends on BR2_arm
223 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni29f68062014-10-21 22:27:06 +0200224 depends on !BR2_ARM_CPU_ARMV4
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200225 depends on BR2_ARM_EABI
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100226 depends on !BR2_STATIC_LIBS
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
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200231 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100232 # kernel headers: 2.6.31
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200233 help
234 Texas Instruments Arago ARMv5 2011.09 toolchain, with gcc
235 4.5.3, binutils 2.20.1, glibc 2.12, gdb 7.2.
236
237 This toolchain uses software-floating point.
238
Vicente Olivert Riera9f4ec372015-06-04 17:03:43 +0100239config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201505
240 bool "Sourcery CodeBench MIPS 2015.05"
241 depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
Vicente Olivert Riera99f80842015-10-16 17:00:01 +0100242 depends on BR2_mips_32r2 || BR2_mips_64r2
Vicente Olivert Riera9f4ec372015-06-04 17:03:43 +0100243 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
244 depends on !BR2_MIPS_NABI32
245 depends on !BR2_STATIC_LIBS
246 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
247 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
248 select BR2_INSTALL_LIBSTDCPP
249 select BR2_HOSTARCH_NEEDS_IA32_LIBS
250 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200251 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
Vicente Olivert Riera9f4ec372015-06-04 17:03:43 +0100252 help
253 Sourcery CodeBench toolchain for the MIPS architecture, from
254 Mentor Graphics. It uses gcc 4.9.2, binutils 2.24.51, glibc
255 2.21, uClibc 0.9.30 and gdb 7.7.50, kernel headers 3.19. It
256 has support for the following variants:
257 - MIPS32r2 - Big-Endian, 2008 NaN, O32
258 Select MIPS (big endian) core
259 Disable BR2_SOFT_FLOAT
260 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
261 - MIPS32r2 - Big-Endian, O32
262 Select MIPS (big endian) core
263 Disable BR2_SOFT_FLOAT
264 - MIPS32r2 - Big-Endian, O32, MIPS16
265 Select MIPS (big endian) core
266 Disable BR2_SOFT_FLOAT
267 Set BR2_TARGET_OPTIMIZATION to -mips16
268 - MIPS32r2 - Big-Endian, Soft-Float, O32
269 Select MIPS (big endian) core
270 Select BR2_SOFT_FLOAT
271 - MIPS32r2 - Big-Endian, Soft-Float, O32, MIPS16
272 Select MIPS (big endian) core
273 Select BR2_SOFT_FLOAT
274 Set BR2_TARGET_OPTIMIZATION to -mips16
275 - MIPS32r2 - Little-Endian, 2008 NaN, O32
276 Select MIPS (little endian) core
277 Disable BR2_SOFT_FLOAT
278 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
279 - MIPS32r2 - Little-Endian, O32
280 Select MIPS (little endian) core
281 Disable BR2_SOFT_FLOAT
282 - MIPS32r2 - Little-Endian, O32, MIPS16
283 Select MIPS (little endian) core
284 Disable BR2_SOFT_FLOAT
285 Set BR2_TARGET_OPTIMIZATION to -mips16
286 - MIPS32r2 - Little-Endian, Soft-Float, O32
287 Select MIPS (little endian) core
288 Select BR2_SOFT_FLOAT
289 - MIPS32r2 - Little-Endian, Soft-Float, O32, MIPS16
290 Select MIPS (little endian) core
291 Select BR2_SOFT_FLOAT
292 Set BR2_TARGET_OPTIMIZATION to -mips16
293 - MIPS32r2 - Little-Endian, Soft-Float, O32, microMIPS
294 Select MIPS (little endian) core
295 Select BR2_SOFT_FLOAT
296 Set BR2_TARGET_OPTIMIZATION to -mmicromips
297 - MIPS32r2 - uClibc, Big-Endian, 2008 NaN, O32
298 Not usable in Buildroot yet.
299 - MIPS32r2 - uClibc, Big-Endian, O32
300 Not usable in Buildroot yet.
301 - MIPS32r2 - uClibc, Big-Endian, Soft-Float, O32
302 Not usable in Buildroot yet.
303 - MIPS32r2 - uClibc, Little-Endian, 2008 NaN, O32
304 Not usable in Buildroot yet.
305 - MIPS32r2 - uClibc, Little-Endian, O32
306 Not usable in Buildroot yet.
307 - MIPS32r2 - uClibc, Little-Endian, Soft-Float, O32
308 Not usable in Buildroot yet.
309 - MIPS64r2 - Big-Endian, N64
310 Select MIPS64 (big endian) core
311 Select the n64 ABI
312 Disable BR2_SOFT_FLOAT
313 - MIPS64r2 - Big-Endian, Soft-Float, N64
314 Select MIPS64 (big endian) core
315 Select the n64 ABI
316 Select BR2_SOFT_FLOAT
317 - MIPS64r2 - Little-Endian, N64
318 Select MIPS64 (little endian) core
319 Select the n64 ABI
320 Disable BR2_SOFT_FLOAT
321 - MIPS64r2 - Little-Endian, Soft-Float, N64
322 Select MIPS64 (little endian) core
323 Select the n64 ABI
324 Select BR2_SOFT_FLOAT
325
Vicente Olivert Riera8b3b60c2014-12-03 16:52:25 +0000326config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201411
327 bool "Sourcery CodeBench MIPS 2014.11"
328 depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
Vicente Olivert Riera99f80842015-10-16 17:00:01 +0100329 depends on BR2_mips_32r2 || BR2_mips_64r2
Vicente Olivert Riera8b3b60c2014-12-03 16:52:25 +0000330 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
331 depends on !BR2_MIPS_NABI32
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100332 depends on !BR2_STATIC_LIBS
Vicente Olivert Riera8b3b60c2014-12-03 16:52:25 +0000333 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
334 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
335 select BR2_INSTALL_LIBSTDCPP
336 select BR2_HOSTARCH_NEEDS_IA32_LIBS
337 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200338 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
Vicente Olivert Riera8b3b60c2014-12-03 16:52:25 +0000339 help
340 Sourcery CodeBench toolchain for the MIPS architecture, from
341 Mentor Graphics. It uses gcc 4.9.1, binutils 2.24.51, glibc
342 2.20, uClibc 0.9.30 and gdb 7.7.50, kernel headers 3.16.2. It
343 has support for the following variants:
344 - MIPS32r2 - Big-Endian, 2008 NaN, O32
345 Select MIPS (big endian) core
346 Disable BR2_SOFT_FLOAT
347 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
348 - MIPS32r2 - Big-Endian, O32
349 Select MIPS (big endian) core
350 Disable BR2_SOFT_FLOAT
351 - MIPS32r2 - Big-Endian, O32, MIPS16
352 Select MIPS (big endian) core
353 Disable BR2_SOFT_FLOAT
354 Set BR2_TARGET_OPTIMIZATION to -mips16
355 - MIPS32r2 - Big-Endian, Soft-Float, O32
356 Select MIPS (big endian) core
357 Select BR2_SOFT_FLOAT
358 - MIPS32r2 - Big-Endian, Soft-Float, O32, MIPS16
359 Select MIPS (big endian) core
360 Select BR2_SOFT_FLOAT
361 Set BR2_TARGET_OPTIMIZATION to -mips16
362 - MIPS32r2 - Little-Endian, 2008 NaN, O32
363 Select MIPS (little endian) core
364 Disable BR2_SOFT_FLOAT
365 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
366 - MIPS32r2 - Little-Endian, O32
367 Select MIPS (little endian) core
368 Disable BR2_SOFT_FLOAT
369 - MIPS32r2 - Little-Endian, O32, MIPS16
370 Select MIPS (little endian) core
371 Disable BR2_SOFT_FLOAT
372 Set BR2_TARGET_OPTIMIZATION to -mips16
373 - MIPS32r2 - Little-Endian, Soft-Float, O32
374 Select MIPS (little endian) core
375 Select BR2_SOFT_FLOAT
376 - MIPS32r2 - Little-Endian, Soft-Float, O32, MIPS16
377 Select MIPS (little endian) core
378 Select BR2_SOFT_FLOAT
379 Set BR2_TARGET_OPTIMIZATION to -mips16
380 - MIPS32r2 - Little-Endian, Soft-Float, O32, microMIPS
381 Select MIPS (little endian) core
382 Select BR2_SOFT_FLOAT
383 Set BR2_TARGET_OPTIMIZATION to -mmicromips
384 - MIPS32r2 - uClibc, Big-Endian, 2008 NaN, O32
385 Not usable in Buildroot yet.
386 - MIPS32r2 - uClibc, Big-Endian, O32
387 Not usable in Buildroot yet.
388 - MIPS32r2 - uClibc, Big-Endian, Soft-Float, O32
389 Not usable in Buildroot yet.
390 - MIPS32r2 - uClibc, Little-Endian, 2008 NaN, O32
391 Not usable in Buildroot yet.
392 - MIPS32r2 - uClibc, Little-Endian, O32
393 Not usable in Buildroot yet.
394 - MIPS32r2 - uClibc, Little-Endian, Soft-Float, O32
395 Not usable in Buildroot yet.
396 - MIPS64r2 - Big-Endian, N64
397 Select MIPS64 (big endian) core
398 Select the n64 ABI
399 Disable BR2_SOFT_FLOAT
400 - MIPS64r2 - Big-Endian, Soft-Float, N64
401 Select MIPS64 (big endian) core
402 Select the n64 ABI
403 Select BR2_SOFT_FLOAT
404 - MIPS64r2 - Little-Endian, N64
405 Select MIPS64 (little endian) core
406 Select the n64 ABI
407 Disable BR2_SOFT_FLOAT
408 - MIPS64r2 - Little-Endian, Soft-Float, N64
409 Select MIPS64 (little endian) core
410 Select the n64 ABI
411 Select BR2_SOFT_FLOAT
412
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200413config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201405
414 bool "Sourcery CodeBench MIPS 2014.05"
415 depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
Vicente Olivert Riera99f80842015-10-16 17:00:01 +0100416 depends on BR2_mips_32r2 || BR2_mips_64r2
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200417 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
418 depends on !BR2_MIPS_NABI32
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100419 depends on !BR2_STATIC_LIBS
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200420 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
421 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
422 select BR2_INSTALL_LIBSTDCPP
423 select BR2_HOSTARCH_NEEDS_IA32_LIBS
424 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200425 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200426 help
427 Sourcery CodeBench toolchain for the MIPS architecture, from
428 Mentor Graphics. It uses gcc 4.8.3, binutils 2.24.51, glibc
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000429 2.18, uClibc 0.9.30 and gdb 7.7.50, kernel headers 3.13. It
430 has support for the following variants:
431 - MIPS32r2 - Big-Endian, 2008 NaN, O32
432 Select MIPS (big endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200433 Disable BR2_SOFT_FLOAT
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000434 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
435 - MIPS32r2 - Big-Endian, O32
436 Select MIPS (big endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200437 Disable BR2_SOFT_FLOAT
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000438 - MIPS32r2 - Big-Endian, O32, MIPS16
439 Select MIPS (big endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200440 Disable BR2_SOFT_FLOAT
441 Set BR2_TARGET_OPTIMIZATION to -mips16
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000442 - MIPS32r2 - Big-Endian, Soft-Float, O32
443 Select MIPS (big endian) core
444 Select BR2_SOFT_FLOAT
445 - MIPS32r2 - Big-Endian, Soft-Float, O32, MIPS16
446 Select MIPS (big endian) core
447 Select BR2_SOFT_FLOAT
448 Set BR2_TARGET_OPTIMIZATION to -mips16
449 - MIPS32r2 - Little-Endian, 2008 NaN, O32
450 Select MIPS (little endian) core
451 Disable BR2_SOFT_FLOAT
452 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
453 - MIPS32r2 - Little-Endian, O32
454 Select MIPS (little endian) core
455 Disable BR2_SOFT_FLOAT
456 - MIPS32r2 - Little-Endian, O32, MIPS16
457 Select MIPS (little endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200458 Disable BR2_SOFT_FLOAT
459 Set BR2_TARGET_OPTIMIZATION to -mips16
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000460 - MIPS32r2 - Little-Endian, Soft-Float, O32
461 Select MIPS (little endian) core
462 Select BR2_SOFT_FLOAT
463 - MIPS32r2 - Little-Endian, Soft-Float, O32, MIPS16
464 Select MIPS (little endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200465 Select BR2_SOFT_FLOAT
466 Set BR2_TARGET_OPTIMIZATION to -mips16
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000467 - MIPS32r2 - Little-Endian, Soft-Float, O32, microMIPS
468 Select MIPS (little endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200469 Select BR2_SOFT_FLOAT
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000470 Set BR2_TARGET_OPTIMIZATION to -mmicromips
471 - MIPS32r2 - uClibc, Big-Endian, 2008 NaN, O32
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200472 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000473 - MIPS32r2 - uClibc, Big-Endian, O32
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200474 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000475 - MIPS32r2 - uClibc, Big-Endian, Soft-Float, O32
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200476 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000477 - MIPS32r2 - uClibc, Little-Endian, 2008 NaN, O32
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200478 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000479 - MIPS32r2 - uClibc, Little-Endian, O32
480 Not usable in Buildroot yet.
481 - MIPS32r2 - uClibc, Little-Endian, Soft-Float, O32
482 Not usable in Buildroot yet.
483 - MIPS64r2 - Big-Endian, N64
484 Select MIPS64 (big endian) core
485 Select the n64 ABI
486 Disable BR2_SOFT_FLOAT
487 - MIPS64r2 - Big-Endian, Soft-Float, N64
488 Select MIPS64 (big endian) core
489 Select the n64 ABI
490 Select BR2_SOFT_FLOAT
491 - MIPS64r2 - Little-Endian, N64
492 Select MIPS64 (little endian) core
493 Select the n64 ABI
494 Disable BR2_SOFT_FLOAT
495 - MIPS64r2 - Little-Endian, Soft-Float, N64
496 Select MIPS64 (little endian) core
497 Select the n64 ABI
498 Select BR2_SOFT_FLOAT
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200499
Markos Chandras6f70ba32013-08-13 09:45:44 +0100500comment "Sourcery CodeBench toolchains are only available for MIPS/MIPS64 o32 and n64"
501 depends on BR2_MIPS_NABI32
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100502 depends on !BR2_STATIC_LIBS
Markos Chandras6f70ba32013-08-13 09:45:44 +0100503
Romain Naourc785b1b2015-11-21 17:36:16 +0100504config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
Romain Naoure7e5a762015-11-21 17:36:17 +0100505 bool "Sourcery CodeBench Nios-II 2015.11"
Ezequiel García3ca5f0b2014-08-31 18:33:39 -0300506 depends on BR2_nios2
507 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100508 depends on !BR2_STATIC_LIBS
Ezequiel García3ca5f0b2014-08-31 18:33:39 -0300509 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
510 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
511 select BR2_INSTALL_LIBSTDCPP
512 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Romain Naoure7e5a762015-11-21 17:36:17 +0100513 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
514 select BR2_TOOLCHAIN_GCC_AT_LEAST_5
Ezequiel García3ca5f0b2014-08-31 18:33:39 -0300515 help
516 Sourcery CodeBench toolchain for the Nios-II architecture,
Romain Naoure7e5a762015-11-21 17:36:17 +0100517 from Mentor Graphics. It uses gcc 5.2, binutils 2.25.51,
518 glibc 2.22, gdb 7.10.50 and kernel headers 4.2.
Ezequiel García3ca5f0b2014-08-31 18:33:39 -0300519
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +0200520config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201203
521 bool "Sourcery CodeBench PowerPC 2012.03"
522 depends on BR2_powerpc
523 depends on BR2_powerpc_SPE
524 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100525 depends on !BR2_STATIC_LIBS
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +0200526 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
527 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
528 select BR2_INSTALL_LIBSTDCPP
529 select BR2_HOSTARCH_NEEDS_IA32_LIBS
530 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200531 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +0200532 help
533 Sourcery CodeBench toolchain for the PowerPC architecture,
534 from Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53,
535 glibc 2.15, gdb 7.2.50 and kernel headers 3.2.10. It has
536 support for the following variants:
537 - e500v2 glibc, SPE, 32 bits
538
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100539config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
540 bool "Sourcery CodeBench PowerPC 2011.03"
541 depends on BR2_powerpc
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000542 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100543 depends on !BR2_STATIC_LIBS
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100544 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100545 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100546 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000547 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100548 # kernel headers: 2.6.38
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200549 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100550 help
551 Sourcery CodeBench toolchain for the PowerPC architecture,
552 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20.51,
553 glibc 2.13, gdb 7.2.50 and kernel headers 2.6.38. It has
554 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200555 - 603 glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100556 Select a generic PowerPC core
557 Disable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200558 - 603 soft float glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100559 Select a generic PowerPC core
560 Enable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200561 - e600 altivec glibc, 32 bits
562 Set BR2_TARGET_OPTIMIZATION to -te600
563 - e500v1 glibc, 32 bits
564 Set BR2_TARGET_OPTIMIZATION to -te500v1
565 - e500v2 glibc, 32 bits
566 Set BR2_TARGET_OPTIMIZATION to -te500v2
567 - e500mc glibc, 32 bits
568 Set BR2_TARGET_OPTIMIZATION to -te500mc
569 - 970 glibc hard-float, 64 bits
570 Set BR2_TARGET_OPTIMIZATION to -m64
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100571
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100572config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200573 bool "Sourcery CodeBench PowerPC 2010.09"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100574 depends on BR2_powerpc
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000575 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100576 depends on !BR2_STATIC_LIBS
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100577 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100578 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni6b578c82010-12-13 17:27:41 +0100579 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000580 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100581 # kernel headers: 2.6.35
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200582 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100583 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200584 Sourcery CodeBench toolchain for the PowerPC architecture,
Thomas Petazzoni2ec3e6d2012-01-15 20:02:11 +0100585 from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200586 glibc 2.11, gdb 7.2.50 and kernel headers 2.6.35.2. It has
587 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200588 - 603 glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100589 Select a generic PowerPC core
590 Disable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200591 - 603 soft float glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100592 Select a generic PowerPC core
593 Enable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200594 - e600 altivec glibc, 32 bits
595 Set BR2_TARGET_OPTIMIZATION to -te600
596 - e500v1 glibc, 32 bits
597 Set BR2_TARGET_OPTIMIZATION to -te500v1
598 - e500v2 glibc, 32 bits
599 Set BR2_TARGET_OPTIMIZATION to -te500v2
600 - e500mc glibc, 32 bits
601 Set BR2_TARGET_OPTIMIZATION to -te500mc
602 - 970 glibc hard-float, 64 bits
603 Set BR2_TARGET_OPTIMIZATION to -m64
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100604
Thomas Petazzonie067a442012-11-04 07:34:21 +0000605config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
606 bool "Sourcery CodeBench SH 2012.09"
607 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000608 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100609 depends on !BR2_STATIC_LIBS
Thomas Petazzonie067a442012-11-04 07:34:21 +0000610 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
611 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
612 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000613 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100614 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200615 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
Thomas Petazzonie067a442012-11-04 07:34:21 +0000616 help
617 Sourcery CodeBench toolchain for the SuperH architecture,
618 from Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51,
619 glibc 2.16, uClibc 0.9.30, gdb 7.4.50 and kernel headers
620 3.5.4. It has support for the following variants:
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +0100621 - SH4A, glibc, little endian
622 Default.
623 - SH4A, glibc, big endian
624 Add -mb to BR2_TARGET_OPTIMIZATION
625 - SH4A, uClibc, little endian
626 Not usable in Buildroot yet.
627 - SH4A, uClibc, big endian
628 Not usable in Buildroot yet.
Thomas Petazzonie067a442012-11-04 07:34:21 +0000629
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000630config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
631 bool "Sourcery CodeBench SH 2012.03"
632 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000633 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100634 depends on !BR2_STATIC_LIBS
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000635 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
636 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000637 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100638 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200639 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000640 help
641 Sourcery CodeBench toolchain for the SuperH architecture,
642 from Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53,
643 glibc 2.15, uClibc 0.9.30, gdb 7.2.50 and kernel headers
644 3.2.10. It has support for the following variants:
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +0100645 - SH4A, glibc, little endian
646 Default.
647 - SH4A, glibc, big endian
648 Add -mb to BR2_TARGET_OPTIMIZATION
649 - SH4A, uClibc, little endian
650 Not usable in Buildroot yet.
651 - SH4A, uClibc, big endian
652 Not usable in Buildroot yet.
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000653
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200654config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200655 bool "Sourcery CodeBench SH 2011.03"
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200656 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000657 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100658 depends on !BR2_STATIC_LIBS
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200659 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100660 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200661 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000662 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100663 # kernel headers: 2.6.38
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200664 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200665 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200666 Sourcery CodeBench toolchain for the SuperH architecture,
667 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
668 glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers
669 2.6.38. It has support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200670 - SH4A, glibc, little endian
671 Default.
672 - SH4A, glibc, big endian
673 Add -mb to BR2_TARGET_OPTIMIZATION
674 - SH4A, uClibc, little endian
675 Not usable in Buildroot yet.
676 - SH4A, uClibc, big endian
677 Not usable in Buildroot yet.
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200678
Romain Naour23ba8182015-11-21 17:36:14 +0100679config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64
Romain Naour09f1a3b2015-11-21 17:36:15 +0100680 bool "Sourcery CodeBench AMD64 2015.11"
Gustavo Zacariasd6fbd852015-03-03 12:52:31 -0300681 depends on BR2_x86_64
682 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
683 depends on !BR2_STATIC_LIBS
684 depends on BR2_x86_jaguar || BR2_x86_steamroller
685 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
686 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
687 select BR2_INSTALL_LIBSTDCPP
688 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Romain Naour09f1a3b2015-11-21 17:36:15 +0100689 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
690 select BR2_TOOLCHAIN_GCC_AT_LEAST_5
Gustavo Zacariasd6fbd852015-03-03 12:52:31 -0300691 help
692 Sourcery CodeBench toolchain for the amd64 (x86_64)
Romain Naour09f1a3b2015-11-21 17:36:15 +0100693 architectures, from Mentor Graphics. It uses gcc 5.2,
694 binutils 2.25.51, glibc 2.22, gdb 7.10.50 and kernel headers
695 4.2. It has support for the following variants:
Gustavo Zacariasd6fbd852015-03-03 12:52:31 -0300696 - AMD Puma/Jaguar (family 16h), glibc
697 Default for x86_64, nothing special to do.
698 - AMD Steamroller (family 15h), glibc
699 Select a steamroller core.
700 No other architecture variants are supported since glibc
701 is optimized for one of these two baselines.
702
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000703config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
704 bool "Sourcery CodeBench x86/x86_64 2012.09"
705 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000706 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100707 depends on !BR2_STATIC_LIBS
Adrien Bérauda20cb382014-01-15 17:17:10 -0500708 depends on !BR2_x86_jaguar
Gustavo Zacarias50451992015-03-03 12:52:30 -0300709 depends on !BR2_x86_steamroller
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000710 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
711 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
712 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000713 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100714 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200715 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000716 help
717 Sourcery CodeBench toolchain for the x86/x86_64
718 architectures, from Mentor Graphics. It uses gcc 4.7.2,
719 binutils 2.23.51, glibc 2.16, gdb 7.4.50 and kernel headers
720 3.5.4. It has support for the following variants:
721 - Intel Pentium 4, glibc, 32 bits
722 Default for x86, nothing special to do.
723 - Intel Atom, glibc, 32 bits
724 Select an Atom core
725 - Intel Xeon, glibc, 64 bits
726 Default for x86_64, nothing special to do.
727 - Intel Core 2, glibc, 64 bits
728 Select a Core 2 core
729 Other architecture variants (beyond Pentium-4/Xeon) are
730 supported as well, but glibc is not optimised for it.
731
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000732config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
733 bool "Sourcery CodeBench x86/x86_64 2012.03"
734 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000735 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100736 depends on !BR2_STATIC_LIBS
Adrien Bérauda20cb382014-01-15 17:17:10 -0500737 depends on !BR2_x86_jaguar
Gustavo Zacarias50451992015-03-03 12:52:30 -0300738 depends on !BR2_x86_steamroller
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000739 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
740 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000741 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100742 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200743 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000744 help
745 Sourcery CodeBench toolchain for the x86/x86_64
746 architectures, from Mentor Graphics. It uses gcc 4.6.3,
747 binutils 2.21.53, glibc 2.15, gdb 7.2.50 and kernel headers
748 3.2.10. It has support for the following variants:
749 - Intel Pentium 4, glibc, 32 bits
750 Default for x86, nothing special to do.
751 - Intel Atom, glibc, 32 bits
752 Select an Atom core
753 - Intel Xeon, glibc, 64 bits
754 Default for x86_64, nothing special to do.
755 - Intel Core 2, glibc, 64 bits
756 Select a Core 2 core
757 Other architecture variants (beyond Pentium-4/Xeon) are
758 supported as well, but glibc is not optimised for it.
759
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100760config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
761 bool "Sourcery CodeBench x86/x86_64 2011.09"
762 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000763 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100764 depends on !BR2_STATIC_LIBS
Adrien Bérauda20cb382014-01-15 17:17:10 -0500765 depends on !BR2_x86_jaguar
Gustavo Zacarias50451992015-03-03 12:52:30 -0300766 depends on !BR2_x86_steamroller
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100767 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100768 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100769 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000770 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100771 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200772 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100773 help
774 Sourcery CodeBench toolchain for the x86/x86_64
775 architectures, from Mentor Graphics. It uses gcc 4.6.1,
776 binutils 2.21.53, glibc 2.13, gdb 7.2.50 and kernel headers
777 3.0.1. It has support for the following variants:
778 - Intel Pentium 4, glibc, 32 bits
Arnout Vandecappelle (Essensium/Mind)a22dc0f2012-03-13 23:30:00 +0100779 Default for x86, nothing special to do.
780 - Intel Atom, glibc, 32 bits
781 Select an Atom core
782 - Intel Xeon, glibc, 64 bits
783 Default for x86_64, nothing special to do.
784 - Intel Core 2, glibc, 64 bits
785 Select a Core 2 core
786 Other architecture variants (beyond Pentium-4/Xeon) are
787 supported as well, but glibc is not optimised for it.
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100788
Thomas Petazzoni1cfeed12014-07-09 23:20:22 +0200789config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1
790 bool "Blackfin.uclinux.org 2014R1"
Thomas Petazzoni5a65b8e2014-06-01 12:47:48 +0200791 depends on BR2_bfin
792 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
793 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
794 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni5a65b8e2014-06-01 12:47:48 +0200795 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
796 select BR2_USE_WCHAR
797 select BR2_TOOLCHAIN_HAS_THREADS
798 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
799 select BR2_HOSTARCH_NEEDS_IA32_LIBS
800 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200801 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
Thomas Petazzoni5a65b8e2014-06-01 12:47:48 +0200802 help
803 Toolchain for the Blackfin architecture, from
804 http://blackfin.uclinux.org.
805
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100806config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1
807 bool "Blackfin.uclinux.org 2013R1"
808 depends on BR2_bfin
809 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
810 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
811 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100812 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
813 select BR2_USE_WCHAR
814 select BR2_TOOLCHAIN_HAS_THREADS
815 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
816 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100817 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200818 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100819 help
820 Toolchain for the Blackfin architecture, from
821 http://blackfin.uclinux.org.
822
Yann E. MORIN24bfce02015-10-27 00:49:41 +0100823# See note about Linar ARM/ARMEB toolchains, above.
Thomas Petazzonid51025d2014-06-01 12:47:41 +0200824config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
Thomas Petazzoni28bca1c2014-11-10 11:06:31 +0100825 bool "Linaro AArch64 14.09"
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100826 depends on BR2_aarch64
Yann E. MORIN24bfce02015-10-27 00:49:41 +0100827 depends on BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100828 depends on !BR2_STATIC_LIBS
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100829 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
830 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100831 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100832 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200833 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100834 help
835 Toolchain for the AArch64 architecture, from
836 http://www.linaro.org/engineering/armv8/
837
Yann E. MORIN24bfce02015-10-27 00:49:41 +0100838# See note about Linar ARM/ARMEB toolchains, above.
839config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
840 bool "Linaro AArch64 2015.08"
841 depends on BR2_aarch64
842 depends on BR2_HOSTARCH = "x86_64"
843 depends on !BR2_STATIC_LIBS
844 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
845 select BR2_INSTALL_LIBSTDCPP
846 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
847 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
848 select BR2_TOOLCHAIN_GCC_AT_LEAST_5
849 help
850 Toolchain for the AArch64 architecture, from
851 http://www.linaro.org/engineering/armv8/
852
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200853config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
854 bool "CodeSourcery AArch64 2014.05"
855 depends on BR2_aarch64
856 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100857 depends on !BR2_STATIC_LIBS
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200858 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
859 select BR2_INSTALL_LIBSTDCPP
860 select BR2_HOSTARCH_NEEDS_IA32_LIBS
861 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
862 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200863 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200864 help
865 Sourcery CodeBench toolchain for the AArch64 architecture,
866 from Mentor Graphics. It uses gcc 4.8.3, binutils 2.24,
867 glibc 2.18, gdb 7.7.50 and kernel headers 3.13.
868
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200869config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS
Peter Korsgaard3ed34ff2015-05-04 16:01:37 +0200870 bool "Musl 1.1.6 toolchain (experimental)"
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200871 depends on (BR2_arm && BR2_ARM_EABI) || (BR2_armeb && BR2_ARM_EABI) || \
Thomas Petazzoni77ef6a32014-05-30 22:24:39 +0200872 (BR2_i386 && !BR2_x86_i386) || BR2_microblazebe || BR2_mips || \
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200873 BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || BR2_x86_64
874 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Vicente Olivert Riera99122d62015-10-12 11:08:06 +0100875 # Unsupported for MIPS R6
876 depends on !BR2_mips_32r6 && !BR2_mips_64r6
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200877 select BR2_TOOLCHAIN_EXTERNAL_MUSL
878 select BR2_INSTALL_LIBSTDCPP
879 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni5c852662014-06-01 12:47:45 +0200880 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200881 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200882 help
883 Toolchain based on the Musl C library, provided by the
Will Wagner2e313e12015-04-23 14:27:10 +0100884 musl-cross project. It uses gcc 4.9.2, binutils 2.25 and
885 musl 1.1.6. It does not have a cross debugger included.
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200886
887 The ARM toolchain is built for ARMv4t, soft-float.
888 The x86 toolchain is built for i486.
889
890 http://musl.codu.org/
891
Alexey Brodkin2b93fe52015-03-10 14:50:24 +0300892config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_2014_12
893 bool "Synopsys ARC 2014.12 toolchain"
894 depends on BR2_arc
895 depends on BR2_HOSTARCH = "x86_64"
Thomas Petazzonicd3c00f2015-05-01 11:13:54 +0200896 # does not provide IPv6, and lacks many uClibc features
897 # expected by Buildroot. The next Synopsys toolchain version
898 # should fix those problems.
899 depends on BROKEN
Alexey Brodkin2b93fe52015-03-10 14:50:24 +0300900 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
901 select BR2_INSTALL_LIBSTDCPP
Alexey Brodkin2b93fe52015-03-10 14:50:24 +0300902 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
903 select BR2_ENABLE_LOCALE
904 select BR2_USE_WCHAR
905 select BR2_TOOLCHAIN_HAS_THREADS
906 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
907 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200908 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
Alexey Brodkin2b93fe52015-03-10 14:50:24 +0300909 help
910 Toolchain for the ARC cores, from
911 https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases
912
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100913config BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200914 bool "Custom toolchain"
915 help
916 Use this option to use a custom toolchain pre-installed on
917 your system.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100918
919endchoice
920
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200921choice
922 prompt "Toolchain origin"
Thomas Petazzoni70194072012-07-22 20:57:26 +0200923 # Keep compatibility with old defconfig files that are using
924 # custom toolchains, and which are therefore assuming that
925 # "preinstalled" in the default choice.
926 default BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200927
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100928config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200929 bool "Toolchain to be downloaded and installed"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100930 help
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200931 Select this option if you want Buildroot to download and install the
932 toolchain. If you have selected a custom toolchain, specify the URL
933 in BR2_TOOLCHAIN_EXTERNAL_URL.
934
935config BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
936 bool "Pre-installed toolchain"
937 help
938 Select this option if you want to use a pre-installed toolchain.
939 Specify the path to this toolchain in BR2_TOOLCHAIN_EXTERNAL_PATH.
940
941endchoice
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100942
943config BR2_TOOLCHAIN_EXTERNAL_PATH
944 string "Toolchain path"
945 default "/path/to/toolchain/usr"
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200946 depends on BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100947 help
948 Path to where the external toolchain is installed.
949
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200950config BR2_TOOLCHAIN_EXTERNAL_URL
951 string "Toolchain URL"
952 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM && BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
953 help
954 URL of the custom toolchain tarball to download and install.
955
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100956config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
957 string "Toolchain prefix"
958 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM
959 default "$(ARCH)-linux"
960
961config BR2_TOOLCHAIN_EXTERNAL_PREFIX
962 string
Alexey Brodkin2b93fe52015-03-10 14:50:24 +0300963 default "arc-linux" if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_2014_12 && BR2_arcle
964 default "arceb-linux" if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_2014_12 && BR2_arceb
Thomas Petazzonibe2abf22014-06-01 12:47:40 +0200965 default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
Thomas Petazzonicd32da82014-03-05 23:23:40 +0100966 default "armeb-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
Fabio Porcedda786700e2013-05-26 12:08:19 +0000967 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
Thomas Petazzonic5252312013-12-27 12:32:17 +0100968 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
Thomas Petazzoni93f3c042014-09-15 23:49:35 +0200969 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201405
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200970 default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200971 default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
Thomas Petazzonid51025d2014-06-01 12:47:41 +0200972 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200973 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200974 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201405
Vicente Olivert Riera8b3b60c2014-12-03 16:52:25 +0000975 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201411
Vicente Olivert Riera9f4ec372015-06-04 17:03:43 +0100976 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201505
Romain Naourc785b1b2015-11-21 17:36:16 +0100977 default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100978 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100979 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +0200980 default "powerpc-mentor-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201203
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200981 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000982 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
Thomas Petazzonie067a442012-11-04 07:34:21 +0000983 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100984 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000985 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000986 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
Romain Naour23ba8182015-11-21 17:36:14 +0100987 default "x86_64-amd-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100988 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FLAT
989 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FDPIC
Thomas Petazzoni1cfeed12014-07-09 23:20:22 +0200990 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 && BR2_BINFMT_FLAT
991 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 && BR2_BINFMT_FDPIC
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200992 default "arm-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_arm
993 default "armeb-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_armeb
994 default "i486-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_i386
Thomas Petazzoni77ef6a32014-05-30 22:24:39 +0200995 default "microblaze-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_microblazebe
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200996 default "mips-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && !BR2_SOFT_FLOAT)
997 default "mips-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && BR2_SOFT_FLOAT)
998 default "mipsel-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && !BR2_SOFT_FLOAT)
999 default "mipsel-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && BR2_SOFT_FLOAT)
1000 default "powerpc-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_powerpc
1001 default "x86_64-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_x86_64
Thomas De Schampheleirefbc24942013-09-02 22:07:53 +02001002 default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX \
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001003 if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzoni643aa232009-05-29 18:37:41 +02001004
1005config BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001006 bool
Thomas Petazzoni381616e2013-06-30 21:29:09 +02001007 select BR2_TOOLCHAIN_USES_GLIBC
Thomas Petazzoni643aa232009-05-29 18:37:41 +02001008
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001009config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
1010 bool
Thomas Petazzoni381616e2013-06-30 21:29:09 +02001011 select BR2_TOOLCHAIN_USES_UCLIBC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001012
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001013config BR2_TOOLCHAIN_EXTERNAL_MUSL
1014 bool
1015 select BR2_TOOLCHAIN_USES_MUSL
1016
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001017if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
1018
1019choice
Thomas Petazzonibd760c32015-08-04 20:00:35 +02001020 bool "External toolchain gcc version"
1021 default BR2_TOOLCHAIN_EXTERNAL_GCC_4_3
1022 help
1023 Set to the gcc version that is used by your external
1024 toolchain.
1025
1026config BR2_TOOLCHAIN_EXTERNAL_GCC_5
1027 bool "5.x"
1028 select BR2_TOOLCHAIN_GCC_AT_LEAST_5
1029
1030config BR2_TOOLCHAIN_EXTERNAL_GCC_4_9
1031 bool "4.9.x"
1032 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
1033
1034config BR2_TOOLCHAIN_EXTERNAL_GCC_4_8
1035 bool "4.8.x"
1036 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
1037
1038config BR2_TOOLCHAIN_EXTERNAL_GCC_4_7
1039 bool "4.7.x"
1040 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
1041
1042config BR2_TOOLCHAIN_EXTERNAL_GCC_4_6
1043 bool "4.6.x"
1044 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
1045
1046config BR2_TOOLCHAIN_EXTERNAL_GCC_4_5
1047 bool "4.5.x"
1048 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
1049
1050config BR2_TOOLCHAIN_EXTERNAL_GCC_4_4
1051 bool "4.4.x"
1052 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
1053
1054config BR2_TOOLCHAIN_EXTERNAL_GCC_4_3
1055 bool "4.3.x"
1056 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
1057
1058endchoice
1059
1060choice
Yann E. MORINc58bcd52014-03-01 15:52:59 +01001061 bool "External toolchain kernel headers series"
1062 default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
1063 help
1064 Set to the kernel headers version that were used to build
1065 this external toolchain.
1066
1067 This is used to hide/show some packages that have strict
1068 requirements on the version of kernel headers.
1069
1070 If unsure what version your toolchain is using, you can look
1071 at the value of LINUX_VERSION_CODE in linux/version.h in your
1072 toolchain. The Linux version is M.m.p, with:
1073 M = ( LINUX_VERSION_CODE >> 16 ) & 0xFF
1074 m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF
1075 p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF
1076
Vicente Olivert Rieraaef2df82015-11-02 15:56:51 +01001077config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_3
1078 bool "4.3.x"
1079 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
1080
Peter Korsgaard8dc68292015-09-01 10:05:20 +02001081config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_2
1082 bool "4.2.x"
1083 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
1084
Gustavo Zacariasdae7d8a2015-06-22 10:11:03 -03001085config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_1
1086 bool "4.1.x"
1087 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
1088
Gustavo Zacariase714ee92015-04-13 10:00:23 -03001089config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_0
1090 bool "4.0.x"
1091 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
1092
Peter Korsgaard81366ed2015-02-09 13:31:23 +01001093config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_19
1094 bool "3.19.x"
1095 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
1096
Gustavo Zacariasbf6f74d2014-12-08 08:10:39 -03001097config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_18
1098 bool "3.18.x"
1099 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
1100
Gustavo Zacarias2d312b72014-10-06 08:44:39 -03001101config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17
1102 bool "3.17.x"
Karoly Kaszab8f9e572014-10-09 12:59:01 +02001103 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
Gustavo Zacarias2d312b72014-10-06 08:44:39 -03001104
Gustavo Zacarias911516f2014-08-03 23:29:22 -03001105config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_16
1106 bool "3.16.x"
1107 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
1108
Gustavo Zacariasfb29afe2014-06-09 08:30:33 -03001109config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15
1110 bool "3.15.x"
1111 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
1112
Samuel Martin11547ca2014-04-06 18:27:49 +02001113config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14
1114 bool "3.14.x"
1115 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
1116
Yann E. MORINc58bcd52014-03-01 15:52:59 +01001117config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13
1118 bool "3.13.x"
1119 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
1120
1121config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12
1122 bool "3.12.x"
1123 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
1124
1125config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11
1126 bool "3.11.x"
1127 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
1128
1129config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10
1130 bool "3.10.x"
1131 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
1132
1133config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9
1134 bool "3.9.x"
1135 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
1136
1137config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8
1138 bool "3.8.x"
1139 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
1140
1141config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7
1142 bool "3.7.x"
1143 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
1144
1145config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6
1146 bool "3.6.x"
1147 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
1148
1149config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5
1150 bool "3.5.x"
1151 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
1152
1153config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4
1154 bool "3.4.x"
1155 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
1156
1157config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3
1158 bool "3.3.x"
1159 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
1160
1161config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2
1162 bool "3.2.x"
1163 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
1164
1165config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1
1166 bool "3.1.x"
1167 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
1168
1169config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0
1170 bool "3.0.x"
1171 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
1172
1173config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
1174 bool "2.6.x"
1175
1176endchoice
1177
1178choice
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001179 prompt "External toolchain C library"
1180 default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1181
1182config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1183 bool "uClibc"
1184 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
Thomas Petazzonib9882922011-05-30 23:56:57 +02001185 # For the time being, we assume that all custom external
1186 # toolchains have shadow password support.
1187 select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
Thomas Petazzoni692a5852013-10-08 20:17:10 +02001188 help
1189 Select this option if your external toolchain uses the
1190 uClibc C library (available from http://www.uclibc.org/).
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001191
1192config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +00001193 bool "glibc/eglibc"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +01001194 depends on !BR2_STATIC_LIBS
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001195 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +00001196 help
Thomas Petazzoni692a5852013-10-08 20:17:10 +02001197 Select this option if your external toolchain uses the GNU C
1198 library (available from https://www.gnu.org/software/libc/)
1199 or its variant the eglibc library (http://www.eglibc.org/).
1200
1201 Note: eglibc is a variant of glibc that (among other things)
1202 can be configured to exclude some of its features. Using a
1203 toolchain with eglibc configured to exclude key features may
1204 cause build failures to some packages.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001205
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01001206comment "(e)glibc only available with shared lib support"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +01001207 depends on BR2_STATIC_LIBS
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01001208
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001209config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL
Peter Korsgaard3ed34ff2015-05-04 16:01:37 +02001210 bool "musl (experimental)"
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001211 select BR2_TOOLCHAIN_EXTERNAL_MUSL
1212 help
1213 Select this option if your external toolchain uses the
1214 'musl' C library, available from http://www.musl-libc.org/.
1215
Thomas Petazzoni643aa232009-05-29 18:37:41 +02001216endchoice
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +00001217
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001218if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
Thomas Petazzonifff71172010-12-13 17:27:37 +01001219
Thomas Petazzonifff71172010-12-13 17:27:37 +01001220config BR2_TOOLCHAIN_EXTERNAL_WCHAR
1221 bool "Toolchain has WCHAR support?"
1222 select BR2_USE_WCHAR
1223 help
1224 Select this option if your external toolchain supports
1225 WCHAR. If you don't know, leave the default value, Buildroot
1226 will tell you if it's correct or not.
1227
1228config BR2_TOOLCHAIN_EXTERNAL_LOCALE
1229 bool "Toolchain has locale support?"
1230 select BR2_TOOLCHAIN_EXTERNAL_WCHAR
1231 select BR2_ENABLE_LOCALE
1232 help
1233 Select this option if your external toolchain has locale
1234 support. If you don't know, leave the default value,
1235 Buildroot will tell you if it's correct or not.
1236
Thomas Petazzoni9eaad202010-12-13 17:27:44 +01001237config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1238 bool "Toolchain has threads support?"
1239 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard04d06892011-07-26 15:28:19 +02001240 default y
Thomas Petazzoni9eaad202010-12-13 17:27:44 +01001241 help
1242 Select this option if your external toolchain has thread
1243 support. If you don't know, leave the default value,
1244 Buildroot will tell you if it's correct or not.
1245
Thomas Petazzonic64f9482014-02-18 22:08:59 +01001246if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1247
Peter Korsgaard5931db02011-11-24 14:26:52 +01001248config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
1249 bool "Toolchain has threads debugging support?"
Peter Korsgaard5931db02011-11-24 14:26:52 +01001250 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
1251 default y
1252 help
1253 Select this option if your external toolchain has thread
1254 debugging support. If you don't know, leave the default
1255 value, Buildroot will tell you if it's correct or not.
1256
Thomas Petazzonic64f9482014-02-18 22:08:59 +01001257config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL
1258 bool "Toolchain has NPTL threads support?"
1259 select BR2_TOOLCHAIN_HAS_THREADS_NPTL
1260 default y
1261 help
1262 Select this option if your external toolchain uses the NPTL
1263 (Native Posix Thread Library) implementation of Posix
1264 threads. If you don't know, leave the default value,
1265 Buildroot will tell you if it's correct or not.
1266
1267endif # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1268
Thomas Petazzonic5866be2013-09-02 18:06:36 +02001269config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
1270 bool "Toolchain has SSP support?"
1271 select BR2_TOOLCHAIN_HAS_SSP
1272 help
1273 Selection this option if your external toolchain has Stack
1274 Smashing Protection support enabled. If you don't know,
1275 leave the default value, Buildroot will tell you if it's
1276 correct or not.
1277
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001278endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1279
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +01001280config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
1281 bool "Toolchain has RPC support?"
1282 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001283 depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL
Thomas Petazzoni3a843a32012-11-04 07:34:29 +00001284 default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +01001285 help
1286 Select this option if your external toolchain supports
1287 RPC. If you don't know, leave the default value, Buildroot
1288 will tell you if it's correct or not.
1289
Thomas Petazzoni6b578c82010-12-13 17:27:41 +01001290config BR2_TOOLCHAIN_EXTERNAL_CXX
1291 bool "Toolchain has C++ support?"
1292 select BR2_INSTALL_LIBSTDCPP
1293 help
1294 Select this option if your external toolchain has C++
1295 support. If you don't know, leave the default value,
1296 Buildroot will tell you if it's correct or not.
1297
Thomas De Schampheleirec72f54b2011-10-02 21:20:10 +02001298config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
1299 string "Extra toolchain libraries to be copied to target"
1300 help
1301 If your external toolchain provides extra libraries that
1302 need to be copied to the target filesystem, enter them
1303 here, separated by spaces. They will be copied to the
1304 target's /lib directory.
1305
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001306endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzonifff71172010-12-13 17:27:37 +01001307
Thomas Petazzonia0b6faa2013-04-07 00:04:33 +00001308config BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
1309 bool "Copy gdb server to the Target"
1310 depends on BR2_TOOLCHAIN_EXTERNAL
1311 help
1312 Copy the gdbserver provided by the external toolchain to the
1313 target.
1314
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001315# When the FDPIC shared binary format is used, the corresponding libraries are
1316# always installed. When a different binary format is used, we offer the option
1317# of installing the FDPIC shared libraries.
1318config BR2_BFIN_INSTALL_FDPIC_SHARED
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +01001319 bool "Install FDPIC shared libraries"
1320 depends on BR2_bfin && !BR2_BINFMT_FDPIC
1321 help
1322 The Linux kernel supports running both FDPIC and FLAT applications
1323 concurrently if the binary format specific libraries are installed
1324 properly. This option allows developer to install FDPIC libraries
1325 into a buildroot rootfs image built with binary format that is not
1326 FDPIC.
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001327
1328# When the FLAT shared binary format is used, we force the installation
1329# of the corresponding libraries. When a different binary format is
1330# used, we offer the option of installing the FLAT shared libraries.
1331config BR2_BFIN_INSTALL_FLAT_SHARED
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +01001332 bool "Install FLAT shared libraries" if !BR2_BINFMT_FLAT_SHARED
1333 depends on BR2_bfin
1334 default y if BR2_BINFMT_FLAT_SHARED
1335 help
1336 The Linux kernel supports running both FDPIC and FLAT applications
1337 concurrently if the binary format specific libraries are installed
1338 properly. This option allows developer to install FLAT libraries
1339 into a buildroot rootfs image built with binary format that is not
1340 shared FLAT.
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001341
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001342endif # BR2_TOOLCHAIN_EXTERNAL