blob: 4368ca6e00a77e0b151cda82a614fc55313c0412 [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
Romain Naourd9306ad2015-11-21 17:36:19 +0100239config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
Vicente Olivert Riera9f4ec372015-06-04 17:03:43 +0100240 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
Markos Chandras6f70ba32013-08-13 09:45:44 +0100326comment "Sourcery CodeBench toolchains are only available for MIPS/MIPS64 o32 and n64"
327 depends on BR2_MIPS_NABI32
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100328 depends on !BR2_STATIC_LIBS
Markos Chandras6f70ba32013-08-13 09:45:44 +0100329
Romain Naourc785b1b2015-11-21 17:36:16 +0100330config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
Romain Naoure7e5a762015-11-21 17:36:17 +0100331 bool "Sourcery CodeBench Nios-II 2015.11"
Ezequiel García3ca5f0b2014-08-31 18:33:39 -0300332 depends on BR2_nios2
333 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100334 depends on !BR2_STATIC_LIBS
Ezequiel García3ca5f0b2014-08-31 18:33:39 -0300335 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
336 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
337 select BR2_INSTALL_LIBSTDCPP
338 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Romain Naoure7e5a762015-11-21 17:36:17 +0100339 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
340 select BR2_TOOLCHAIN_GCC_AT_LEAST_5
Ezequiel García3ca5f0b2014-08-31 18:33:39 -0300341 help
342 Sourcery CodeBench toolchain for the Nios-II architecture,
Romain Naoure7e5a762015-11-21 17:36:17 +0100343 from Mentor Graphics. It uses gcc 5.2, binutils 2.25.51,
344 glibc 2.22, gdb 7.10.50 and kernel headers 4.2.
Ezequiel García3ca5f0b2014-08-31 18:33:39 -0300345
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +0200346config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201203
347 bool "Sourcery CodeBench PowerPC 2012.03"
348 depends on BR2_powerpc
349 depends on BR2_powerpc_SPE
350 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100351 depends on !BR2_STATIC_LIBS
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +0200352 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
353 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
354 select BR2_INSTALL_LIBSTDCPP
355 select BR2_HOSTARCH_NEEDS_IA32_LIBS
356 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200357 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +0200358 help
359 Sourcery CodeBench toolchain for the PowerPC architecture,
360 from Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53,
361 glibc 2.15, gdb 7.2.50 and kernel headers 3.2.10. It has
362 support for the following variants:
363 - e500v2 glibc, SPE, 32 bits
364
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100365config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
366 bool "Sourcery CodeBench PowerPC 2011.03"
367 depends on BR2_powerpc
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000368 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100369 depends on !BR2_STATIC_LIBS
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100370 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100371 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100372 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000373 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100374 # kernel headers: 2.6.38
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200375 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100376 help
377 Sourcery CodeBench toolchain for the PowerPC architecture,
378 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20.51,
379 glibc 2.13, gdb 7.2.50 and kernel headers 2.6.38. It has
380 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200381 - 603 glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100382 Select a generic PowerPC core
383 Disable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200384 - 603 soft float glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100385 Select a generic PowerPC core
386 Enable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200387 - e600 altivec glibc, 32 bits
388 Set BR2_TARGET_OPTIMIZATION to -te600
389 - e500v1 glibc, 32 bits
390 Set BR2_TARGET_OPTIMIZATION to -te500v1
391 - e500v2 glibc, 32 bits
392 Set BR2_TARGET_OPTIMIZATION to -te500v2
393 - e500mc glibc, 32 bits
394 Set BR2_TARGET_OPTIMIZATION to -te500mc
395 - 970 glibc hard-float, 64 bits
396 Set BR2_TARGET_OPTIMIZATION to -m64
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100397
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100398config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200399 bool "Sourcery CodeBench PowerPC 2010.09"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100400 depends on BR2_powerpc
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000401 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100402 depends on !BR2_STATIC_LIBS
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100403 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100404 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni6b578c82010-12-13 17:27:41 +0100405 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000406 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100407 # kernel headers: 2.6.35
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200408 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100409 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200410 Sourcery CodeBench toolchain for the PowerPC architecture,
Thomas Petazzoni2ec3e6d2012-01-15 20:02:11 +0100411 from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200412 glibc 2.11, gdb 7.2.50 and kernel headers 2.6.35.2. It has
413 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200414 - 603 glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100415 Select a generic PowerPC core
416 Disable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200417 - 603 soft float glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100418 Select a generic PowerPC core
419 Enable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200420 - e600 altivec glibc, 32 bits
421 Set BR2_TARGET_OPTIMIZATION to -te600
422 - e500v1 glibc, 32 bits
423 Set BR2_TARGET_OPTIMIZATION to -te500v1
424 - e500v2 glibc, 32 bits
425 Set BR2_TARGET_OPTIMIZATION to -te500v2
426 - e500mc glibc, 32 bits
427 Set BR2_TARGET_OPTIMIZATION to -te500mc
428 - 970 glibc hard-float, 64 bits
429 Set BR2_TARGET_OPTIMIZATION to -m64
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100430
Thomas Petazzonie067a442012-11-04 07:34:21 +0000431config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
432 bool "Sourcery CodeBench SH 2012.09"
433 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000434 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100435 depends on !BR2_STATIC_LIBS
Thomas Petazzonie067a442012-11-04 07:34:21 +0000436 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
437 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
438 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000439 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100440 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200441 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
Thomas Petazzonie067a442012-11-04 07:34:21 +0000442 help
443 Sourcery CodeBench toolchain for the SuperH architecture,
444 from Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51,
445 glibc 2.16, uClibc 0.9.30, gdb 7.4.50 and kernel headers
446 3.5.4. It has support for the following variants:
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +0100447 - SH4A, glibc, little endian
448 Default.
449 - SH4A, glibc, big endian
450 Add -mb to BR2_TARGET_OPTIMIZATION
451 - SH4A, uClibc, little endian
452 Not usable in Buildroot yet.
453 - SH4A, uClibc, big endian
454 Not usable in Buildroot yet.
Thomas Petazzonie067a442012-11-04 07:34:21 +0000455
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000456config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
457 bool "Sourcery CodeBench SH 2012.03"
458 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000459 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100460 depends on !BR2_STATIC_LIBS
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000461 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
462 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000463 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100464 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200465 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000466 help
467 Sourcery CodeBench toolchain for the SuperH architecture,
468 from Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53,
469 glibc 2.15, uClibc 0.9.30, gdb 7.2.50 and kernel headers
470 3.2.10. It has support for the following variants:
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +0100471 - SH4A, glibc, little endian
472 Default.
473 - SH4A, glibc, big endian
474 Add -mb to BR2_TARGET_OPTIMIZATION
475 - SH4A, uClibc, little endian
476 Not usable in Buildroot yet.
477 - SH4A, uClibc, big endian
478 Not usable in Buildroot yet.
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000479
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200480config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200481 bool "Sourcery CodeBench SH 2011.03"
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200482 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000483 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100484 depends on !BR2_STATIC_LIBS
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200485 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100486 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200487 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000488 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100489 # kernel headers: 2.6.38
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200490 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200491 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200492 Sourcery CodeBench toolchain for the SuperH architecture,
493 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
494 glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers
495 2.6.38. It has support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200496 - SH4A, glibc, little endian
497 Default.
498 - SH4A, glibc, big endian
499 Add -mb to BR2_TARGET_OPTIMIZATION
500 - SH4A, uClibc, little endian
501 Not usable in Buildroot yet.
502 - SH4A, uClibc, big endian
503 Not usable in Buildroot yet.
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200504
Romain Naour23ba8182015-11-21 17:36:14 +0100505config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64
Romain Naour09f1a3b2015-11-21 17:36:15 +0100506 bool "Sourcery CodeBench AMD64 2015.11"
Gustavo Zacariasd6fbd852015-03-03 12:52:31 -0300507 depends on BR2_x86_64
508 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
509 depends on !BR2_STATIC_LIBS
510 depends on BR2_x86_jaguar || BR2_x86_steamroller
511 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
512 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
513 select BR2_INSTALL_LIBSTDCPP
514 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Romain Naour09f1a3b2015-11-21 17:36:15 +0100515 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
516 select BR2_TOOLCHAIN_GCC_AT_LEAST_5
Gustavo Zacariasd6fbd852015-03-03 12:52:31 -0300517 help
518 Sourcery CodeBench toolchain for the amd64 (x86_64)
Romain Naour09f1a3b2015-11-21 17:36:15 +0100519 architectures, from Mentor Graphics. It uses gcc 5.2,
520 binutils 2.25.51, glibc 2.22, gdb 7.10.50 and kernel headers
521 4.2. It has support for the following variants:
Gustavo Zacariasd6fbd852015-03-03 12:52:31 -0300522 - AMD Puma/Jaguar (family 16h), glibc
523 Default for x86_64, nothing special to do.
524 - AMD Steamroller (family 15h), glibc
525 Select a steamroller core.
526 No other architecture variants are supported since glibc
527 is optimized for one of these two baselines.
528
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000529config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
530 bool "Sourcery CodeBench x86/x86_64 2012.09"
531 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000532 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100533 depends on !BR2_STATIC_LIBS
Adrien Bérauda20cb382014-01-15 17:17:10 -0500534 depends on !BR2_x86_jaguar
Gustavo Zacarias50451992015-03-03 12:52:30 -0300535 depends on !BR2_x86_steamroller
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000536 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
537 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
538 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000539 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100540 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200541 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000542 help
543 Sourcery CodeBench toolchain for the x86/x86_64
544 architectures, from Mentor Graphics. It uses gcc 4.7.2,
545 binutils 2.23.51, glibc 2.16, gdb 7.4.50 and kernel headers
546 3.5.4. It has support for the following variants:
547 - Intel Pentium 4, glibc, 32 bits
548 Default for x86, nothing special to do.
549 - Intel Atom, glibc, 32 bits
550 Select an Atom core
551 - Intel Xeon, glibc, 64 bits
552 Default for x86_64, nothing special to do.
553 - Intel Core 2, glibc, 64 bits
554 Select a Core 2 core
555 Other architecture variants (beyond Pentium-4/Xeon) are
556 supported as well, but glibc is not optimised for it.
557
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000558config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
559 bool "Sourcery CodeBench x86/x86_64 2012.03"
560 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000561 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100562 depends on !BR2_STATIC_LIBS
Adrien Bérauda20cb382014-01-15 17:17:10 -0500563 depends on !BR2_x86_jaguar
Gustavo Zacarias50451992015-03-03 12:52:30 -0300564 depends on !BR2_x86_steamroller
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000565 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
566 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000567 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100568 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200569 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000570 help
571 Sourcery CodeBench toolchain for the x86/x86_64
572 architectures, from Mentor Graphics. It uses gcc 4.6.3,
573 binutils 2.21.53, glibc 2.15, gdb 7.2.50 and kernel headers
574 3.2.10. It has support for the following variants:
575 - Intel Pentium 4, glibc, 32 bits
576 Default for x86, nothing special to do.
577 - Intel Atom, glibc, 32 bits
578 Select an Atom core
579 - Intel Xeon, glibc, 64 bits
580 Default for x86_64, nothing special to do.
581 - Intel Core 2, glibc, 64 bits
582 Select a Core 2 core
583 Other architecture variants (beyond Pentium-4/Xeon) are
584 supported as well, but glibc is not optimised for it.
585
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100586config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
587 bool "Sourcery CodeBench x86/x86_64 2011.09"
588 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000589 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100590 depends on !BR2_STATIC_LIBS
Adrien Bérauda20cb382014-01-15 17:17:10 -0500591 depends on !BR2_x86_jaguar
Gustavo Zacarias50451992015-03-03 12:52:30 -0300592 depends on !BR2_x86_steamroller
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100593 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100594 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100595 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000596 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100597 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200598 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100599 help
600 Sourcery CodeBench toolchain for the x86/x86_64
601 architectures, from Mentor Graphics. It uses gcc 4.6.1,
602 binutils 2.21.53, glibc 2.13, gdb 7.2.50 and kernel headers
603 3.0.1. It has support for the following variants:
604 - Intel Pentium 4, glibc, 32 bits
Arnout Vandecappelle (Essensium/Mind)a22dc0f2012-03-13 23:30:00 +0100605 Default for x86, nothing special to do.
606 - Intel Atom, glibc, 32 bits
607 Select an Atom core
608 - Intel Xeon, glibc, 64 bits
609 Default for x86_64, nothing special to do.
610 - Intel Core 2, glibc, 64 bits
611 Select a Core 2 core
612 Other architecture variants (beyond Pentium-4/Xeon) are
613 supported as well, but glibc is not optimised for it.
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100614
Thomas Petazzoni1cfeed12014-07-09 23:20:22 +0200615config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1
616 bool "Blackfin.uclinux.org 2014R1"
Thomas Petazzoni5a65b8e2014-06-01 12:47:48 +0200617 depends on BR2_bfin
618 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
619 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
620 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni5a65b8e2014-06-01 12:47:48 +0200621 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
622 select BR2_USE_WCHAR
623 select BR2_TOOLCHAIN_HAS_THREADS
624 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
625 select BR2_HOSTARCH_NEEDS_IA32_LIBS
626 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200627 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
Thomas Petazzoni5a65b8e2014-06-01 12:47:48 +0200628 help
629 Toolchain for the Blackfin architecture, from
630 http://blackfin.uclinux.org.
631
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100632config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1
633 bool "Blackfin.uclinux.org 2013R1"
634 depends on BR2_bfin
635 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
636 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
637 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100638 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
639 select BR2_USE_WCHAR
640 select BR2_TOOLCHAIN_HAS_THREADS
641 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
642 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100643 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200644 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100645 help
646 Toolchain for the Blackfin architecture, from
647 http://blackfin.uclinux.org.
648
Yann E. MORIN24bfce02015-10-27 00:49:41 +0100649# See note about Linar ARM/ARMEB toolchains, above.
Thomas Petazzonid51025d2014-06-01 12:47:41 +0200650config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
Thomas Petazzoni28bca1c2014-11-10 11:06:31 +0100651 bool "Linaro AArch64 14.09"
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100652 depends on BR2_aarch64
Yann E. MORIN24bfce02015-10-27 00:49:41 +0100653 depends on BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100654 depends on !BR2_STATIC_LIBS
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100655 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
656 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100657 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100658 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200659 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100660 help
661 Toolchain for the AArch64 architecture, from
662 http://www.linaro.org/engineering/armv8/
663
Yann E. MORIN24bfce02015-10-27 00:49:41 +0100664# See note about Linar ARM/ARMEB toolchains, above.
665config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
666 bool "Linaro AArch64 2015.08"
667 depends on BR2_aarch64
668 depends on BR2_HOSTARCH = "x86_64"
669 depends on !BR2_STATIC_LIBS
670 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
671 select BR2_INSTALL_LIBSTDCPP
672 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
673 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
674 select BR2_TOOLCHAIN_GCC_AT_LEAST_5
675 help
676 Toolchain for the AArch64 architecture, from
677 http://www.linaro.org/engineering/armv8/
678
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200679config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
680 bool "CodeSourcery AArch64 2014.05"
681 depends on BR2_aarch64
682 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100683 depends on !BR2_STATIC_LIBS
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200684 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
685 select BR2_INSTALL_LIBSTDCPP
686 select BR2_HOSTARCH_NEEDS_IA32_LIBS
687 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
688 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200689 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200690 help
691 Sourcery CodeBench toolchain for the AArch64 architecture,
692 from Mentor Graphics. It uses gcc 4.8.3, binutils 2.24,
693 glibc 2.18, gdb 7.7.50 and kernel headers 3.13.
694
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200695config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS
Peter Korsgaard3ed34ff2015-05-04 16:01:37 +0200696 bool "Musl 1.1.6 toolchain (experimental)"
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200697 depends on (BR2_arm && BR2_ARM_EABI) || (BR2_armeb && BR2_ARM_EABI) || \
Thomas Petazzoni77ef6a32014-05-30 22:24:39 +0200698 (BR2_i386 && !BR2_x86_i386) || BR2_microblazebe || BR2_mips || \
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200699 BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || BR2_x86_64
700 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Vicente Olivert Riera99122d62015-10-12 11:08:06 +0100701 # Unsupported for MIPS R6
702 depends on !BR2_mips_32r6 && !BR2_mips_64r6
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200703 select BR2_TOOLCHAIN_EXTERNAL_MUSL
704 select BR2_INSTALL_LIBSTDCPP
705 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni5c852662014-06-01 12:47:45 +0200706 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200707 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200708 help
709 Toolchain based on the Musl C library, provided by the
Will Wagner2e313e12015-04-23 14:27:10 +0100710 musl-cross project. It uses gcc 4.9.2, binutils 2.25 and
711 musl 1.1.6. It does not have a cross debugger included.
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200712
713 The ARM toolchain is built for ARMv4t, soft-float.
714 The x86 toolchain is built for i486.
715
716 http://musl.codu.org/
717
Alexey Brodkin2b93fe52015-03-10 14:50:24 +0300718config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_2014_12
719 bool "Synopsys ARC 2014.12 toolchain"
720 depends on BR2_arc
721 depends on BR2_HOSTARCH = "x86_64"
Thomas Petazzonicd3c00f2015-05-01 11:13:54 +0200722 # does not provide IPv6, and lacks many uClibc features
723 # expected by Buildroot. The next Synopsys toolchain version
724 # should fix those problems.
725 depends on BROKEN
Alexey Brodkin2b93fe52015-03-10 14:50:24 +0300726 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
727 select BR2_INSTALL_LIBSTDCPP
Alexey Brodkin2b93fe52015-03-10 14:50:24 +0300728 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
729 select BR2_ENABLE_LOCALE
730 select BR2_USE_WCHAR
731 select BR2_TOOLCHAIN_HAS_THREADS
732 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
733 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200734 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
Alexey Brodkin2b93fe52015-03-10 14:50:24 +0300735 help
736 Toolchain for the ARC cores, from
737 https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases
738
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100739config BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200740 bool "Custom toolchain"
741 help
742 Use this option to use a custom toolchain pre-installed on
743 your system.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100744
745endchoice
746
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200747choice
748 prompt "Toolchain origin"
Thomas Petazzoni70194072012-07-22 20:57:26 +0200749 # Keep compatibility with old defconfig files that are using
750 # custom toolchains, and which are therefore assuming that
751 # "preinstalled" in the default choice.
752 default BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200753
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100754config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200755 bool "Toolchain to be downloaded and installed"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100756 help
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200757 Select this option if you want Buildroot to download and install the
758 toolchain. If you have selected a custom toolchain, specify the URL
759 in BR2_TOOLCHAIN_EXTERNAL_URL.
760
761config BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
762 bool "Pre-installed toolchain"
763 help
764 Select this option if you want to use a pre-installed toolchain.
765 Specify the path to this toolchain in BR2_TOOLCHAIN_EXTERNAL_PATH.
766
767endchoice
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100768
769config BR2_TOOLCHAIN_EXTERNAL_PATH
770 string "Toolchain path"
771 default "/path/to/toolchain/usr"
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200772 depends on BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100773 help
774 Path to where the external toolchain is installed.
775
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200776config BR2_TOOLCHAIN_EXTERNAL_URL
777 string "Toolchain URL"
778 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM && BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
779 help
780 URL of the custom toolchain tarball to download and install.
781
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100782config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
783 string "Toolchain prefix"
784 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM
785 default "$(ARCH)-linux"
786
787config BR2_TOOLCHAIN_EXTERNAL_PREFIX
788 string
Alexey Brodkin2b93fe52015-03-10 14:50:24 +0300789 default "arc-linux" if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_2014_12 && BR2_arcle
790 default "arceb-linux" if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_2014_12 && BR2_arceb
Thomas Petazzonibe2abf22014-06-01 12:47:40 +0200791 default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
Thomas Petazzonicd32da82014-03-05 23:23:40 +0100792 default "armeb-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
Fabio Porcedda786700e2013-05-26 12:08:19 +0000793 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
Thomas Petazzonic5252312013-12-27 12:32:17 +0100794 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
Thomas Petazzoni93f3c042014-09-15 23:49:35 +0200795 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201405
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200796 default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200797 default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
Thomas Petazzonid51025d2014-06-01 12:47:41 +0200798 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200799 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
Romain Naourd9306ad2015-11-21 17:36:19 +0100800 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
Romain Naourc785b1b2015-11-21 17:36:16 +0100801 default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100802 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100803 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +0200804 default "powerpc-mentor-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201203
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200805 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000806 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
Thomas Petazzonie067a442012-11-04 07:34:21 +0000807 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100808 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000809 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000810 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
Romain Naour23ba8182015-11-21 17:36:14 +0100811 default "x86_64-amd-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100812 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FLAT
813 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FDPIC
Thomas Petazzoni1cfeed12014-07-09 23:20:22 +0200814 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 && BR2_BINFMT_FLAT
815 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 && BR2_BINFMT_FDPIC
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200816 default "arm-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_arm
817 default "armeb-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_armeb
818 default "i486-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_i386
Thomas Petazzoni77ef6a32014-05-30 22:24:39 +0200819 default "microblaze-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_microblazebe
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200820 default "mips-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && !BR2_SOFT_FLOAT)
821 default "mips-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && BR2_SOFT_FLOAT)
822 default "mipsel-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && !BR2_SOFT_FLOAT)
823 default "mipsel-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && BR2_SOFT_FLOAT)
824 default "powerpc-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_powerpc
825 default "x86_64-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_x86_64
Thomas De Schampheleirefbc24942013-09-02 22:07:53 +0200826 default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX \
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100827 if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzoni643aa232009-05-29 18:37:41 +0200828
829config BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100830 bool
Thomas Petazzoni381616e2013-06-30 21:29:09 +0200831 select BR2_TOOLCHAIN_USES_GLIBC
Thomas Petazzoni643aa232009-05-29 18:37:41 +0200832
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100833config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
834 bool
Thomas Petazzoni381616e2013-06-30 21:29:09 +0200835 select BR2_TOOLCHAIN_USES_UCLIBC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100836
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +0200837config BR2_TOOLCHAIN_EXTERNAL_MUSL
838 bool
839 select BR2_TOOLCHAIN_USES_MUSL
840
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100841if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
842
843choice
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200844 bool "External toolchain gcc version"
845 default BR2_TOOLCHAIN_EXTERNAL_GCC_4_3
846 help
847 Set to the gcc version that is used by your external
848 toolchain.
849
850config BR2_TOOLCHAIN_EXTERNAL_GCC_5
851 bool "5.x"
852 select BR2_TOOLCHAIN_GCC_AT_LEAST_5
853
854config BR2_TOOLCHAIN_EXTERNAL_GCC_4_9
855 bool "4.9.x"
856 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
857
858config BR2_TOOLCHAIN_EXTERNAL_GCC_4_8
859 bool "4.8.x"
860 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
861
862config BR2_TOOLCHAIN_EXTERNAL_GCC_4_7
863 bool "4.7.x"
864 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
865
866config BR2_TOOLCHAIN_EXTERNAL_GCC_4_6
867 bool "4.6.x"
868 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
869
870config BR2_TOOLCHAIN_EXTERNAL_GCC_4_5
871 bool "4.5.x"
872 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
873
874config BR2_TOOLCHAIN_EXTERNAL_GCC_4_4
875 bool "4.4.x"
876 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
877
878config BR2_TOOLCHAIN_EXTERNAL_GCC_4_3
879 bool "4.3.x"
880 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
881
882endchoice
883
884choice
Yann E. MORINc58bcd52014-03-01 15:52:59 +0100885 bool "External toolchain kernel headers series"
886 default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
887 help
888 Set to the kernel headers version that were used to build
889 this external toolchain.
890
891 This is used to hide/show some packages that have strict
892 requirements on the version of kernel headers.
893
894 If unsure what version your toolchain is using, you can look
895 at the value of LINUX_VERSION_CODE in linux/version.h in your
896 toolchain. The Linux version is M.m.p, with:
897 M = ( LINUX_VERSION_CODE >> 16 ) & 0xFF
898 m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF
899 p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF
900
Vicente Olivert Rieraaef2df82015-11-02 15:56:51 +0100901config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_3
902 bool "4.3.x"
903 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
904
Peter Korsgaard8dc68292015-09-01 10:05:20 +0200905config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_2
906 bool "4.2.x"
907 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
908
Gustavo Zacariasdae7d8a2015-06-22 10:11:03 -0300909config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_1
910 bool "4.1.x"
911 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
912
Gustavo Zacariase714ee92015-04-13 10:00:23 -0300913config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_0
914 bool "4.0.x"
915 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
916
Peter Korsgaard81366ed2015-02-09 13:31:23 +0100917config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_19
918 bool "3.19.x"
919 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
920
Gustavo Zacariasbf6f74d2014-12-08 08:10:39 -0300921config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_18
922 bool "3.18.x"
923 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
924
Gustavo Zacarias2d312b72014-10-06 08:44:39 -0300925config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17
926 bool "3.17.x"
Karoly Kaszab8f9e572014-10-09 12:59:01 +0200927 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
Gustavo Zacarias2d312b72014-10-06 08:44:39 -0300928
Gustavo Zacarias911516f2014-08-03 23:29:22 -0300929config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_16
930 bool "3.16.x"
931 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
932
Gustavo Zacariasfb29afe2014-06-09 08:30:33 -0300933config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15
934 bool "3.15.x"
935 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
936
Samuel Martin11547ca2014-04-06 18:27:49 +0200937config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14
938 bool "3.14.x"
939 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
940
Yann E. MORINc58bcd52014-03-01 15:52:59 +0100941config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13
942 bool "3.13.x"
943 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
944
945config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12
946 bool "3.12.x"
947 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
948
949config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11
950 bool "3.11.x"
951 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
952
953config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10
954 bool "3.10.x"
955 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
956
957config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9
958 bool "3.9.x"
959 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
960
961config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8
962 bool "3.8.x"
963 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
964
965config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7
966 bool "3.7.x"
967 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
968
969config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6
970 bool "3.6.x"
971 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
972
973config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5
974 bool "3.5.x"
975 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
976
977config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4
978 bool "3.4.x"
979 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
980
981config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3
982 bool "3.3.x"
983 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
984
985config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2
986 bool "3.2.x"
987 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
988
989config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1
990 bool "3.1.x"
991 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
992
993config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0
994 bool "3.0.x"
995 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
996
997config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
998 bool "2.6.x"
999
1000endchoice
1001
1002choice
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001003 prompt "External toolchain C library"
1004 default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1005
1006config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1007 bool "uClibc"
1008 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
Thomas Petazzonib9882922011-05-30 23:56:57 +02001009 # For the time being, we assume that all custom external
1010 # toolchains have shadow password support.
1011 select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
Thomas Petazzoni692a5852013-10-08 20:17:10 +02001012 help
1013 Select this option if your external toolchain uses the
1014 uClibc C library (available from http://www.uclibc.org/).
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001015
1016config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +00001017 bool "glibc/eglibc"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +01001018 depends on !BR2_STATIC_LIBS
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001019 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +00001020 help
Thomas Petazzoni692a5852013-10-08 20:17:10 +02001021 Select this option if your external toolchain uses the GNU C
1022 library (available from https://www.gnu.org/software/libc/)
1023 or its variant the eglibc library (http://www.eglibc.org/).
1024
1025 Note: eglibc is a variant of glibc that (among other things)
1026 can be configured to exclude some of its features. Using a
1027 toolchain with eglibc configured to exclude key features may
1028 cause build failures to some packages.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001029
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01001030comment "(e)glibc only available with shared lib support"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +01001031 depends on BR2_STATIC_LIBS
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01001032
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001033config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL
Peter Korsgaard3ed34ff2015-05-04 16:01:37 +02001034 bool "musl (experimental)"
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001035 select BR2_TOOLCHAIN_EXTERNAL_MUSL
1036 help
1037 Select this option if your external toolchain uses the
1038 'musl' C library, available from http://www.musl-libc.org/.
1039
Thomas Petazzoni643aa232009-05-29 18:37:41 +02001040endchoice
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +00001041
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001042if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
Thomas Petazzonifff71172010-12-13 17:27:37 +01001043
Thomas Petazzonifff71172010-12-13 17:27:37 +01001044config BR2_TOOLCHAIN_EXTERNAL_WCHAR
1045 bool "Toolchain has WCHAR support?"
1046 select BR2_USE_WCHAR
1047 help
1048 Select this option if your external toolchain supports
1049 WCHAR. If you don't know, leave the default value, Buildroot
1050 will tell you if it's correct or not.
1051
1052config BR2_TOOLCHAIN_EXTERNAL_LOCALE
1053 bool "Toolchain has locale support?"
1054 select BR2_TOOLCHAIN_EXTERNAL_WCHAR
1055 select BR2_ENABLE_LOCALE
1056 help
1057 Select this option if your external toolchain has locale
1058 support. If you don't know, leave the default value,
1059 Buildroot will tell you if it's correct or not.
1060
Thomas Petazzoni9eaad202010-12-13 17:27:44 +01001061config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1062 bool "Toolchain has threads support?"
1063 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard04d06892011-07-26 15:28:19 +02001064 default y
Thomas Petazzoni9eaad202010-12-13 17:27:44 +01001065 help
1066 Select this option if your external toolchain has thread
1067 support. If you don't know, leave the default value,
1068 Buildroot will tell you if it's correct or not.
1069
Thomas Petazzonic64f9482014-02-18 22:08:59 +01001070if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1071
Peter Korsgaard5931db02011-11-24 14:26:52 +01001072config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
1073 bool "Toolchain has threads debugging support?"
Peter Korsgaard5931db02011-11-24 14:26:52 +01001074 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
1075 default y
1076 help
1077 Select this option if your external toolchain has thread
1078 debugging support. If you don't know, leave the default
1079 value, Buildroot will tell you if it's correct or not.
1080
Thomas Petazzonic64f9482014-02-18 22:08:59 +01001081config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL
1082 bool "Toolchain has NPTL threads support?"
1083 select BR2_TOOLCHAIN_HAS_THREADS_NPTL
1084 default y
1085 help
1086 Select this option if your external toolchain uses the NPTL
1087 (Native Posix Thread Library) implementation of Posix
1088 threads. If you don't know, leave the default value,
1089 Buildroot will tell you if it's correct or not.
1090
1091endif # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1092
Thomas Petazzonic5866be2013-09-02 18:06:36 +02001093config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
1094 bool "Toolchain has SSP support?"
1095 select BR2_TOOLCHAIN_HAS_SSP
1096 help
1097 Selection this option if your external toolchain has Stack
1098 Smashing Protection support enabled. If you don't know,
1099 leave the default value, Buildroot will tell you if it's
1100 correct or not.
1101
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001102endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1103
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +01001104config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
1105 bool "Toolchain has RPC support?"
1106 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001107 depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL
Thomas Petazzoni3a843a32012-11-04 07:34:29 +00001108 default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +01001109 help
1110 Select this option if your external toolchain supports
1111 RPC. If you don't know, leave the default value, Buildroot
1112 will tell you if it's correct or not.
1113
Thomas Petazzoni6b578c82010-12-13 17:27:41 +01001114config BR2_TOOLCHAIN_EXTERNAL_CXX
1115 bool "Toolchain has C++ support?"
1116 select BR2_INSTALL_LIBSTDCPP
1117 help
1118 Select this option if your external toolchain has C++
1119 support. If you don't know, leave the default value,
1120 Buildroot will tell you if it's correct or not.
1121
Thomas De Schampheleirec72f54b2011-10-02 21:20:10 +02001122config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
1123 string "Extra toolchain libraries to be copied to target"
1124 help
1125 If your external toolchain provides extra libraries that
1126 need to be copied to the target filesystem, enter them
1127 here, separated by spaces. They will be copied to the
1128 target's /lib directory.
1129
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001130endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzonifff71172010-12-13 17:27:37 +01001131
Thomas Petazzonia0b6faa2013-04-07 00:04:33 +00001132config BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
1133 bool "Copy gdb server to the Target"
1134 depends on BR2_TOOLCHAIN_EXTERNAL
1135 help
1136 Copy the gdbserver provided by the external toolchain to the
1137 target.
1138
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001139# When the FDPIC shared binary format is used, the corresponding libraries are
1140# always installed. When a different binary format is used, we offer the option
1141# of installing the FDPIC shared libraries.
1142config BR2_BFIN_INSTALL_FDPIC_SHARED
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +01001143 bool "Install FDPIC shared libraries"
1144 depends on BR2_bfin && !BR2_BINFMT_FDPIC
1145 help
1146 The Linux kernel supports running both FDPIC and FLAT applications
1147 concurrently if the binary format specific libraries are installed
1148 properly. This option allows developer to install FDPIC libraries
1149 into a buildroot rootfs image built with binary format that is not
1150 FDPIC.
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001151
1152# When the FLAT shared binary format is used, we force the installation
1153# of the corresponding libraries. When a different binary format is
1154# used, we offer the option of installing the FLAT shared libraries.
1155config BR2_BFIN_INSTALL_FLAT_SHARED
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +01001156 bool "Install FLAT shared libraries" if !BR2_BINFMT_FLAT_SHARED
1157 depends on BR2_bfin
1158 default y if BR2_BINFMT_FLAT_SHARED
1159 help
1160 The Linux kernel supports running both FDPIC and FLAT applications
1161 concurrently if the binary format specific libraries are installed
1162 properly. This option allows developer to install FLAT libraries
1163 into a buildroot rootfs image built with binary format that is not
1164 shared FLAT.
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001165
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001166endif # BR2_TOOLCHAIN_EXTERNAL