blob: 18eb7844bc797f1d90c8f8f5e667af6e15342efd [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
Thomas Petazzonibe2abf22014-06-01 12:47:40 +020014config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
Thomas Petazzoni28bca1c2014-11-10 11:06:31 +010015 bool "Linaro ARM 2014.09"
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010016 depends on BR2_arm
Thomas Petazzoni29f68062014-10-21 22:27:06 +020017 depends on BR2_ARM_CPU_ARMV7A
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010018 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
19 depends on BR2_ARM_EABIHF
Thomas Petazzoni665e13c2014-12-03 22:41:29 +010020 depends on !BR2_STATIC_LIBS
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010021 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
22 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
23 select BR2_INSTALL_LIBSTDCPP
24 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +010025 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
Thomas Petazzonibd760c32015-08-04 20:00:35 +020026 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010027 help
28 Linaro toolchain for the ARM architecture. It uses Linaro
Thomas Petazzoni28bca1c2014-11-10 11:06:31 +010029 GCC 2014.09 (based on gcc 4.9), Linaro GDB 2013.10 (based on
30 GDB 7.6), eglibc 2.19, Binutils 2014.09 (based on 2.24). It
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010031 generates code that runs on all Cortex-A profile devices,
32 but tuned for the Cortex-A9. The code generated is Thumb 2,
33 with the hard floating point calling convention, and uses
34 the VFPv3-D16 FPU instructions.
35
Thomas Petazzonicd32da82014-03-05 23:23:40 +010036config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
Thomas Petazzoni28bca1c2014-11-10 11:06:31 +010037 bool "Linaro armeb 2014.09"
Thomas Petazzonicd32da82014-03-05 23:23:40 +010038 depends on BR2_armeb
Thomas Petazzoni29f68062014-10-21 22:27:06 +020039 depends on BR2_ARM_CPU_ARMV7A
Thomas Petazzonicd32da82014-03-05 23:23:40 +010040 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
41 depends on BR2_ARM_EABIHF
Thomas Petazzoni665e13c2014-12-03 22:41:29 +010042 depends on !BR2_STATIC_LIBS
Thomas Petazzonicd32da82014-03-05 23:23:40 +010043 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
44 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
45 select BR2_INSTALL_LIBSTDCPP
46 select BR2_HOSTARCH_NEEDS_IA32_LIBS
47 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
Thomas Petazzonibd760c32015-08-04 20:00:35 +020048 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
Thomas Petazzonicd32da82014-03-05 23:23:40 +010049 help
50 Linaro toolchain for the ARM big endian architecture. It
Thomas Petazzoni28bca1c2014-11-10 11:06:31 +010051 uses Linaro GCC 2014.09 (based on gcc 4.9), Linaro GDB
52 2013.10 (based on GDB 7.6), eglibc 2.19, Binutils 2014.09
Thomas Petazzonicd32da82014-03-05 23:23:40 +010053 (based on 2.24). It generates code that runs on all Cortex-A
54 profile devices, but tuned for the Cortex-A9. The code
55 generated is Thumb 2, with the hard floating point calling
56 convention, and uses the VFPv3-D16 FPU instructions.
57
Thomas Petazzoni93f3c042014-09-15 23:49:35 +020058config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201405
59 bool "Sourcery CodeBench ARM 2014.05"
60 depends on BR2_arm
61 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
62 depends on BR2_ARM_EABI
Thomas Petazzoni665e13c2014-12-03 22:41:29 +010063 depends on !BR2_STATIC_LIBS
Thomas Petazzoni93f3c042014-09-15 23:49:35 +020064 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
65 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
66 select BR2_INSTALL_LIBSTDCPP
67 select BR2_HOSTARCH_NEEDS_IA32_LIBS
68 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
Thomas Petazzonibd760c32015-08-04 20:00:35 +020069 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
Thomas Petazzoni93f3c042014-09-15 23:49:35 +020070 help
71 Sourcery CodeBench toolchain for the ARM architecture, from
72 Mentor Graphics. It uses gcc 4.8.3, binutils 2.24.51, glibc
73 2.18 and gdb 7.7.50, kernel headers 3.13. It has support
74 for the following variants:
75 - ARMv5TE, little endian, soft-float, glibc
76 Select ARM926T, ARM10T, XScale or another ARMv5 core
77 Select BR2_SOFT_FLOAT
78 - ARMv4T, little endian, soft-float, glibc
79 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
80 Select BR2_SOFT_FLOAT
81 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
82 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
83 Select BR2_SOFT_FLOAT
84 Set BR2_TARGET_OPTIMIZATION to -mthumb
85
Thomas Petazzonic5252312013-12-27 12:32:17 +010086config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
87 bool "Sourcery CodeBench ARM 2013.11"
88 depends on BR2_arm
89 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
90 depends on BR2_ARM_EABI
Thomas Petazzoni665e13c2014-12-03 22:41:29 +010091 depends on !BR2_STATIC_LIBS
Thomas Petazzonibe4f30a2014-04-13 21:58:57 +020092 select BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # based-on gcc-4.8.1
Samuel Martina1a86eb2014-03-08 15:38:31 +010093 select BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # based-on gcc-4.8.1
Thomas Petazzonic5252312013-12-27 12:32:17 +010094 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
95 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
96 select BR2_INSTALL_LIBSTDCPP
97 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +010098 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
Thomas Petazzonibd760c32015-08-04 20:00:35 +020099 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
Thomas Petazzonic5252312013-12-27 12:32:17 +0100100 help
101 Sourcery CodeBench toolchain for the ARM architecture, from
102 Mentor Graphics. It uses gcc 4.8.1, binutils 2.23.52, glibc
103 2.18 and gdb 7.6.50, kernel headers 3.11. It has support
104 for the following variants:
105 - ARMv5TE, little endian, soft-float, glibc
106 Select ARM926T, ARM10T, XScale or another ARMv5 core
107 Select BR2_SOFT_FLOAT
108 - ARMv4T, little endian, soft-float, glibc
109 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
110 Select BR2_SOFT_FLOAT
111 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
112 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
113 Select BR2_SOFT_FLOAT
114 Set BR2_TARGET_OPTIMIZATION to -mthumb
115
Fabio Porcedda786700e2013-05-26 12:08:19 +0000116config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
117 bool "Sourcery CodeBench ARM 2013.05"
118 depends on BR2_arm
119 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200120 depends on BR2_ARM_EABI
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100121 depends on !BR2_STATIC_LIBS
Thomas Petazzoni85082ca2014-05-12 23:10:35 +0200122 select BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # based-on gcc-4.7.3
Fabio Porcedda786700e2013-05-26 12:08:19 +0000123 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
124 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
125 select BR2_INSTALL_LIBSTDCPP
126 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100127 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200128 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
Fabio Porcedda786700e2013-05-26 12:08:19 +0000129 help
130 Sourcery CodeBench toolchain for the ARM architecture, from
131 Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52, glibc
132 2.17 and gdb 7.4.50, kernel headers 3.8.2. It has support
133 for the following variants:
134 - ARMv5TE, little endian, soft-float, glibc
135 Select ARM926T, ARM10T, XScale or another ARMv5 core
136 Select BR2_SOFT_FLOAT
137 - ARMv4T, little endian, soft-float, glibc
138 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
139 Select BR2_SOFT_FLOAT
140 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
141 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
142 Select BR2_SOFT_FLOAT
143 Set BR2_TARGET_OPTIMIZATION to -mthumb
144
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200145comment "Sourcery CodeBench toolchains available for the EABI ABI"
146 depends on BR2_arm
147 depends on !BR2_ARM_EABI
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100148 depends on !BR2_STATIC_LIBS
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200149
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200150config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
151 bool "Arago ARMv7 2011.09"
152 depends on BR2_arm
153 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni29f68062014-10-21 22:27:06 +0200154 depends on BR2_ARM_CPU_ARMV7A
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200155 depends on BR2_ARM_EABI
156 depends on BR2_ARM_CPU_HAS_VFPV3 || BR2_ARM_CPU_MAYBE_HAS_VFPV3
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100157 depends on !BR2_STATIC_LIBS
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200158 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
159 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
160 select BR2_INSTALL_LIBSTDCPP
161 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200162 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100163 # kernel headers: 2.6.31
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200164 help
165 Texas Instruments Arago 2011.09 toolchain, with gcc 4.5.3,
166 binutils 2.20.1, glibc 2.12, gdb 7.2.
167
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200168 This toolchain uses -mfloat-abi=softfp (i.e can use FPU
169 instructions, but passes floating point function arguments
170 in integer registers), and requires a VFPv3 floating point
171 unit to work properly. This unit is available on most
172 Cortex-A ARM processors, but not all.
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200173
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200174config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
175 bool "Arago ARMv5 2011.09"
176 depends on BR2_arm
177 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni29f68062014-10-21 22:27:06 +0200178 depends on !BR2_ARM_CPU_ARMV4
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200179 depends on BR2_ARM_EABI
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100180 depends on !BR2_STATIC_LIBS
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200181 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
182 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
183 select BR2_INSTALL_LIBSTDCPP
184 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200185 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100186 # kernel headers: 2.6.31
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200187 help
188 Texas Instruments Arago ARMv5 2011.09 toolchain, with gcc
189 4.5.3, binutils 2.20.1, glibc 2.12, gdb 7.2.
190
191 This toolchain uses software-floating point.
192
Vicente Olivert Riera9f4ec372015-06-04 17:03:43 +0100193config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201505
194 bool "Sourcery CodeBench MIPS 2015.05"
195 depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
196 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
197 depends on !BR2_MIPS_NABI32
198 depends on !BR2_STATIC_LIBS
Vicente Olivert Riera99122d62015-10-12 11:08:06 +0100199 # Unsupported for MIPS R6
200 depends on !BR2_mips_32r6 && !BR2_mips_64r6
Vicente Olivert Riera9f4ec372015-06-04 17:03:43 +0100201 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
202 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
203 select BR2_INSTALL_LIBSTDCPP
204 select BR2_HOSTARCH_NEEDS_IA32_LIBS
205 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200206 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
Vicente Olivert Riera9f4ec372015-06-04 17:03:43 +0100207 help
208 Sourcery CodeBench toolchain for the MIPS architecture, from
209 Mentor Graphics. It uses gcc 4.9.2, binutils 2.24.51, glibc
210 2.21, uClibc 0.9.30 and gdb 7.7.50, kernel headers 3.19. It
211 has support for the following variants:
212 - MIPS32r2 - Big-Endian, 2008 NaN, O32
213 Select MIPS (big endian) core
214 Disable BR2_SOFT_FLOAT
215 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
216 - MIPS32r2 - Big-Endian, O32
217 Select MIPS (big endian) core
218 Disable BR2_SOFT_FLOAT
219 - MIPS32r2 - Big-Endian, O32, MIPS16
220 Select MIPS (big endian) core
221 Disable BR2_SOFT_FLOAT
222 Set BR2_TARGET_OPTIMIZATION to -mips16
223 - MIPS32r2 - Big-Endian, Soft-Float, O32
224 Select MIPS (big endian) core
225 Select BR2_SOFT_FLOAT
226 - MIPS32r2 - Big-Endian, Soft-Float, O32, MIPS16
227 Select MIPS (big endian) core
228 Select BR2_SOFT_FLOAT
229 Set BR2_TARGET_OPTIMIZATION to -mips16
230 - MIPS32r2 - Little-Endian, 2008 NaN, O32
231 Select MIPS (little endian) core
232 Disable BR2_SOFT_FLOAT
233 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
234 - MIPS32r2 - Little-Endian, O32
235 Select MIPS (little endian) core
236 Disable BR2_SOFT_FLOAT
237 - MIPS32r2 - Little-Endian, O32, MIPS16
238 Select MIPS (little endian) core
239 Disable BR2_SOFT_FLOAT
240 Set BR2_TARGET_OPTIMIZATION to -mips16
241 - MIPS32r2 - Little-Endian, Soft-Float, O32
242 Select MIPS (little endian) core
243 Select BR2_SOFT_FLOAT
244 - MIPS32r2 - Little-Endian, Soft-Float, O32, MIPS16
245 Select MIPS (little endian) core
246 Select BR2_SOFT_FLOAT
247 Set BR2_TARGET_OPTIMIZATION to -mips16
248 - MIPS32r2 - Little-Endian, Soft-Float, O32, microMIPS
249 Select MIPS (little endian) core
250 Select BR2_SOFT_FLOAT
251 Set BR2_TARGET_OPTIMIZATION to -mmicromips
252 - MIPS32r2 - uClibc, Big-Endian, 2008 NaN, O32
253 Not usable in Buildroot yet.
254 - MIPS32r2 - uClibc, Big-Endian, O32
255 Not usable in Buildroot yet.
256 - MIPS32r2 - uClibc, Big-Endian, Soft-Float, O32
257 Not usable in Buildroot yet.
258 - MIPS32r2 - uClibc, Little-Endian, 2008 NaN, O32
259 Not usable in Buildroot yet.
260 - MIPS32r2 - uClibc, Little-Endian, O32
261 Not usable in Buildroot yet.
262 - MIPS32r2 - uClibc, Little-Endian, Soft-Float, O32
263 Not usable in Buildroot yet.
264 - MIPS64r2 - Big-Endian, N64
265 Select MIPS64 (big endian) core
266 Select the n64 ABI
267 Disable BR2_SOFT_FLOAT
268 - MIPS64r2 - Big-Endian, Soft-Float, N64
269 Select MIPS64 (big endian) core
270 Select the n64 ABI
271 Select BR2_SOFT_FLOAT
272 - MIPS64r2 - Little-Endian, N64
273 Select MIPS64 (little endian) core
274 Select the n64 ABI
275 Disable BR2_SOFT_FLOAT
276 - MIPS64r2 - Little-Endian, Soft-Float, N64
277 Select MIPS64 (little endian) core
278 Select the n64 ABI
279 Select BR2_SOFT_FLOAT
280
Vicente Olivert Riera8b3b60c2014-12-03 16:52:25 +0000281config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201411
282 bool "Sourcery CodeBench MIPS 2014.11"
283 depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
284 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
285 depends on !BR2_MIPS_NABI32
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100286 depends on !BR2_STATIC_LIBS
Vicente Olivert Riera99122d62015-10-12 11:08:06 +0100287 # Unsupported for MIPS R6
288 depends on !BR2_mips_32r6 && !BR2_mips_64r6
Vicente Olivert Riera8b3b60c2014-12-03 16:52:25 +0000289 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
290 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
291 select BR2_INSTALL_LIBSTDCPP
292 select BR2_HOSTARCH_NEEDS_IA32_LIBS
293 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200294 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
Vicente Olivert Riera8b3b60c2014-12-03 16:52:25 +0000295 help
296 Sourcery CodeBench toolchain for the MIPS architecture, from
297 Mentor Graphics. It uses gcc 4.9.1, binutils 2.24.51, glibc
298 2.20, uClibc 0.9.30 and gdb 7.7.50, kernel headers 3.16.2. It
299 has support for the following variants:
300 - MIPS32r2 - Big-Endian, 2008 NaN, O32
301 Select MIPS (big endian) core
302 Disable BR2_SOFT_FLOAT
303 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
304 - MIPS32r2 - Big-Endian, O32
305 Select MIPS (big endian) core
306 Disable BR2_SOFT_FLOAT
307 - MIPS32r2 - Big-Endian, O32, MIPS16
308 Select MIPS (big endian) core
309 Disable BR2_SOFT_FLOAT
310 Set BR2_TARGET_OPTIMIZATION to -mips16
311 - MIPS32r2 - Big-Endian, Soft-Float, O32
312 Select MIPS (big endian) core
313 Select BR2_SOFT_FLOAT
314 - MIPS32r2 - Big-Endian, Soft-Float, O32, MIPS16
315 Select MIPS (big endian) core
316 Select BR2_SOFT_FLOAT
317 Set BR2_TARGET_OPTIMIZATION to -mips16
318 - MIPS32r2 - Little-Endian, 2008 NaN, O32
319 Select MIPS (little endian) core
320 Disable BR2_SOFT_FLOAT
321 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
322 - MIPS32r2 - Little-Endian, O32
323 Select MIPS (little endian) core
324 Disable BR2_SOFT_FLOAT
325 - MIPS32r2 - Little-Endian, O32, MIPS16
326 Select MIPS (little endian) core
327 Disable BR2_SOFT_FLOAT
328 Set BR2_TARGET_OPTIMIZATION to -mips16
329 - MIPS32r2 - Little-Endian, Soft-Float, O32
330 Select MIPS (little endian) core
331 Select BR2_SOFT_FLOAT
332 - MIPS32r2 - Little-Endian, Soft-Float, O32, MIPS16
333 Select MIPS (little endian) core
334 Select BR2_SOFT_FLOAT
335 Set BR2_TARGET_OPTIMIZATION to -mips16
336 - MIPS32r2 - Little-Endian, Soft-Float, O32, microMIPS
337 Select MIPS (little endian) core
338 Select BR2_SOFT_FLOAT
339 Set BR2_TARGET_OPTIMIZATION to -mmicromips
340 - MIPS32r2 - uClibc, Big-Endian, 2008 NaN, O32
341 Not usable in Buildroot yet.
342 - MIPS32r2 - uClibc, Big-Endian, O32
343 Not usable in Buildroot yet.
344 - MIPS32r2 - uClibc, Big-Endian, Soft-Float, O32
345 Not usable in Buildroot yet.
346 - MIPS32r2 - uClibc, Little-Endian, 2008 NaN, O32
347 Not usable in Buildroot yet.
348 - MIPS32r2 - uClibc, Little-Endian, O32
349 Not usable in Buildroot yet.
350 - MIPS32r2 - uClibc, Little-Endian, Soft-Float, O32
351 Not usable in Buildroot yet.
352 - MIPS64r2 - Big-Endian, N64
353 Select MIPS64 (big endian) core
354 Select the n64 ABI
355 Disable BR2_SOFT_FLOAT
356 - MIPS64r2 - Big-Endian, Soft-Float, N64
357 Select MIPS64 (big endian) core
358 Select the n64 ABI
359 Select BR2_SOFT_FLOAT
360 - MIPS64r2 - Little-Endian, N64
361 Select MIPS64 (little endian) core
362 Select the n64 ABI
363 Disable BR2_SOFT_FLOAT
364 - MIPS64r2 - Little-Endian, Soft-Float, N64
365 Select MIPS64 (little endian) core
366 Select the n64 ABI
367 Select BR2_SOFT_FLOAT
368
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200369config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201405
370 bool "Sourcery CodeBench MIPS 2014.05"
371 depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
372 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
373 depends on !BR2_MIPS_NABI32
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100374 depends on !BR2_STATIC_LIBS
Vicente Olivert Riera99122d62015-10-12 11:08:06 +0100375 # Unsupported for MIPS R6
376 depends on !BR2_mips_32r6 && !BR2_mips_64r6
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200377 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
378 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
379 select BR2_INSTALL_LIBSTDCPP
380 select BR2_HOSTARCH_NEEDS_IA32_LIBS
381 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200382 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200383 help
384 Sourcery CodeBench toolchain for the MIPS architecture, from
385 Mentor Graphics. It uses gcc 4.8.3, binutils 2.24.51, glibc
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000386 2.18, uClibc 0.9.30 and gdb 7.7.50, kernel headers 3.13. It
387 has support for the following variants:
388 - MIPS32r2 - Big-Endian, 2008 NaN, O32
389 Select MIPS (big endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200390 Disable BR2_SOFT_FLOAT
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000391 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
392 - MIPS32r2 - Big-Endian, O32
393 Select MIPS (big endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200394 Disable BR2_SOFT_FLOAT
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000395 - MIPS32r2 - Big-Endian, O32, MIPS16
396 Select MIPS (big endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200397 Disable BR2_SOFT_FLOAT
398 Set BR2_TARGET_OPTIMIZATION to -mips16
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000399 - MIPS32r2 - Big-Endian, Soft-Float, O32
400 Select MIPS (big endian) core
401 Select BR2_SOFT_FLOAT
402 - MIPS32r2 - Big-Endian, Soft-Float, O32, MIPS16
403 Select MIPS (big endian) core
404 Select BR2_SOFT_FLOAT
405 Set BR2_TARGET_OPTIMIZATION to -mips16
406 - MIPS32r2 - Little-Endian, 2008 NaN, O32
407 Select MIPS (little endian) core
408 Disable BR2_SOFT_FLOAT
409 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
410 - MIPS32r2 - Little-Endian, O32
411 Select MIPS (little endian) core
412 Disable BR2_SOFT_FLOAT
413 - MIPS32r2 - Little-Endian, O32, MIPS16
414 Select MIPS (little endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200415 Disable BR2_SOFT_FLOAT
416 Set BR2_TARGET_OPTIMIZATION to -mips16
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000417 - MIPS32r2 - Little-Endian, Soft-Float, O32
418 Select MIPS (little endian) core
419 Select BR2_SOFT_FLOAT
420 - MIPS32r2 - Little-Endian, Soft-Float, O32, MIPS16
421 Select MIPS (little endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200422 Select BR2_SOFT_FLOAT
423 Set BR2_TARGET_OPTIMIZATION to -mips16
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000424 - MIPS32r2 - Little-Endian, Soft-Float, O32, microMIPS
425 Select MIPS (little endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200426 Select BR2_SOFT_FLOAT
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000427 Set BR2_TARGET_OPTIMIZATION to -mmicromips
428 - MIPS32r2 - uClibc, Big-Endian, 2008 NaN, O32
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200429 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000430 - MIPS32r2 - uClibc, Big-Endian, O32
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200431 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000432 - MIPS32r2 - uClibc, Big-Endian, Soft-Float, O32
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200433 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000434 - MIPS32r2 - uClibc, Little-Endian, 2008 NaN, O32
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200435 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000436 - MIPS32r2 - uClibc, Little-Endian, O32
437 Not usable in Buildroot yet.
438 - MIPS32r2 - uClibc, Little-Endian, Soft-Float, O32
439 Not usable in Buildroot yet.
440 - MIPS64r2 - Big-Endian, N64
441 Select MIPS64 (big endian) core
442 Select the n64 ABI
443 Disable BR2_SOFT_FLOAT
444 - MIPS64r2 - Big-Endian, Soft-Float, N64
445 Select MIPS64 (big endian) core
446 Select the n64 ABI
447 Select BR2_SOFT_FLOAT
448 - MIPS64r2 - Little-Endian, N64
449 Select MIPS64 (little endian) core
450 Select the n64 ABI
451 Disable BR2_SOFT_FLOAT
452 - MIPS64r2 - Little-Endian, Soft-Float, N64
453 Select MIPS64 (little endian) core
454 Select the n64 ABI
455 Select BR2_SOFT_FLOAT
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200456
Markos Chandras6f70ba32013-08-13 09:45:44 +0100457comment "Sourcery CodeBench toolchains are only available for MIPS/MIPS64 o32 and n64"
458 depends on BR2_MIPS_NABI32
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100459 depends on !BR2_STATIC_LIBS
Markos Chandras6f70ba32013-08-13 09:45:44 +0100460
Ezequiel García3ca5f0b2014-08-31 18:33:39 -0300461config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
462 bool "Sourcery CodeBench Nios-II 2014.05"
463 depends on BR2_nios2
464 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100465 depends on !BR2_STATIC_LIBS
Ezequiel García3ca5f0b2014-08-31 18:33:39 -0300466 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
467 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
468 select BR2_INSTALL_LIBSTDCPP
469 select BR2_HOSTARCH_NEEDS_IA32_LIBS
470 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200471 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
Ezequiel García3ca5f0b2014-08-31 18:33:39 -0300472 help
473 Sourcery CodeBench toolchain for the Nios-II architecture,
474 from Mentor Graphics. It uses gcc 4.8.3, binutils 2.24.51,
475 glibc 2.19.90, gdb 7.7.50 and kernel headers 3.12.
476
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300477config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
478 bool "Sourcery CodeBench Nios-II 2013.05"
479 depends on BR2_nios2
480 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100481 depends on !BR2_STATIC_LIBS
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300482 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
483 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
484 select BR2_INSTALL_LIBSTDCPP
485 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100486 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200487 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300488 help
489 Sourcery CodeBench toolchain for the Nios-II architecture,
490 from Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52,
491 glibc 2.17, gdb 7.4.50 and kernel headers 3.7.0.
492
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +0200493config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201203
494 bool "Sourcery CodeBench PowerPC 2012.03"
495 depends on BR2_powerpc
496 depends on BR2_powerpc_SPE
497 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100498 depends on !BR2_STATIC_LIBS
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +0200499 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
500 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
501 select BR2_INSTALL_LIBSTDCPP
502 select BR2_HOSTARCH_NEEDS_IA32_LIBS
503 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200504 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +0200505 help
506 Sourcery CodeBench toolchain for the PowerPC architecture,
507 from Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53,
508 glibc 2.15, gdb 7.2.50 and kernel headers 3.2.10. It has
509 support for the following variants:
510 - e500v2 glibc, SPE, 32 bits
511
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100512config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
513 bool "Sourcery CodeBench PowerPC 2011.03"
514 depends on BR2_powerpc
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000515 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100516 depends on !BR2_STATIC_LIBS
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100517 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100518 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100519 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000520 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100521 # kernel headers: 2.6.38
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200522 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100523 help
524 Sourcery CodeBench toolchain for the PowerPC architecture,
525 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20.51,
526 glibc 2.13, gdb 7.2.50 and kernel headers 2.6.38. It has
527 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200528 - 603 glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100529 Select a generic PowerPC core
530 Disable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200531 - 603 soft float glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100532 Select a generic PowerPC core
533 Enable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200534 - e600 altivec glibc, 32 bits
535 Set BR2_TARGET_OPTIMIZATION to -te600
536 - e500v1 glibc, 32 bits
537 Set BR2_TARGET_OPTIMIZATION to -te500v1
538 - e500v2 glibc, 32 bits
539 Set BR2_TARGET_OPTIMIZATION to -te500v2
540 - e500mc glibc, 32 bits
541 Set BR2_TARGET_OPTIMIZATION to -te500mc
542 - 970 glibc hard-float, 64 bits
543 Set BR2_TARGET_OPTIMIZATION to -m64
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100544
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100545config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200546 bool "Sourcery CodeBench PowerPC 2010.09"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100547 depends on BR2_powerpc
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000548 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100549 depends on !BR2_STATIC_LIBS
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100550 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100551 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni6b578c82010-12-13 17:27:41 +0100552 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000553 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100554 # kernel headers: 2.6.35
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200555 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100556 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200557 Sourcery CodeBench toolchain for the PowerPC architecture,
Thomas Petazzoni2ec3e6d2012-01-15 20:02:11 +0100558 from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200559 glibc 2.11, gdb 7.2.50 and kernel headers 2.6.35.2. It has
560 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200561 - 603 glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100562 Select a generic PowerPC core
563 Disable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200564 - 603 soft float glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100565 Select a generic PowerPC core
566 Enable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200567 - e600 altivec glibc, 32 bits
568 Set BR2_TARGET_OPTIMIZATION to -te600
569 - e500v1 glibc, 32 bits
570 Set BR2_TARGET_OPTIMIZATION to -te500v1
571 - e500v2 glibc, 32 bits
572 Set BR2_TARGET_OPTIMIZATION to -te500v2
573 - e500mc glibc, 32 bits
574 Set BR2_TARGET_OPTIMIZATION to -te500mc
575 - 970 glibc hard-float, 64 bits
576 Set BR2_TARGET_OPTIMIZATION to -m64
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100577
Thomas Petazzonie067a442012-11-04 07:34:21 +0000578config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
579 bool "Sourcery CodeBench SH 2012.09"
580 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000581 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100582 depends on !BR2_STATIC_LIBS
Thomas Petazzonie067a442012-11-04 07:34:21 +0000583 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
584 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
585 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000586 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100587 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200588 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
Thomas Petazzonie067a442012-11-04 07:34:21 +0000589 help
590 Sourcery CodeBench toolchain for the SuperH architecture,
591 from Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51,
592 glibc 2.16, uClibc 0.9.30, gdb 7.4.50 and kernel headers
593 3.5.4. It has support for the following variants:
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +0100594 - SH4A, glibc, little endian
595 Default.
596 - SH4A, glibc, big endian
597 Add -mb to BR2_TARGET_OPTIMIZATION
598 - SH4A, uClibc, little endian
599 Not usable in Buildroot yet.
600 - SH4A, uClibc, big endian
601 Not usable in Buildroot yet.
Thomas Petazzonie067a442012-11-04 07:34:21 +0000602
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000603config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
604 bool "Sourcery CodeBench SH 2012.03"
605 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000606 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100607 depends on !BR2_STATIC_LIBS
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000608 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
609 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000610 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100611 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200612 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000613 help
614 Sourcery CodeBench toolchain for the SuperH architecture,
615 from Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53,
616 glibc 2.15, uClibc 0.9.30, gdb 7.2.50 and kernel headers
617 3.2.10. It has support for the following variants:
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +0100618 - SH4A, glibc, little endian
619 Default.
620 - SH4A, glibc, big endian
621 Add -mb to BR2_TARGET_OPTIMIZATION
622 - SH4A, uClibc, little endian
623 Not usable in Buildroot yet.
624 - SH4A, uClibc, big endian
625 Not usable in Buildroot yet.
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000626
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200627config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200628 bool "Sourcery CodeBench SH 2011.03"
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200629 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000630 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100631 depends on !BR2_STATIC_LIBS
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200632 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100633 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200634 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000635 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100636 # kernel headers: 2.6.38
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200637 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200638 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200639 Sourcery CodeBench toolchain for the SuperH architecture,
640 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
641 glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers
642 2.6.38. It has support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200643 - SH4A, glibc, little endian
644 Default.
645 - SH4A, glibc, big endian
646 Add -mb to BR2_TARGET_OPTIMIZATION
647 - SH4A, uClibc, little endian
648 Not usable in Buildroot yet.
649 - SH4A, uClibc, big endian
650 Not usable in Buildroot yet.
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200651
Gustavo Zacariasd6fbd852015-03-03 12:52:31 -0300652config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64_201405
653 bool "Sourcery CodeBench AMD64 2014.05"
654 depends on BR2_x86_64
655 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
656 depends on !BR2_STATIC_LIBS
657 depends on BR2_x86_jaguar || BR2_x86_steamroller
658 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
659 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
660 select BR2_INSTALL_LIBSTDCPP
661 select BR2_HOSTARCH_NEEDS_IA32_LIBS
662 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200663 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
Gustavo Zacariasd6fbd852015-03-03 12:52:31 -0300664 help
665 Sourcery CodeBench toolchain for the amd64 (x86_64)
666 architectures, from Mentor Graphics. It uses gcc 4.8.3,
667 binutils 2.24.51, glibc 2.18, gdb 7.7.50 and kernel headers
668 3.13.0. It has support for the following variants:
669 - AMD Puma/Jaguar (family 16h), glibc
670 Default for x86_64, nothing special to do.
671 - AMD Steamroller (family 15h), glibc
672 Select a steamroller core.
673 No other architecture variants are supported since glibc
674 is optimized for one of these two baselines.
675
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000676config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
677 bool "Sourcery CodeBench x86/x86_64 2012.09"
678 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000679 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100680 depends on !BR2_STATIC_LIBS
Adrien Bérauda20cb382014-01-15 17:17:10 -0500681 depends on !BR2_x86_jaguar
Gustavo Zacarias50451992015-03-03 12:52:30 -0300682 depends on !BR2_x86_steamroller
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000683 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
684 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
685 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000686 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100687 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200688 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000689 help
690 Sourcery CodeBench toolchain for the x86/x86_64
691 architectures, from Mentor Graphics. It uses gcc 4.7.2,
692 binutils 2.23.51, glibc 2.16, gdb 7.4.50 and kernel headers
693 3.5.4. It has support for the following variants:
694 - Intel Pentium 4, glibc, 32 bits
695 Default for x86, nothing special to do.
696 - Intel Atom, glibc, 32 bits
697 Select an Atom core
698 - Intel Xeon, glibc, 64 bits
699 Default for x86_64, nothing special to do.
700 - Intel Core 2, glibc, 64 bits
701 Select a Core 2 core
702 Other architecture variants (beyond Pentium-4/Xeon) are
703 supported as well, but glibc is not optimised for it.
704
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000705config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
706 bool "Sourcery CodeBench x86/x86_64 2012.03"
707 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000708 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100709 depends on !BR2_STATIC_LIBS
Adrien Bérauda20cb382014-01-15 17:17:10 -0500710 depends on !BR2_x86_jaguar
Gustavo Zacarias50451992015-03-03 12:52:30 -0300711 depends on !BR2_x86_steamroller
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000712 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
713 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000714 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100715 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200716 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000717 help
718 Sourcery CodeBench toolchain for the x86/x86_64
719 architectures, from Mentor Graphics. It uses gcc 4.6.3,
720 binutils 2.21.53, glibc 2.15, gdb 7.2.50 and kernel headers
721 3.2.10. It has support for the following variants:
722 - Intel Pentium 4, glibc, 32 bits
723 Default for x86, nothing special to do.
724 - Intel Atom, glibc, 32 bits
725 Select an Atom core
726 - Intel Xeon, glibc, 64 bits
727 Default for x86_64, nothing special to do.
728 - Intel Core 2, glibc, 64 bits
729 Select a Core 2 core
730 Other architecture variants (beyond Pentium-4/Xeon) are
731 supported as well, but glibc is not optimised for it.
732
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100733config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
734 bool "Sourcery CodeBench x86/x86_64 2011.09"
735 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000736 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100737 depends on !BR2_STATIC_LIBS
Adrien Bérauda20cb382014-01-15 17:17:10 -0500738 depends on !BR2_x86_jaguar
Gustavo Zacarias50451992015-03-03 12:52:30 -0300739 depends on !BR2_x86_steamroller
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100740 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100741 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100742 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000743 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100744 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200745 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100746 help
747 Sourcery CodeBench toolchain for the x86/x86_64
748 architectures, from Mentor Graphics. It uses gcc 4.6.1,
749 binutils 2.21.53, glibc 2.13, gdb 7.2.50 and kernel headers
750 3.0.1. It has support for the following variants:
751 - Intel Pentium 4, glibc, 32 bits
Arnout Vandecappelle (Essensium/Mind)a22dc0f2012-03-13 23:30:00 +0100752 Default for x86, nothing special to do.
753 - Intel Atom, glibc, 32 bits
754 Select an Atom core
755 - Intel Xeon, glibc, 64 bits
756 Default for x86_64, nothing special to do.
757 - Intel Core 2, glibc, 64 bits
758 Select a Core 2 core
759 Other architecture variants (beyond Pentium-4/Xeon) are
760 supported as well, but glibc is not optimised for it.
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100761
Thomas Petazzoni1cfeed12014-07-09 23:20:22 +0200762config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1
763 bool "Blackfin.uclinux.org 2014R1"
Thomas Petazzoni5a65b8e2014-06-01 12:47:48 +0200764 depends on BR2_bfin
765 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
766 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
767 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni5a65b8e2014-06-01 12:47:48 +0200768 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
769 select BR2_USE_WCHAR
770 select BR2_TOOLCHAIN_HAS_THREADS
771 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
772 select BR2_HOSTARCH_NEEDS_IA32_LIBS
773 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200774 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
Thomas Petazzoni5a65b8e2014-06-01 12:47:48 +0200775 help
776 Toolchain for the Blackfin architecture, from
777 http://blackfin.uclinux.org.
778
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100779config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1
780 bool "Blackfin.uclinux.org 2013R1"
781 depends on BR2_bfin
782 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
783 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
784 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100785 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
786 select BR2_USE_WCHAR
787 select BR2_TOOLCHAIN_HAS_THREADS
788 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
789 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100790 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200791 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100792 help
793 Toolchain for the Blackfin architecture, from
794 http://blackfin.uclinux.org.
795
Thomas Petazzonid51025d2014-06-01 12:47:41 +0200796config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
Thomas Petazzoni28bca1c2014-11-10 11:06:31 +0100797 bool "Linaro AArch64 14.09"
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100798 depends on BR2_aarch64
799 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100800 depends on !BR2_STATIC_LIBS
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100801 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
802 select BR2_INSTALL_LIBSTDCPP
803 select BR2_HOSTARCH_NEEDS_IA32_LIBS
804 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100805 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200806 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100807 help
808 Toolchain for the AArch64 architecture, from
809 http://www.linaro.org/engineering/armv8/
810
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200811config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
812 bool "CodeSourcery AArch64 2014.05"
813 depends on BR2_aarch64
814 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100815 depends on !BR2_STATIC_LIBS
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200816 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
817 select BR2_INSTALL_LIBSTDCPP
818 select BR2_HOSTARCH_NEEDS_IA32_LIBS
819 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
820 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200821 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200822 help
823 Sourcery CodeBench toolchain for the AArch64 architecture,
824 from Mentor Graphics. It uses gcc 4.8.3, binutils 2.24,
825 glibc 2.18, gdb 7.7.50 and kernel headers 3.13.
826
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200827config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS
Peter Korsgaard3ed34ff2015-05-04 16:01:37 +0200828 bool "Musl 1.1.6 toolchain (experimental)"
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200829 depends on (BR2_arm && BR2_ARM_EABI) || (BR2_armeb && BR2_ARM_EABI) || \
Thomas Petazzoni77ef6a32014-05-30 22:24:39 +0200830 (BR2_i386 && !BR2_x86_i386) || BR2_microblazebe || BR2_mips || \
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200831 BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || BR2_x86_64
832 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Vicente Olivert Riera99122d62015-10-12 11:08:06 +0100833 # Unsupported for MIPS R6
834 depends on !BR2_mips_32r6 && !BR2_mips_64r6
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200835 select BR2_TOOLCHAIN_EXTERNAL_MUSL
836 select BR2_INSTALL_LIBSTDCPP
837 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni5c852662014-06-01 12:47:45 +0200838 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200839 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200840 help
841 Toolchain based on the Musl C library, provided by the
Will Wagner2e313e12015-04-23 14:27:10 +0100842 musl-cross project. It uses gcc 4.9.2, binutils 2.25 and
843 musl 1.1.6. It does not have a cross debugger included.
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200844
845 The ARM toolchain is built for ARMv4t, soft-float.
846 The x86 toolchain is built for i486.
847
848 http://musl.codu.org/
849
Alexey Brodkin2b93fe52015-03-10 14:50:24 +0300850config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_2014_12
851 bool "Synopsys ARC 2014.12 toolchain"
852 depends on BR2_arc
853 depends on BR2_HOSTARCH = "x86_64"
Thomas Petazzonicd3c00f2015-05-01 11:13:54 +0200854 # does not provide IPv6, and lacks many uClibc features
855 # expected by Buildroot. The next Synopsys toolchain version
856 # should fix those problems.
857 depends on BROKEN
Alexey Brodkin2b93fe52015-03-10 14:50:24 +0300858 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
859 select BR2_INSTALL_LIBSTDCPP
Alexey Brodkin2b93fe52015-03-10 14:50:24 +0300860 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
861 select BR2_ENABLE_LOCALE
862 select BR2_USE_WCHAR
863 select BR2_TOOLCHAIN_HAS_THREADS
864 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
865 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200866 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
Alexey Brodkin2b93fe52015-03-10 14:50:24 +0300867 help
868 Toolchain for the ARC cores, from
869 https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases
870
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100871config BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200872 bool "Custom toolchain"
873 help
874 Use this option to use a custom toolchain pre-installed on
875 your system.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100876
877endchoice
878
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200879choice
880 prompt "Toolchain origin"
Thomas Petazzoni70194072012-07-22 20:57:26 +0200881 # Keep compatibility with old defconfig files that are using
882 # custom toolchains, and which are therefore assuming that
883 # "preinstalled" in the default choice.
884 default BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200885
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100886config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200887 bool "Toolchain to be downloaded and installed"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100888 help
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200889 Select this option if you want Buildroot to download and install the
890 toolchain. If you have selected a custom toolchain, specify the URL
891 in BR2_TOOLCHAIN_EXTERNAL_URL.
892
893config BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
894 bool "Pre-installed toolchain"
895 help
896 Select this option if you want to use a pre-installed toolchain.
897 Specify the path to this toolchain in BR2_TOOLCHAIN_EXTERNAL_PATH.
898
899endchoice
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100900
901config BR2_TOOLCHAIN_EXTERNAL_PATH
902 string "Toolchain path"
903 default "/path/to/toolchain/usr"
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200904 depends on BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100905 help
906 Path to where the external toolchain is installed.
907
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200908config BR2_TOOLCHAIN_EXTERNAL_URL
909 string "Toolchain URL"
910 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM && BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
911 help
912 URL of the custom toolchain tarball to download and install.
913
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100914config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
915 string "Toolchain prefix"
916 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM
917 default "$(ARCH)-linux"
918
919config BR2_TOOLCHAIN_EXTERNAL_PREFIX
920 string
Alexey Brodkin2b93fe52015-03-10 14:50:24 +0300921 default "arc-linux" if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_2014_12 && BR2_arcle
922 default "arceb-linux" if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_2014_12 && BR2_arceb
Thomas Petazzonibe2abf22014-06-01 12:47:40 +0200923 default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
Thomas Petazzonicd32da82014-03-05 23:23:40 +0100924 default "armeb-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
Fabio Porcedda786700e2013-05-26 12:08:19 +0000925 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
Thomas Petazzonic5252312013-12-27 12:32:17 +0100926 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
Thomas Petazzoni93f3c042014-09-15 23:49:35 +0200927 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201405
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200928 default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200929 default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
Thomas Petazzonid51025d2014-06-01 12:47:41 +0200930 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200931 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200932 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201405
Vicente Olivert Riera8b3b60c2014-12-03 16:52:25 +0000933 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201411
Vicente Olivert Riera9f4ec372015-06-04 17:03:43 +0100934 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201505
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300935 default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
Ezequiel García3ca5f0b2014-08-31 18:33:39 -0300936 default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100937 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100938 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +0200939 default "powerpc-mentor-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201203
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200940 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000941 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
Thomas Petazzonie067a442012-11-04 07:34:21 +0000942 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100943 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000944 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000945 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
Gustavo Zacariasd6fbd852015-03-03 12:52:31 -0300946 default "x86_64-amd-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64_201405
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100947 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FLAT
948 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FDPIC
Thomas Petazzoni1cfeed12014-07-09 23:20:22 +0200949 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 && BR2_BINFMT_FLAT
950 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 && BR2_BINFMT_FDPIC
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200951 default "arm-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_arm
952 default "armeb-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_armeb
953 default "i486-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_i386
Thomas Petazzoni77ef6a32014-05-30 22:24:39 +0200954 default "microblaze-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_microblazebe
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200955 default "mips-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && !BR2_SOFT_FLOAT)
956 default "mips-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && BR2_SOFT_FLOAT)
957 default "mipsel-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && !BR2_SOFT_FLOAT)
958 default "mipsel-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && BR2_SOFT_FLOAT)
959 default "powerpc-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_powerpc
960 default "x86_64-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_x86_64
Thomas De Schampheleirefbc24942013-09-02 22:07:53 +0200961 default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX \
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100962 if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzoni643aa232009-05-29 18:37:41 +0200963
964config BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100965 bool
Thomas Petazzoni381616e2013-06-30 21:29:09 +0200966 select BR2_TOOLCHAIN_USES_GLIBC
Thomas Petazzoni643aa232009-05-29 18:37:41 +0200967
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100968config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
969 bool
Thomas Petazzoni381616e2013-06-30 21:29:09 +0200970 select BR2_TOOLCHAIN_USES_UCLIBC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100971
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +0200972config BR2_TOOLCHAIN_EXTERNAL_MUSL
973 bool
974 select BR2_TOOLCHAIN_USES_MUSL
975
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100976if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
977
978choice
Thomas Petazzonibd760c32015-08-04 20:00:35 +0200979 bool "External toolchain gcc version"
980 default BR2_TOOLCHAIN_EXTERNAL_GCC_4_3
981 help
982 Set to the gcc version that is used by your external
983 toolchain.
984
985config BR2_TOOLCHAIN_EXTERNAL_GCC_5
986 bool "5.x"
987 select BR2_TOOLCHAIN_GCC_AT_LEAST_5
988
989config BR2_TOOLCHAIN_EXTERNAL_GCC_4_9
990 bool "4.9.x"
991 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
992
993config BR2_TOOLCHAIN_EXTERNAL_GCC_4_8
994 bool "4.8.x"
995 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
996
997config BR2_TOOLCHAIN_EXTERNAL_GCC_4_7
998 bool "4.7.x"
999 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
1000
1001config BR2_TOOLCHAIN_EXTERNAL_GCC_4_6
1002 bool "4.6.x"
1003 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
1004
1005config BR2_TOOLCHAIN_EXTERNAL_GCC_4_5
1006 bool "4.5.x"
1007 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
1008
1009config BR2_TOOLCHAIN_EXTERNAL_GCC_4_4
1010 bool "4.4.x"
1011 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
1012
1013config BR2_TOOLCHAIN_EXTERNAL_GCC_4_3
1014 bool "4.3.x"
1015 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
1016
1017endchoice
1018
1019choice
Yann E. MORINc58bcd52014-03-01 15:52:59 +01001020 bool "External toolchain kernel headers series"
1021 default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
1022 help
1023 Set to the kernel headers version that were used to build
1024 this external toolchain.
1025
1026 This is used to hide/show some packages that have strict
1027 requirements on the version of kernel headers.
1028
1029 If unsure what version your toolchain is using, you can look
1030 at the value of LINUX_VERSION_CODE in linux/version.h in your
1031 toolchain. The Linux version is M.m.p, with:
1032 M = ( LINUX_VERSION_CODE >> 16 ) & 0xFF
1033 m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF
1034 p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF
1035
Peter Korsgaard8dc68292015-09-01 10:05:20 +02001036config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_2
1037 bool "4.2.x"
1038 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
1039
Gustavo Zacariasdae7d8a2015-06-22 10:11:03 -03001040config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_1
1041 bool "4.1.x"
1042 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
1043
Gustavo Zacariase714ee92015-04-13 10:00:23 -03001044config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_0
1045 bool "4.0.x"
1046 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
1047
Peter Korsgaard81366ed2015-02-09 13:31:23 +01001048config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_19
1049 bool "3.19.x"
1050 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
1051
Gustavo Zacariasbf6f74d2014-12-08 08:10:39 -03001052config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_18
1053 bool "3.18.x"
1054 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
1055
Gustavo Zacarias2d312b72014-10-06 08:44:39 -03001056config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17
1057 bool "3.17.x"
Karoly Kaszab8f9e572014-10-09 12:59:01 +02001058 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
Gustavo Zacarias2d312b72014-10-06 08:44:39 -03001059
Gustavo Zacarias911516f2014-08-03 23:29:22 -03001060config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_16
1061 bool "3.16.x"
1062 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
1063
Gustavo Zacariasfb29afe2014-06-09 08:30:33 -03001064config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15
1065 bool "3.15.x"
1066 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
1067
Samuel Martin11547ca2014-04-06 18:27:49 +02001068config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14
1069 bool "3.14.x"
1070 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
1071
Yann E. MORINc58bcd52014-03-01 15:52:59 +01001072config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13
1073 bool "3.13.x"
1074 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
1075
1076config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12
1077 bool "3.12.x"
1078 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
1079
1080config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11
1081 bool "3.11.x"
1082 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
1083
1084config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10
1085 bool "3.10.x"
1086 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
1087
1088config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9
1089 bool "3.9.x"
1090 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
1091
1092config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8
1093 bool "3.8.x"
1094 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
1095
1096config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7
1097 bool "3.7.x"
1098 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
1099
1100config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6
1101 bool "3.6.x"
1102 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
1103
1104config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5
1105 bool "3.5.x"
1106 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
1107
1108config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4
1109 bool "3.4.x"
1110 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
1111
1112config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3
1113 bool "3.3.x"
1114 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
1115
1116config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2
1117 bool "3.2.x"
1118 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
1119
1120config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1
1121 bool "3.1.x"
1122 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
1123
1124config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0
1125 bool "3.0.x"
1126 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
1127
1128config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
1129 bool "2.6.x"
1130
1131endchoice
1132
1133choice
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001134 prompt "External toolchain C library"
1135 default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1136
1137config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1138 bool "uClibc"
1139 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
Thomas Petazzonib9882922011-05-30 23:56:57 +02001140 # For the time being, we assume that all custom external
1141 # toolchains have shadow password support.
1142 select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
Thomas Petazzoni692a5852013-10-08 20:17:10 +02001143 help
1144 Select this option if your external toolchain uses the
1145 uClibc C library (available from http://www.uclibc.org/).
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001146
1147config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +00001148 bool "glibc/eglibc"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +01001149 depends on !BR2_STATIC_LIBS
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001150 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +00001151 help
Thomas Petazzoni692a5852013-10-08 20:17:10 +02001152 Select this option if your external toolchain uses the GNU C
1153 library (available from https://www.gnu.org/software/libc/)
1154 or its variant the eglibc library (http://www.eglibc.org/).
1155
1156 Note: eglibc is a variant of glibc that (among other things)
1157 can be configured to exclude some of its features. Using a
1158 toolchain with eglibc configured to exclude key features may
1159 cause build failures to some packages.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001160
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01001161comment "(e)glibc only available with shared lib support"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +01001162 depends on BR2_STATIC_LIBS
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01001163
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001164config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL
Peter Korsgaard3ed34ff2015-05-04 16:01:37 +02001165 bool "musl (experimental)"
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001166 select BR2_TOOLCHAIN_EXTERNAL_MUSL
1167 help
1168 Select this option if your external toolchain uses the
1169 'musl' C library, available from http://www.musl-libc.org/.
1170
Thomas Petazzoni643aa232009-05-29 18:37:41 +02001171endchoice
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +00001172
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001173if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
Thomas Petazzonifff71172010-12-13 17:27:37 +01001174
Thomas Petazzonifff71172010-12-13 17:27:37 +01001175config BR2_TOOLCHAIN_EXTERNAL_WCHAR
1176 bool "Toolchain has WCHAR support?"
1177 select BR2_USE_WCHAR
1178 help
1179 Select this option if your external toolchain supports
1180 WCHAR. If you don't know, leave the default value, Buildroot
1181 will tell you if it's correct or not.
1182
1183config BR2_TOOLCHAIN_EXTERNAL_LOCALE
1184 bool "Toolchain has locale support?"
1185 select BR2_TOOLCHAIN_EXTERNAL_WCHAR
1186 select BR2_ENABLE_LOCALE
1187 help
1188 Select this option if your external toolchain has locale
1189 support. If you don't know, leave the default value,
1190 Buildroot will tell you if it's correct or not.
1191
Thomas Petazzoni9eaad202010-12-13 17:27:44 +01001192config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1193 bool "Toolchain has threads support?"
1194 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard04d06892011-07-26 15:28:19 +02001195 default y
Thomas Petazzoni9eaad202010-12-13 17:27:44 +01001196 help
1197 Select this option if your external toolchain has thread
1198 support. If you don't know, leave the default value,
1199 Buildroot will tell you if it's correct or not.
1200
Thomas Petazzonic64f9482014-02-18 22:08:59 +01001201if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1202
Peter Korsgaard5931db02011-11-24 14:26:52 +01001203config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
1204 bool "Toolchain has threads debugging support?"
Peter Korsgaard5931db02011-11-24 14:26:52 +01001205 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
1206 default y
1207 help
1208 Select this option if your external toolchain has thread
1209 debugging support. If you don't know, leave the default
1210 value, Buildroot will tell you if it's correct or not.
1211
Thomas Petazzonic64f9482014-02-18 22:08:59 +01001212config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL
1213 bool "Toolchain has NPTL threads support?"
1214 select BR2_TOOLCHAIN_HAS_THREADS_NPTL
1215 default y
1216 help
1217 Select this option if your external toolchain uses the NPTL
1218 (Native Posix Thread Library) implementation of Posix
1219 threads. If you don't know, leave the default value,
1220 Buildroot will tell you if it's correct or not.
1221
1222endif # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1223
Thomas Petazzonic5866be2013-09-02 18:06:36 +02001224config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
1225 bool "Toolchain has SSP support?"
1226 select BR2_TOOLCHAIN_HAS_SSP
1227 help
1228 Selection this option if your external toolchain has Stack
1229 Smashing Protection support enabled. If you don't know,
1230 leave the default value, Buildroot will tell you if it's
1231 correct or not.
1232
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001233endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1234
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +01001235config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
1236 bool "Toolchain has RPC support?"
1237 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001238 depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL
Thomas Petazzoni3a843a32012-11-04 07:34:29 +00001239 default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +01001240 help
1241 Select this option if your external toolchain supports
1242 RPC. If you don't know, leave the default value, Buildroot
1243 will tell you if it's correct or not.
1244
Thomas Petazzoni6b578c82010-12-13 17:27:41 +01001245config BR2_TOOLCHAIN_EXTERNAL_CXX
1246 bool "Toolchain has C++ support?"
1247 select BR2_INSTALL_LIBSTDCPP
1248 help
1249 Select this option if your external toolchain has C++
1250 support. If you don't know, leave the default value,
1251 Buildroot will tell you if it's correct or not.
1252
Thomas De Schampheleirec72f54b2011-10-02 21:20:10 +02001253config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
1254 string "Extra toolchain libraries to be copied to target"
1255 help
1256 If your external toolchain provides extra libraries that
1257 need to be copied to the target filesystem, enter them
1258 here, separated by spaces. They will be copied to the
1259 target's /lib directory.
1260
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001261endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzonifff71172010-12-13 17:27:37 +01001262
Thomas Petazzonia0b6faa2013-04-07 00:04:33 +00001263config BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
1264 bool "Copy gdb server to the Target"
1265 depends on BR2_TOOLCHAIN_EXTERNAL
1266 help
1267 Copy the gdbserver provided by the external toolchain to the
1268 target.
1269
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001270# When the FDPIC shared binary format is used, the corresponding libraries are
1271# always installed. When a different binary format is used, we offer the option
1272# of installing the FDPIC shared libraries.
1273config BR2_BFIN_INSTALL_FDPIC_SHARED
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +01001274 bool "Install FDPIC shared libraries"
1275 depends on BR2_bfin && !BR2_BINFMT_FDPIC
1276 help
1277 The Linux kernel supports running both FDPIC and FLAT applications
1278 concurrently if the binary format specific libraries are installed
1279 properly. This option allows developer to install FDPIC libraries
1280 into a buildroot rootfs image built with binary format that is not
1281 FDPIC.
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001282
1283# When the FLAT shared binary format is used, we force the installation
1284# of the corresponding libraries. When a different binary format is
1285# used, we offer the option of installing the FLAT shared libraries.
1286config BR2_BFIN_INSTALL_FLAT_SHARED
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +01001287 bool "Install FLAT shared libraries" if !BR2_BINFMT_FLAT_SHARED
1288 depends on BR2_bfin
1289 default y if BR2_BINFMT_FLAT_SHARED
1290 help
1291 The Linux kernel supports running both FDPIC and FLAT applications
1292 concurrently if the binary format specific libraries are installed
1293 properly. This option allows developer to install FLAT libraries
1294 into a buildroot rootfs image built with binary format that is not
1295 shared FLAT.
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001296
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001297endif # BR2_TOOLCHAIN_EXTERNAL