blob: 50daa66ba4dd4340122955d73767b74f77aa3348 [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
Thomas Petazzonibe2abf22014-06-01 12:47:40 +02009config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
Thomas Petazzoni28bca1c2014-11-10 11:06:31 +010010 bool "Linaro ARM 2014.09"
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010011 depends on BR2_arm
Thomas Petazzoni29f68062014-10-21 22:27:06 +020012 depends on BR2_ARM_CPU_ARMV7A
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010013 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
14 depends on BR2_ARM_EABIHF
Thomas Petazzoni665e13c2014-12-03 22:41:29 +010015 depends on !BR2_STATIC_LIBS
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010016 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
17 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
18 select BR2_INSTALL_LIBSTDCPP
19 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +010020 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010021 help
22 Linaro toolchain for the ARM architecture. It uses Linaro
Thomas Petazzoni28bca1c2014-11-10 11:06:31 +010023 GCC 2014.09 (based on gcc 4.9), Linaro GDB 2013.10 (based on
24 GDB 7.6), eglibc 2.19, Binutils 2014.09 (based on 2.24). It
Thomas Petazzoni34562ee2013-12-27 12:32:19 +010025 generates code that runs on all Cortex-A profile devices,
26 but tuned for the Cortex-A9. The code generated is Thumb 2,
27 with the hard floating point calling convention, and uses
28 the VFPv3-D16 FPU instructions.
29
Thomas Petazzoni1e0b97d2013-10-29 21:54:01 +010030comment "Linaro toolchains available for Cortex-A + EABIhf"
Thomas Petazzoni90f763c2012-11-27 04:07:03 +000031 depends on BR2_arm
Thomas Petazzoni29f68062014-10-21 22:27:06 +020032 depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF
Thomas Petazzoni665e13c2014-12-03 22:41:29 +010033 depends on !BR2_STATIC_LIBS
Thomas Petazzoni90f763c2012-11-27 04:07:03 +000034
Thomas Petazzonicd32da82014-03-05 23:23:40 +010035config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
Thomas Petazzoni28bca1c2014-11-10 11:06:31 +010036 bool "Linaro armeb 2014.09"
Thomas Petazzonicd32da82014-03-05 23:23:40 +010037 depends on BR2_armeb
Thomas Petazzoni29f68062014-10-21 22:27:06 +020038 depends on BR2_ARM_CPU_ARMV7A
Thomas Petazzonicd32da82014-03-05 23:23:40 +010039 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
40 depends on BR2_ARM_EABIHF
Thomas Petazzoni665e13c2014-12-03 22:41:29 +010041 depends on !BR2_STATIC_LIBS
Thomas Petazzonicd32da82014-03-05 23:23:40 +010042 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
43 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
44 select BR2_INSTALL_LIBSTDCPP
45 select BR2_HOSTARCH_NEEDS_IA32_LIBS
46 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
47 help
48 Linaro toolchain for the ARM big endian architecture. It
Thomas Petazzoni28bca1c2014-11-10 11:06:31 +010049 uses Linaro GCC 2014.09 (based on gcc 4.9), Linaro GDB
50 2013.10 (based on GDB 7.6), eglibc 2.19, Binutils 2014.09
Thomas Petazzonicd32da82014-03-05 23:23:40 +010051 (based on 2.24). It generates code that runs on all Cortex-A
52 profile devices, but tuned for the Cortex-A9. The code
53 generated is Thumb 2, with the hard floating point calling
54 convention, and uses the VFPv3-D16 FPU instructions.
55
56comment "Linaro toolchains available for Cortex-A + EABIhf"
57 depends on BR2_armeb
Thomas Petazzoni29f68062014-10-21 22:27:06 +020058 depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF
Thomas Petazzoni665e13c2014-12-03 22:41:29 +010059 depends on !BR2_STATIC_LIBS
Thomas Petazzonicd32da82014-03-05 23:23:40 +010060
Thomas Petazzoni93f3c042014-09-15 23:49:35 +020061config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201405
62 bool "Sourcery CodeBench ARM 2014.05"
63 depends on BR2_arm
64 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
65 depends on BR2_ARM_EABI
Thomas Petazzoni665e13c2014-12-03 22:41:29 +010066 depends on !BR2_STATIC_LIBS
Thomas Petazzoni93f3c042014-09-15 23:49:35 +020067 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
68 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
69 select BR2_INSTALL_LIBSTDCPP
70 select BR2_HOSTARCH_NEEDS_IA32_LIBS
71 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
72 help
73 Sourcery CodeBench toolchain for the ARM architecture, from
74 Mentor Graphics. It uses gcc 4.8.3, binutils 2.24.51, glibc
75 2.18 and gdb 7.7.50, kernel headers 3.13. It has support
76 for the following variants:
77 - ARMv5TE, little endian, soft-float, glibc
78 Select ARM926T, ARM10T, XScale or another ARMv5 core
79 Select BR2_SOFT_FLOAT
80 - ARMv4T, little endian, soft-float, glibc
81 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
82 Select BR2_SOFT_FLOAT
83 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
84 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
85 Select BR2_SOFT_FLOAT
86 Set BR2_TARGET_OPTIMIZATION to -mthumb
87
Thomas Petazzonic5252312013-12-27 12:32:17 +010088config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
89 bool "Sourcery CodeBench ARM 2013.11"
90 depends on BR2_arm
91 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
92 depends on BR2_ARM_EABI
Thomas Petazzoni665e13c2014-12-03 22:41:29 +010093 depends on !BR2_STATIC_LIBS
Thomas Petazzonibe4f30a2014-04-13 21:58:57 +020094 select BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # based-on gcc-4.8.1
Samuel Martina1a86eb2014-03-08 15:38:31 +010095 select BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # based-on gcc-4.8.1
Thomas Petazzonic5252312013-12-27 12:32:17 +010096 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
97 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
98 select BR2_INSTALL_LIBSTDCPP
99 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100100 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
Thomas Petazzonic5252312013-12-27 12:32:17 +0100101 help
102 Sourcery CodeBench toolchain for the ARM architecture, from
103 Mentor Graphics. It uses gcc 4.8.1, binutils 2.23.52, glibc
104 2.18 and gdb 7.6.50, kernel headers 3.11. It has support
105 for the following variants:
106 - ARMv5TE, little endian, soft-float, glibc
107 Select ARM926T, ARM10T, XScale or another ARMv5 core
108 Select BR2_SOFT_FLOAT
109 - ARMv4T, little endian, soft-float, glibc
110 Select ARM720T, ARM920T, ARM922T or another ARMv4 core
111 Select BR2_SOFT_FLOAT
112 - ARMv7-A, Thumb 2, little endian, soft-float, glibc
113 Select Cortex-A8, Cortex-A9 or another ARMv7-A core
114 Select BR2_SOFT_FLOAT
115 Set BR2_TARGET_OPTIMIZATION to -mthumb
116
Fabio Porcedda786700e2013-05-26 12:08:19 +0000117config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
118 bool "Sourcery CodeBench ARM 2013.05"
119 depends on BR2_arm
120 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200121 depends on BR2_ARM_EABI
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100122 depends on !BR2_STATIC_LIBS
Thomas Petazzoni85082ca2014-05-12 23:10:35 +0200123 select BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # based-on gcc-4.7.3
Fabio Porcedda786700e2013-05-26 12:08:19 +0000124 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
125 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
126 select BR2_INSTALL_LIBSTDCPP
127 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100128 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
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
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100162 # kernel headers: 2.6.31
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200163 help
164 Texas Instruments Arago 2011.09 toolchain, with gcc 4.5.3,
165 binutils 2.20.1, glibc 2.12, gdb 7.2.
166
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200167 This toolchain uses -mfloat-abi=softfp (i.e can use FPU
168 instructions, but passes floating point function arguments
169 in integer registers), and requires a VFPv3 floating point
170 unit to work properly. This unit is available on most
171 Cortex-A ARM processors, but not all.
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200172
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200173config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
174 bool "Arago ARMv5 2011.09"
175 depends on BR2_arm
176 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni29f68062014-10-21 22:27:06 +0200177 depends on !BR2_ARM_CPU_ARMV4
Thomas Petazzoniea6b2772013-07-16 10:03:20 +0200178 depends on BR2_ARM_EABI
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100179 depends on !BR2_STATIC_LIBS
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200180 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
181 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
182 select BR2_INSTALL_LIBSTDCPP
183 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100184 # kernel headers: 2.6.31
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200185 help
186 Texas Instruments Arago ARMv5 2011.09 toolchain, with gcc
187 4.5.3, binutils 2.20.1, glibc 2.12, gdb 7.2.
188
189 This toolchain uses software-floating point.
190
Vicente Olivert Riera8b3b60c2014-12-03 16:52:25 +0000191config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201411
192 bool "Sourcery CodeBench MIPS 2014.11"
193 depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
194 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
195 depends on !BR2_MIPS_NABI32
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100196 depends on !BR2_STATIC_LIBS
Vicente Olivert Riera8b3b60c2014-12-03 16:52:25 +0000197 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
198 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
199 select BR2_INSTALL_LIBSTDCPP
200 select BR2_HOSTARCH_NEEDS_IA32_LIBS
201 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
202 help
203 Sourcery CodeBench toolchain for the MIPS architecture, from
204 Mentor Graphics. It uses gcc 4.9.1, binutils 2.24.51, glibc
205 2.20, uClibc 0.9.30 and gdb 7.7.50, kernel headers 3.16.2. It
206 has support for the following variants:
207 - MIPS32r2 - Big-Endian, 2008 NaN, O32
208 Select MIPS (big endian) core
209 Disable BR2_SOFT_FLOAT
210 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
211 - MIPS32r2 - Big-Endian, O32
212 Select MIPS (big endian) core
213 Disable BR2_SOFT_FLOAT
214 - MIPS32r2 - Big-Endian, O32, MIPS16
215 Select MIPS (big endian) core
216 Disable BR2_SOFT_FLOAT
217 Set BR2_TARGET_OPTIMIZATION to -mips16
218 - MIPS32r2 - Big-Endian, Soft-Float, O32
219 Select MIPS (big endian) core
220 Select BR2_SOFT_FLOAT
221 - MIPS32r2 - Big-Endian, Soft-Float, O32, MIPS16
222 Select MIPS (big endian) core
223 Select BR2_SOFT_FLOAT
224 Set BR2_TARGET_OPTIMIZATION to -mips16
225 - MIPS32r2 - Little-Endian, 2008 NaN, O32
226 Select MIPS (little endian) core
227 Disable BR2_SOFT_FLOAT
228 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
229 - MIPS32r2 - Little-Endian, O32
230 Select MIPS (little endian) core
231 Disable BR2_SOFT_FLOAT
232 - MIPS32r2 - Little-Endian, O32, MIPS16
233 Select MIPS (little endian) core
234 Disable BR2_SOFT_FLOAT
235 Set BR2_TARGET_OPTIMIZATION to -mips16
236 - MIPS32r2 - Little-Endian, Soft-Float, O32
237 Select MIPS (little endian) core
238 Select BR2_SOFT_FLOAT
239 - MIPS32r2 - Little-Endian, Soft-Float, O32, MIPS16
240 Select MIPS (little endian) core
241 Select BR2_SOFT_FLOAT
242 Set BR2_TARGET_OPTIMIZATION to -mips16
243 - MIPS32r2 - Little-Endian, Soft-Float, O32, microMIPS
244 Select MIPS (little endian) core
245 Select BR2_SOFT_FLOAT
246 Set BR2_TARGET_OPTIMIZATION to -mmicromips
247 - MIPS32r2 - uClibc, Big-Endian, 2008 NaN, O32
248 Not usable in Buildroot yet.
249 - MIPS32r2 - uClibc, Big-Endian, O32
250 Not usable in Buildroot yet.
251 - MIPS32r2 - uClibc, Big-Endian, Soft-Float, O32
252 Not usable in Buildroot yet.
253 - MIPS32r2 - uClibc, Little-Endian, 2008 NaN, O32
254 Not usable in Buildroot yet.
255 - MIPS32r2 - uClibc, Little-Endian, O32
256 Not usable in Buildroot yet.
257 - MIPS32r2 - uClibc, Little-Endian, Soft-Float, O32
258 Not usable in Buildroot yet.
259 - MIPS64r2 - Big-Endian, N64
260 Select MIPS64 (big endian) core
261 Select the n64 ABI
262 Disable BR2_SOFT_FLOAT
263 - MIPS64r2 - Big-Endian, Soft-Float, N64
264 Select MIPS64 (big endian) core
265 Select the n64 ABI
266 Select BR2_SOFT_FLOAT
267 - MIPS64r2 - Little-Endian, N64
268 Select MIPS64 (little endian) core
269 Select the n64 ABI
270 Disable BR2_SOFT_FLOAT
271 - MIPS64r2 - Little-Endian, Soft-Float, N64
272 Select MIPS64 (little endian) core
273 Select the n64 ABI
274 Select BR2_SOFT_FLOAT
275
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200276config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201405
277 bool "Sourcery CodeBench MIPS 2014.05"
278 depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
279 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
280 depends on !BR2_MIPS_NABI32
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100281 depends on !BR2_STATIC_LIBS
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200282 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
283 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
284 select BR2_INSTALL_LIBSTDCPP
285 select BR2_HOSTARCH_NEEDS_IA32_LIBS
286 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
287 help
288 Sourcery CodeBench toolchain for the MIPS architecture, from
289 Mentor Graphics. It uses gcc 4.8.3, binutils 2.24.51, glibc
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000290 2.18, uClibc 0.9.30 and gdb 7.7.50, kernel headers 3.13. It
291 has support for the following variants:
292 - MIPS32r2 - Big-Endian, 2008 NaN, O32
293 Select MIPS (big endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200294 Disable BR2_SOFT_FLOAT
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000295 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
296 - MIPS32r2 - Big-Endian, O32
297 Select MIPS (big endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200298 Disable BR2_SOFT_FLOAT
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000299 - MIPS32r2 - Big-Endian, O32, MIPS16
300 Select MIPS (big endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200301 Disable BR2_SOFT_FLOAT
302 Set BR2_TARGET_OPTIMIZATION to -mips16
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000303 - MIPS32r2 - Big-Endian, Soft-Float, O32
304 Select MIPS (big endian) core
305 Select BR2_SOFT_FLOAT
306 - MIPS32r2 - Big-Endian, Soft-Float, O32, MIPS16
307 Select MIPS (big endian) core
308 Select BR2_SOFT_FLOAT
309 Set BR2_TARGET_OPTIMIZATION to -mips16
310 - MIPS32r2 - Little-Endian, 2008 NaN, O32
311 Select MIPS (little endian) core
312 Disable BR2_SOFT_FLOAT
313 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
314 - MIPS32r2 - Little-Endian, O32
315 Select MIPS (little endian) core
316 Disable BR2_SOFT_FLOAT
317 - MIPS32r2 - Little-Endian, O32, MIPS16
318 Select MIPS (little endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200319 Disable BR2_SOFT_FLOAT
320 Set BR2_TARGET_OPTIMIZATION to -mips16
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000321 - MIPS32r2 - Little-Endian, Soft-Float, O32
322 Select MIPS (little endian) core
323 Select BR2_SOFT_FLOAT
324 - MIPS32r2 - Little-Endian, Soft-Float, O32, MIPS16
325 Select MIPS (little endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200326 Select BR2_SOFT_FLOAT
327 Set BR2_TARGET_OPTIMIZATION to -mips16
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000328 - MIPS32r2 - Little-Endian, Soft-Float, O32, microMIPS
329 Select MIPS (little endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200330 Select BR2_SOFT_FLOAT
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000331 Set BR2_TARGET_OPTIMIZATION to -mmicromips
332 - MIPS32r2 - uClibc, Big-Endian, 2008 NaN, O32
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200333 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000334 - MIPS32r2 - uClibc, Big-Endian, O32
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200335 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000336 - MIPS32r2 - uClibc, Big-Endian, Soft-Float, O32
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200337 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000338 - MIPS32r2 - uClibc, Little-Endian, 2008 NaN, O32
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200339 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000340 - MIPS32r2 - uClibc, Little-Endian, O32
341 Not usable in Buildroot yet.
342 - MIPS32r2 - uClibc, Little-Endian, Soft-Float, O32
343 Not usable in Buildroot yet.
344 - MIPS64r2 - Big-Endian, N64
345 Select MIPS64 (big endian) core
346 Select the n64 ABI
347 Disable BR2_SOFT_FLOAT
348 - MIPS64r2 - Big-Endian, Soft-Float, N64
349 Select MIPS64 (big endian) core
350 Select the n64 ABI
351 Select BR2_SOFT_FLOAT
352 - MIPS64r2 - Little-Endian, N64
353 Select MIPS64 (little endian) core
354 Select the n64 ABI
355 Disable BR2_SOFT_FLOAT
356 - MIPS64r2 - Little-Endian, Soft-Float, N64
357 Select MIPS64 (little endian) core
358 Select the n64 ABI
359 Select BR2_SOFT_FLOAT
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200360
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100361config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201311
362 bool "Sourcery CodeBench MIPS 2013.11"
363 depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
364 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
365 depends on !BR2_MIPS_NABI32
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100366 depends on !BR2_STATIC_LIBS
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100367 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
368 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
369 select BR2_INSTALL_LIBSTDCPP
370 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100371 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100372 help
373 Sourcery CodeBench toolchain for the MIPS architecture, from
374 Mentor Graphics. It uses gcc 4.8.1, binutils 2.23.52, glibc
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000375 2.18, uClibc 0.9.30 and gdb 7.6.50, kernel headers 3.11. It
376 has support for the following variants:
377 - MIPS32r2 - Big-Endian, 2008 NaN, O32
378 Select MIPS (big endian) core
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100379 Disable BR2_SOFT_FLOAT
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000380 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
381 - MIPS32r2 - Big-Endian, O32
382 Select MIPS (big endian) core
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100383 Disable BR2_SOFT_FLOAT
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000384 - MIPS32r2 - Big-Endian, O32, MIPS16
385 Select MIPS (big endian) core
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100386 Disable BR2_SOFT_FLOAT
387 Set BR2_TARGET_OPTIMIZATION to -mips16
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000388 - MIPS32r2 - Big-Endian, Soft-Float, O32
389 Select MIPS (big endian) core
390 Select BR2_SOFT_FLOAT
391 - MIPS32r2 - Big-Endian, Soft-Float, O32, MIPS16
392 Select MIPS (big endian) core
393 Select BR2_SOFT_FLOAT
394 Set BR2_TARGET_OPTIMIZATION to -mips16
395 - MIPS32r2 - Little-Endian, 2008 NaN, O32
396 Select MIPS (little endian) core
397 Disable BR2_SOFT_FLOAT
398 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
399 - MIPS32r2 - Little-Endian, O32
400 Select MIPS (little endian) core
401 Disable BR2_SOFT_FLOAT
402 - MIPS32r2 - Little-Endian, O32, MIPS16
403 Select MIPS (little endian) core
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100404 Disable BR2_SOFT_FLOAT
405 Set BR2_TARGET_OPTIMIZATION to -mips16
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000406 - MIPS32r2 - Little-Endian, Soft-Float, O32
407 Select MIPS (little endian) core
408 Select BR2_SOFT_FLOAT
409 - MIPS32r2 - Little-Endian, Soft-Float, O32, MIPS16
410 Select MIPS (little endian) core
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100411 Select BR2_SOFT_FLOAT
412 Set BR2_TARGET_OPTIMIZATION to -mips16
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000413 - MIPS32r2 - Little-Endian, Soft-Float, O32, microMIPS
414 Select MIPS (little endian) core
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100415 Select BR2_SOFT_FLOAT
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000416 Set BR2_TARGET_OPTIMIZATION to -mmicromips
417 - MIPS32r2 - uClibc, Big-Endian, 2008 NaN, O32
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100418 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000419 - MIPS32r2 - uClibc, Big-Endian, O32
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100420 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000421 - MIPS32r2 - uClibc, Big-Endian, Soft-Float, O32
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100422 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000423 - MIPS32r2 - uClibc, Little-Endian, 2008 NaN, O32
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100424 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000425 - MIPS32r2 - uClibc, Little-Endian, O32
426 Not usable in Buildroot yet.
427 - MIPS32r2 - uClibc, Little-Endian, Soft-Float, O32
428 Not usable in Buildroot yet.
429 - MIPS64r2 - Big-Endian, N64
430 Select MIPS64 (big endian) core
431 Select the n64 ABI
432 Disable BR2_SOFT_FLOAT
433 - MIPS64r2 - Big-Endian, Soft-Float, N64
434 Select MIPS64 (big endian) core
435 Select the n64 ABI
436 Select BR2_SOFT_FLOAT
437 - MIPS64r2 - Little-Endian, N64
438 Select MIPS64 (little endian) core
439 Select the n64 ABI
440 Disable BR2_SOFT_FLOAT
441 - MIPS64r2 - Little-Endian, Soft-Float, N64
442 Select MIPS64 (little endian) core
443 Select the n64 ABI
444 Select BR2_SOFT_FLOAT
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100445
Markos Chandras6f70ba32013-08-13 09:45:44 +0100446comment "Sourcery CodeBench toolchains are only available for MIPS/MIPS64 o32 and n64"
447 depends on BR2_MIPS_NABI32
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100448 depends on !BR2_STATIC_LIBS
Markos Chandras6f70ba32013-08-13 09:45:44 +0100449
Ezequiel García3ca5f0b2014-08-31 18:33:39 -0300450config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
451 bool "Sourcery CodeBench Nios-II 2014.05"
452 depends on BR2_nios2
453 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100454 depends on !BR2_STATIC_LIBS
Ezequiel García3ca5f0b2014-08-31 18:33:39 -0300455 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
456 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
457 select BR2_INSTALL_LIBSTDCPP
458 select BR2_HOSTARCH_NEEDS_IA32_LIBS
459 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
460 help
461 Sourcery CodeBench toolchain for the Nios-II architecture,
462 from Mentor Graphics. It uses gcc 4.8.3, binutils 2.24.51,
463 glibc 2.19.90, gdb 7.7.50 and kernel headers 3.12.
464
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300465config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
466 bool "Sourcery CodeBench Nios-II 2013.05"
467 depends on BR2_nios2
468 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100469 depends on !BR2_STATIC_LIBS
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300470 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
471 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
472 select BR2_INSTALL_LIBSTDCPP
473 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100474 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300475 help
476 Sourcery CodeBench toolchain for the Nios-II architecture,
477 from Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52,
478 glibc 2.17, gdb 7.4.50 and kernel headers 3.7.0.
479
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +0200480config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201203
481 bool "Sourcery CodeBench PowerPC 2012.03"
482 depends on BR2_powerpc
483 depends on BR2_powerpc_SPE
484 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100485 depends on !BR2_STATIC_LIBS
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +0200486 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
487 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
488 select BR2_INSTALL_LIBSTDCPP
489 select BR2_HOSTARCH_NEEDS_IA32_LIBS
490 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
491 help
492 Sourcery CodeBench toolchain for the PowerPC architecture,
493 from Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53,
494 glibc 2.15, gdb 7.2.50 and kernel headers 3.2.10. It has
495 support for the following variants:
496 - e500v2 glibc, SPE, 32 bits
497
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100498config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
499 bool "Sourcery CodeBench PowerPC 2011.03"
500 depends on BR2_powerpc
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000501 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100502 depends on !BR2_STATIC_LIBS
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100503 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100504 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100505 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000506 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100507 # kernel headers: 2.6.38
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100508 help
509 Sourcery CodeBench toolchain for the PowerPC architecture,
510 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20.51,
511 glibc 2.13, gdb 7.2.50 and kernel headers 2.6.38. It has
512 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200513 - 603 glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100514 Select a generic PowerPC core
515 Disable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200516 - 603 soft float glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100517 Select a generic PowerPC core
518 Enable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200519 - e600 altivec glibc, 32 bits
520 Set BR2_TARGET_OPTIMIZATION to -te600
521 - e500v1 glibc, 32 bits
522 Set BR2_TARGET_OPTIMIZATION to -te500v1
523 - e500v2 glibc, 32 bits
524 Set BR2_TARGET_OPTIMIZATION to -te500v2
525 - e500mc glibc, 32 bits
526 Set BR2_TARGET_OPTIMIZATION to -te500mc
527 - 970 glibc hard-float, 64 bits
528 Set BR2_TARGET_OPTIMIZATION to -m64
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100529
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100530config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200531 bool "Sourcery CodeBench PowerPC 2010.09"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100532 depends on BR2_powerpc
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000533 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100534 depends on !BR2_STATIC_LIBS
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100535 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100536 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni6b578c82010-12-13 17:27:41 +0100537 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000538 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100539 # kernel headers: 2.6.35
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100540 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200541 Sourcery CodeBench toolchain for the PowerPC architecture,
Thomas Petazzoni2ec3e6d2012-01-15 20:02:11 +0100542 from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200543 glibc 2.11, gdb 7.2.50 and kernel headers 2.6.35.2. It has
544 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200545 - 603 glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100546 Select a generic PowerPC core
547 Disable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200548 - 603 soft float glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100549 Select a generic PowerPC core
550 Enable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200551 - e600 altivec glibc, 32 bits
552 Set BR2_TARGET_OPTIMIZATION to -te600
553 - e500v1 glibc, 32 bits
554 Set BR2_TARGET_OPTIMIZATION to -te500v1
555 - e500v2 glibc, 32 bits
556 Set BR2_TARGET_OPTIMIZATION to -te500v2
557 - e500mc glibc, 32 bits
558 Set BR2_TARGET_OPTIMIZATION to -te500mc
559 - 970 glibc hard-float, 64 bits
560 Set BR2_TARGET_OPTIMIZATION to -m64
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100561
Thomas Petazzonie067a442012-11-04 07:34:21 +0000562config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
563 bool "Sourcery CodeBench SH 2012.09"
564 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000565 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100566 depends on !BR2_STATIC_LIBS
Thomas Petazzonie067a442012-11-04 07:34:21 +0000567 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
568 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
569 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000570 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100571 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Thomas Petazzonie067a442012-11-04 07:34:21 +0000572 help
573 Sourcery CodeBench toolchain for the SuperH architecture,
574 from Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51,
575 glibc 2.16, uClibc 0.9.30, gdb 7.4.50 and kernel headers
576 3.5.4. It has support for the following variants:
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +0100577 - SH4A, glibc, little endian
578 Default.
579 - SH4A, glibc, big endian
580 Add -mb to BR2_TARGET_OPTIMIZATION
581 - SH4A, uClibc, little endian
582 Not usable in Buildroot yet.
583 - SH4A, uClibc, big endian
584 Not usable in Buildroot yet.
Thomas Petazzonie067a442012-11-04 07:34:21 +0000585
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000586config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
587 bool "Sourcery CodeBench SH 2012.03"
588 depends on BR2_sh4a || BR2_sh4aeb
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
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000591 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
592 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000593 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100594 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000595 help
596 Sourcery CodeBench toolchain for the SuperH architecture,
597 from Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53,
598 glibc 2.15, uClibc 0.9.30, gdb 7.2.50 and kernel headers
599 3.2.10. It has support for the following variants:
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +0100600 - SH4A, glibc, little endian
601 Default.
602 - SH4A, glibc, big endian
603 Add -mb to BR2_TARGET_OPTIMIZATION
604 - SH4A, uClibc, little endian
605 Not usable in Buildroot yet.
606 - SH4A, uClibc, big endian
607 Not usable in Buildroot yet.
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000608
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200609config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200610 bool "Sourcery CodeBench SH 2011.03"
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200611 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000612 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100613 depends on !BR2_STATIC_LIBS
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200614 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100615 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200616 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000617 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100618 # kernel headers: 2.6.38
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200619 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200620 Sourcery CodeBench toolchain for the SuperH architecture,
621 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
622 glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers
623 2.6.38. It has support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200624 - SH4A, glibc, little endian
625 Default.
626 - SH4A, glibc, big endian
627 Add -mb to BR2_TARGET_OPTIMIZATION
628 - SH4A, uClibc, little endian
629 Not usable in Buildroot yet.
630 - SH4A, uClibc, big endian
631 Not usable in Buildroot yet.
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200632
Thomas Petazzoniae236462011-10-02 21:20:11 +0200633config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200634 bool "Sourcery CodeBench SH 2011.03"
Thomas Petazzoniae236462011-10-02 21:20:11 +0200635 depends on BR2_sh2a
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000636 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoniae236462011-10-02 21:20:11 +0200637 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
638 select BR2_LARGEFILE
Thomas Petazzoni0858e002012-11-03 18:47:49 +0100639 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoniae236462011-10-02 21:20:11 +0200640 select BR2_USE_WCHAR
641 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard5931db02011-11-24 14:26:52 +0100642 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
Thomas Petazzoniae236462011-10-02 21:20:11 +0200643 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000644 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100645 # kernel headers: 2.6.38
Thomas Petazzoniae236462011-10-02 21:20:11 +0200646 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200647 Sourcery CodeBench toolchain for the SuperH architecture,
648 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
649 uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.38. It has
650 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200651 - SH2A, uClibc, big endian
Thomas Petazzoniae236462011-10-02 21:20:11 +0200652
Phil Edworthy95157452011-05-06 15:23:04 +0100653config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200654 bool "Sourcery CodeBench SH 2010.09"
Phil Edworthyd5247aa2011-05-09 14:12:53 +0100655 depends on BR2_sh2a
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000656 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Phil Edworthy95157452011-05-06 15:23:04 +0100657 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
Thomas Petazzonid63a8172011-07-30 00:00:37 +0200658 select BR2_LARGEFILE
Thomas Petazzoni0858e002012-11-03 18:47:49 +0100659 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonid63a8172011-07-30 00:00:37 +0200660 select BR2_USE_WCHAR
661 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard5931db02011-11-24 14:26:52 +0100662 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
Phil Edworthy95157452011-05-06 15:23:04 +0100663 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000664 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100665 # kernel headers: 2.6.35
Phil Edworthy95157452011-05-06 15:23:04 +0100666 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200667 Sourcery CodeBench toolchain for the SuperH architecture,
668 from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
669 uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.35.2. It
670 has support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200671 - SH2A, uClibc, big endian
Phil Edworthy95157452011-05-06 15:23:04 +0100672
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000673config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
674 bool "Sourcery CodeBench x86/x86_64 2012.09"
675 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000676 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100677 depends on !BR2_STATIC_LIBS
Adrien Bérauda20cb382014-01-15 17:17:10 -0500678 depends on !BR2_x86_jaguar
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000679 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
680 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
681 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000682 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100683 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000684 help
685 Sourcery CodeBench toolchain for the x86/x86_64
686 architectures, from Mentor Graphics. It uses gcc 4.7.2,
687 binutils 2.23.51, glibc 2.16, gdb 7.4.50 and kernel headers
688 3.5.4. It has support for the following variants:
689 - Intel Pentium 4, glibc, 32 bits
690 Default for x86, nothing special to do.
691 - Intel Atom, glibc, 32 bits
692 Select an Atom core
693 - Intel Xeon, glibc, 64 bits
694 Default for x86_64, nothing special to do.
695 - Intel Core 2, glibc, 64 bits
696 Select a Core 2 core
697 Other architecture variants (beyond Pentium-4/Xeon) are
698 supported as well, but glibc is not optimised for it.
699
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000700config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
701 bool "Sourcery CodeBench x86/x86_64 2012.03"
702 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000703 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100704 depends on !BR2_STATIC_LIBS
Adrien Bérauda20cb382014-01-15 17:17:10 -0500705 depends on !BR2_x86_jaguar
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000706 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
707 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000708 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100709 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000710 help
711 Sourcery CodeBench toolchain for the x86/x86_64
712 architectures, from Mentor Graphics. It uses gcc 4.6.3,
713 binutils 2.21.53, glibc 2.15, gdb 7.2.50 and kernel headers
714 3.2.10. It has support for the following variants:
715 - Intel Pentium 4, glibc, 32 bits
716 Default for x86, nothing special to do.
717 - Intel Atom, glibc, 32 bits
718 Select an Atom core
719 - Intel Xeon, glibc, 64 bits
720 Default for x86_64, nothing special to do.
721 - Intel Core 2, glibc, 64 bits
722 Select a Core 2 core
723 Other architecture variants (beyond Pentium-4/Xeon) are
724 supported as well, but glibc is not optimised for it.
725
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100726config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
727 bool "Sourcery CodeBench x86/x86_64 2011.09"
728 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000729 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100730 depends on !BR2_STATIC_LIBS
Adrien Bérauda20cb382014-01-15 17:17:10 -0500731 depends on !BR2_x86_jaguar
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100732 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100733 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100734 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000735 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100736 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100737 help
738 Sourcery CodeBench toolchain for the x86/x86_64
739 architectures, from Mentor Graphics. It uses gcc 4.6.1,
740 binutils 2.21.53, glibc 2.13, gdb 7.2.50 and kernel headers
741 3.0.1. It has support for the following variants:
742 - Intel Pentium 4, glibc, 32 bits
Arnout Vandecappelle (Essensium/Mind)a22dc0f2012-03-13 23:30:00 +0100743 Default for x86, nothing special to do.
744 - Intel Atom, glibc, 32 bits
745 Select an Atom core
746 - Intel Xeon, glibc, 64 bits
747 Default for x86_64, nothing special to do.
748 - Intel Core 2, glibc, 64 bits
749 Select a Core 2 core
750 Other architecture variants (beyond Pentium-4/Xeon) are
751 supported as well, but glibc is not optimised for it.
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100752
Thomas Petazzoni1cfeed12014-07-09 23:20:22 +0200753config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1
754 bool "Blackfin.uclinux.org 2014R1"
Thomas Petazzoni5a65b8e2014-06-01 12:47:48 +0200755 depends on BR2_bfin
756 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
757 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
758 select BR2_INSTALL_LIBSTDCPP
759 select BR2_LARGEFILE
760 select BR2_INET_IPV6
761 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
762 select BR2_USE_WCHAR
763 select BR2_TOOLCHAIN_HAS_THREADS
764 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
765 select BR2_HOSTARCH_NEEDS_IA32_LIBS
766 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
767 help
768 Toolchain for the Blackfin architecture, from
769 http://blackfin.uclinux.org.
770
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100771config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1
772 bool "Blackfin.uclinux.org 2013R1"
773 depends on BR2_bfin
774 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
775 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
776 select BR2_INSTALL_LIBSTDCPP
777 select BR2_LARGEFILE
778 select BR2_INET_IPV6
779 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
780 select BR2_USE_WCHAR
781 select BR2_TOOLCHAIN_HAS_THREADS
782 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
783 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100784 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100785 help
786 Toolchain for the Blackfin architecture, from
787 http://blackfin.uclinux.org.
788
Gustavo Zacarias82e39a22013-02-01 03:04:50 +0000789config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
790 bool "Blackfin.uclinux.org 2012R2-RC2"
791 depends on BR2_bfin
792 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
793 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
794 select BR2_INSTALL_LIBSTDCPP
795 select BR2_LARGEFILE
796 select BR2_INET_IPV6
797 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
798 select BR2_USE_WCHAR
799 select BR2_TOOLCHAIN_HAS_THREADS
800 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
801 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100802 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Gustavo Zacarias82e39a22013-02-01 03:04:50 +0000803 help
804 Toolchain for the Blackfin architecture, from
805 http://blackfin.uclinux.org.
806
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000807config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
Jan Viktorincd344462013-07-08 16:08:18 +0200808 bool "Xilinx Little Endian Microblaze GNU Tools 14.3"
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000809 depends on BR2_microblazeel
810 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100811 depends on !BR2_STATIC_LIBS
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100812 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000813 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
814 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
815 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100816 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000817 help
818 Toolchain for the Microblaze architecture, from
819 http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It
820 uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50.
821
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100822config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
Jan Viktorincd344462013-07-08 16:08:18 +0200823 bool "Xilinx Little Endian Microblaze GNU Tools v2"
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100824 depends on BR2_microblazeel
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000825 depends on BR2_HOSTARCH = "x86_64"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100826 depends on !BR2_STATIC_LIBS
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100827 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni1f6e2b42012-08-01 23:47:04 +0200828 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100829 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100830 # kernel headers: 2.6.37
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100831 help
832 Toolchain for the Microblaze architecture, from
833 http://wiki.xilinx.com/mb-gnu-tools
834
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000835config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
836 bool "Xilinx Big Endian Microblaze GNU Tools"
Peter Korsgaardc1a6f682013-04-11 07:50:53 +0200837 depends on BR2_microblazebe
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000838 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100839 depends on !BR2_STATIC_LIBS
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100840 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000841 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
842 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
843 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100844 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000845 help
846 Toolchain for the Microblaze architecture, from
847 http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It
848 uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50.
849
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100850config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
851 bool "Xilinx Big Endian Microblaze GNU Tools"
852 depends on BR2_microblazebe
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000853 depends on BR2_HOSTARCH = "x86_64"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100854 depends on !BR2_STATIC_LIBS
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100855 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni1f6e2b42012-08-01 23:47:04 +0200856 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100857 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100858 # kernel headers: 2.6.37
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100859 help
860 Toolchain for the Microblaze architecture, from
861 http://wiki.xilinx.com/mb-gnu-tools
862
Thomas Petazzonid51025d2014-06-01 12:47:41 +0200863config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
Thomas Petazzoni28bca1c2014-11-10 11:06:31 +0100864 bool "Linaro AArch64 14.09"
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100865 depends on BR2_aarch64
866 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100867 depends on !BR2_STATIC_LIBS
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100868 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
869 select BR2_INSTALL_LIBSTDCPP
870 select BR2_HOSTARCH_NEEDS_IA32_LIBS
871 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100872 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100873 help
874 Toolchain for the AArch64 architecture, from
875 http://www.linaro.org/engineering/armv8/
876
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200877config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
878 bool "CodeSourcery AArch64 2014.05"
879 depends on BR2_aarch64
880 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100881 depends on !BR2_STATIC_LIBS
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200882 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
883 select BR2_INSTALL_LIBSTDCPP
884 select BR2_HOSTARCH_NEEDS_IA32_LIBS
885 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
886 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
887 help
888 Sourcery CodeBench toolchain for the AArch64 architecture,
889 from Mentor Graphics. It uses gcc 4.8.3, binutils 2.24,
890 glibc 2.18, gdb 7.7.50 and kernel headers 3.13.
891
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200892config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS
Thomas Petazzoni5c852662014-06-01 12:47:45 +0200893 bool "Musl 1.1.1 toolchain"
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200894 depends on (BR2_arm && BR2_ARM_EABI) || (BR2_armeb && BR2_ARM_EABI) || \
Thomas Petazzoni77ef6a32014-05-30 22:24:39 +0200895 (BR2_i386 && !BR2_x86_i386) || BR2_microblazebe || BR2_mips || \
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200896 BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || BR2_x86_64
897 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
898 select BR2_TOOLCHAIN_EXTERNAL_MUSL
899 select BR2_INSTALL_LIBSTDCPP
900 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni5c852662014-06-01 12:47:45 +0200901 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200902 help
903 Toolchain based on the Musl C library, provided by the
Thomas Petazzoni5c852662014-06-01 12:47:45 +0200904 musl-cross project. It uses gcc 4.8.3, binutils 2.24 and
905 musl 1.1.1. It does not have a cross debugger included.
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200906
907 The ARM toolchain is built for ARMv4t, soft-float.
908 The x86 toolchain is built for i486.
909
910 http://musl.codu.org/
911
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100912config BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200913 bool "Custom toolchain"
914 help
915 Use this option to use a custom toolchain pre-installed on
916 your system.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100917
918endchoice
919
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200920choice
921 prompt "Toolchain origin"
Thomas Petazzoni70194072012-07-22 20:57:26 +0200922 # Keep compatibility with old defconfig files that are using
923 # custom toolchains, and which are therefore assuming that
924 # "preinstalled" in the default choice.
925 default BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200926
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100927config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200928 bool "Toolchain to be downloaded and installed"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100929 help
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200930 Select this option if you want Buildroot to download and install the
931 toolchain. If you have selected a custom toolchain, specify the URL
932 in BR2_TOOLCHAIN_EXTERNAL_URL.
933
934config BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
935 bool "Pre-installed toolchain"
936 help
937 Select this option if you want to use a pre-installed toolchain.
938 Specify the path to this toolchain in BR2_TOOLCHAIN_EXTERNAL_PATH.
939
940endchoice
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100941
942config BR2_TOOLCHAIN_EXTERNAL_PATH
943 string "Toolchain path"
944 default "/path/to/toolchain/usr"
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200945 depends on BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100946 help
947 Path to where the external toolchain is installed.
948
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200949config BR2_TOOLCHAIN_EXTERNAL_URL
950 string "Toolchain URL"
951 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM && BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
952 help
953 URL of the custom toolchain tarball to download and install.
954
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100955config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
956 string "Toolchain prefix"
957 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM
958 default "$(ARCH)-linux"
959
960config BR2_TOOLCHAIN_EXTERNAL_PREFIX
961 string
Thomas Petazzonibe2abf22014-06-01 12:47:40 +0200962 default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
Thomas Petazzonicd32da82014-03-05 23:23:40 +0100963 default "armeb-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
Fabio Porcedda786700e2013-05-26 12:08:19 +0000964 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
Thomas Petazzonic5252312013-12-27 12:32:17 +0100965 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
Thomas Petazzoni93f3c042014-09-15 23:49:35 +0200966 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201405
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200967 default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200968 default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
Thomas Petazzonid51025d2014-06-01 12:47:41 +0200969 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200970 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000971 default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100972 default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000973 default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100974 default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100975 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201311
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200976 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201405
Vicente Olivert Riera8b3b60c2014-12-03 16:52:25 +0000977 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201411
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300978 default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
Ezequiel García3ca5f0b2014-08-31 18:33:39 -0300979 default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100980 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100981 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +0200982 default "powerpc-mentor-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201203
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200983 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000984 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
Thomas Petazzonie067a442012-11-04 07:34:21 +0000985 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
Phil Edworthy95157452011-05-06 15:23:04 +0100986 default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
Thomas Petazzoniae236462011-10-02 21:20:11 +0200987 default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100988 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000989 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000990 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
Sonic Zhang57133822013-05-03 00:39:34 +0000991 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FLAT
992 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FDPIC
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100993 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FLAT
994 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FDPIC
Thomas Petazzoni1cfeed12014-07-09 23:20:22 +0200995 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 && BR2_BINFMT_FLAT
996 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 && BR2_BINFMT_FDPIC
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200997 default "arm-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_arm
998 default "armeb-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_armeb
999 default "i486-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_i386
Thomas Petazzoni77ef6a32014-05-30 22:24:39 +02001000 default "microblaze-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_microblazebe
Thomas Petazzoni2d71c122014-05-05 23:17:10 +02001001 default "mips-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && !BR2_SOFT_FLOAT)
1002 default "mips-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && BR2_SOFT_FLOAT)
1003 default "mipsel-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && !BR2_SOFT_FLOAT)
1004 default "mipsel-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && BR2_SOFT_FLOAT)
1005 default "powerpc-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_powerpc
1006 default "x86_64-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_x86_64
Thomas De Schampheleirefbc24942013-09-02 22:07:53 +02001007 default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX \
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001008 if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzoni643aa232009-05-29 18:37:41 +02001009
1010config BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001011 bool
Thomas Petazzoni381616e2013-06-30 21:29:09 +02001012 select BR2_TOOLCHAIN_USES_GLIBC
Thomas Petazzoni643aa232009-05-29 18:37:41 +02001013
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001014config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
1015 bool
Thomas Petazzoni381616e2013-06-30 21:29:09 +02001016 select BR2_TOOLCHAIN_USES_UCLIBC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001017
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001018config BR2_TOOLCHAIN_EXTERNAL_MUSL
1019 bool
1020 select BR2_TOOLCHAIN_USES_MUSL
1021
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001022if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
1023
1024choice
Yann E. MORINc58bcd52014-03-01 15:52:59 +01001025 bool "External toolchain kernel headers series"
1026 default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
1027 help
1028 Set to the kernel headers version that were used to build
1029 this external toolchain.
1030
1031 This is used to hide/show some packages that have strict
1032 requirements on the version of kernel headers.
1033
1034 If unsure what version your toolchain is using, you can look
1035 at the value of LINUX_VERSION_CODE in linux/version.h in your
1036 toolchain. The Linux version is M.m.p, with:
1037 M = ( LINUX_VERSION_CODE >> 16 ) & 0xFF
1038 m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF
1039 p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF
1040
Gustavo Zacariasbf6f74d2014-12-08 08:10:39 -03001041config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_18
1042 bool "3.18.x"
1043 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
1044
Gustavo Zacarias2d312b72014-10-06 08:44:39 -03001045config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17
1046 bool "3.17.x"
Karoly Kaszab8f9e572014-10-09 12:59:01 +02001047 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
Gustavo Zacarias2d312b72014-10-06 08:44:39 -03001048
Gustavo Zacarias911516f2014-08-03 23:29:22 -03001049config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_16
1050 bool "3.16.x"
1051 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
1052
Gustavo Zacariasfb29afe2014-06-09 08:30:33 -03001053config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15
1054 bool "3.15.x"
1055 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
1056
Samuel Martin11547ca2014-04-06 18:27:49 +02001057config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14
1058 bool "3.14.x"
1059 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
1060
Yann E. MORINc58bcd52014-03-01 15:52:59 +01001061config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13
1062 bool "3.13.x"
1063 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
1064
1065config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12
1066 bool "3.12.x"
1067 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
1068
1069config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11
1070 bool "3.11.x"
1071 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
1072
1073config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10
1074 bool "3.10.x"
1075 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
1076
1077config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9
1078 bool "3.9.x"
1079 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
1080
1081config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8
1082 bool "3.8.x"
1083 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
1084
1085config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7
1086 bool "3.7.x"
1087 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
1088
1089config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6
1090 bool "3.6.x"
1091 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
1092
1093config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5
1094 bool "3.5.x"
1095 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
1096
1097config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4
1098 bool "3.4.x"
1099 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
1100
1101config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3
1102 bool "3.3.x"
1103 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
1104
1105config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2
1106 bool "3.2.x"
1107 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
1108
1109config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1
1110 bool "3.1.x"
1111 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
1112
1113config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0
1114 bool "3.0.x"
1115 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
1116
1117config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
1118 bool "2.6.x"
1119
1120endchoice
1121
1122choice
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001123 prompt "External toolchain C library"
1124 default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1125
1126config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1127 bool "uClibc"
1128 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
Thomas Petazzonib9882922011-05-30 23:56:57 +02001129 # For the time being, we assume that all custom external
1130 # toolchains have shadow password support.
1131 select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
Thomas Petazzoni692a5852013-10-08 20:17:10 +02001132 help
1133 Select this option if your external toolchain uses the
1134 uClibc C library (available from http://www.uclibc.org/).
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001135
1136config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +00001137 bool "glibc/eglibc"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +01001138 depends on !BR2_STATIC_LIBS
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001139 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +00001140 help
Thomas Petazzoni692a5852013-10-08 20:17:10 +02001141 Select this option if your external toolchain uses the GNU C
1142 library (available from https://www.gnu.org/software/libc/)
1143 or its variant the eglibc library (http://www.eglibc.org/).
1144
1145 Note: eglibc is a variant of glibc that (among other things)
1146 can be configured to exclude some of its features. Using a
1147 toolchain with eglibc configured to exclude key features may
1148 cause build failures to some packages.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001149
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01001150comment "(e)glibc only available with shared lib support"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +01001151 depends on BR2_STATIC_LIBS
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01001152
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001153config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL
1154 bool "musl"
1155 select BR2_TOOLCHAIN_EXTERNAL_MUSL
1156 help
1157 Select this option if your external toolchain uses the
1158 'musl' C library, available from http://www.musl-libc.org/.
1159
Thomas Petazzoni643aa232009-05-29 18:37:41 +02001160endchoice
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +00001161
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001162if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
Thomas Petazzonifff71172010-12-13 17:27:37 +01001163
1164config BR2_TOOLCHAIN_EXTERNAL_LARGEFILE
1165 bool "Toolchain has large file support?"
1166 select BR2_LARGEFILE
1167 help
1168 Select this option if your external toolchain supports
1169 largefile. If you don't know, leave the default value,
1170 Buildroot will tell you if it's correct or not.
1171
1172config BR2_TOOLCHAIN_EXTERNAL_INET_IPV6
1173 bool "Toolchain has IPv6 support?"
1174 select BR2_INET_IPV6
1175 help
1176 Select this option if your external toolchain supports
1177 IPv6. If you don't know, leave the default value, Buildroot
1178 will tell you if it's correct or not.
1179
Thomas Petazzonifff71172010-12-13 17:27:37 +01001180config BR2_TOOLCHAIN_EXTERNAL_WCHAR
1181 bool "Toolchain has WCHAR support?"
1182 select BR2_USE_WCHAR
1183 help
1184 Select this option if your external toolchain supports
1185 WCHAR. If you don't know, leave the default value, Buildroot
1186 will tell you if it's correct or not.
1187
1188config BR2_TOOLCHAIN_EXTERNAL_LOCALE
1189 bool "Toolchain has locale support?"
1190 select BR2_TOOLCHAIN_EXTERNAL_WCHAR
1191 select BR2_ENABLE_LOCALE
1192 help
1193 Select this option if your external toolchain has locale
1194 support. If you don't know, leave the default value,
1195 Buildroot will tell you if it's correct or not.
1196
Thomas Petazzoni9eaad202010-12-13 17:27:44 +01001197config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1198 bool "Toolchain has threads support?"
1199 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard04d06892011-07-26 15:28:19 +02001200 default y
Thomas Petazzoni9eaad202010-12-13 17:27:44 +01001201 help
1202 Select this option if your external toolchain has thread
1203 support. If you don't know, leave the default value,
1204 Buildroot will tell you if it's correct or not.
1205
Thomas Petazzonic64f9482014-02-18 22:08:59 +01001206if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1207
Peter Korsgaard5931db02011-11-24 14:26:52 +01001208config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
1209 bool "Toolchain has threads debugging support?"
Peter Korsgaard5931db02011-11-24 14:26:52 +01001210 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
1211 default y
1212 help
1213 Select this option if your external toolchain has thread
1214 debugging support. If you don't know, leave the default
1215 value, Buildroot will tell you if it's correct or not.
1216
Thomas Petazzonic64f9482014-02-18 22:08:59 +01001217config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL
1218 bool "Toolchain has NPTL threads support?"
1219 select BR2_TOOLCHAIN_HAS_THREADS_NPTL
1220 default y
1221 help
1222 Select this option if your external toolchain uses the NPTL
1223 (Native Posix Thread Library) implementation of Posix
1224 threads. If you don't know, leave the default value,
1225 Buildroot will tell you if it's correct or not.
1226
1227endif # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1228
Thomas Petazzonic5866be2013-09-02 18:06:36 +02001229config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
1230 bool "Toolchain has SSP support?"
1231 select BR2_TOOLCHAIN_HAS_SSP
1232 help
1233 Selection this option if your external toolchain has Stack
1234 Smashing Protection support enabled. If you don't know,
1235 leave the default value, Buildroot will tell you if it's
1236 correct or not.
1237
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001238endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1239
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +01001240config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
1241 bool "Toolchain has RPC support?"
1242 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001243 depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL
Thomas Petazzoni3a843a32012-11-04 07:34:29 +00001244 default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +01001245 help
1246 Select this option if your external toolchain supports
1247 RPC. If you don't know, leave the default value, Buildroot
1248 will tell you if it's correct or not.
1249
Thomas Petazzoni6b578c82010-12-13 17:27:41 +01001250config BR2_TOOLCHAIN_EXTERNAL_CXX
1251 bool "Toolchain has C++ support?"
1252 select BR2_INSTALL_LIBSTDCPP
1253 help
1254 Select this option if your external toolchain has C++
1255 support. If you don't know, leave the default value,
1256 Buildroot will tell you if it's correct or not.
1257
Thomas De Schampheleirec72f54b2011-10-02 21:20:10 +02001258config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
1259 string "Extra toolchain libraries to be copied to target"
1260 help
1261 If your external toolchain provides extra libraries that
1262 need to be copied to the target filesystem, enter them
1263 here, separated by spaces. They will be copied to the
1264 target's /lib directory.
1265
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001266endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzonifff71172010-12-13 17:27:37 +01001267
Thomas Petazzonia0b6faa2013-04-07 00:04:33 +00001268config BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
1269 bool "Copy gdb server to the Target"
1270 depends on BR2_TOOLCHAIN_EXTERNAL
1271 help
1272 Copy the gdbserver provided by the external toolchain to the
1273 target.
1274
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001275# When the FDPIC shared binary format is used, the corresponding libraries are
1276# always installed. When a different binary format is used, we offer the option
1277# of installing the FDPIC shared libraries.
1278config BR2_BFIN_INSTALL_FDPIC_SHARED
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +01001279 bool "Install FDPIC shared libraries"
1280 depends on BR2_bfin && !BR2_BINFMT_FDPIC
1281 help
1282 The Linux kernel supports running both FDPIC and FLAT applications
1283 concurrently if the binary format specific libraries are installed
1284 properly. This option allows developer to install FDPIC libraries
1285 into a buildroot rootfs image built with binary format that is not
1286 FDPIC.
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001287
1288# When the FLAT shared binary format is used, we force the installation
1289# of the corresponding libraries. When a different binary format is
1290# used, we offer the option of installing the FLAT shared libraries.
1291config BR2_BFIN_INSTALL_FLAT_SHARED
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +01001292 bool "Install FLAT shared libraries" if !BR2_BINFMT_FLAT_SHARED
1293 depends on BR2_bfin
1294 default y if BR2_BINFMT_FLAT_SHARED
1295 help
1296 The Linux kernel supports running both FDPIC and FLAT applications
1297 concurrently if the binary format specific libraries are installed
1298 properly. This option allows developer to install FLAT libraries
1299 into a buildroot rootfs image built with binary format that is not
1300 shared FLAT.
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001301
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001302endif # BR2_TOOLCHAIN_EXTERNAL