blob: 9034952f11d824a7ec40a9de26a7d3cf602c2cd4 [file] [log] [blame]
Bernhard Reutner-Fischer4b0d5a82007-09-26 21:12:38 +00001if BR2_TOOLCHAIN_EXTERNAL
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +00002
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01003choice
4 prompt "Toolchain"
5
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01006comment "(e)glibc toolchains only available with shared lib support"
7 depends on BR2_PREFER_STATIC_LIB
8
Thomas 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
15 depends on !BR2_PREFER_STATIC_LIB
16 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 Petazzonied3f3e42013-11-11 18:57:32 +010033 depends on !BR2_PREFER_STATIC_LIB
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
41 depends on !BR2_PREFER_STATIC_LIB
42 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 Petazzonicd32da82014-03-05 23:23:40 +010059 depends on !BR2_PREFER_STATIC_LIB
60
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
66 depends on !BR2_PREFER_STATIC_LIB
67 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
93 depends on !BR2_PREFER_STATIC_LIB
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 Petazzonied3f3e42013-11-11 18:57:32 +0100122 depends on !BR2_PREFER_STATIC_LIB
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 Petazzonied3f3e42013-11-11 18:57:32 +0100148 depends on !BR2_PREFER_STATIC_LIB
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 Petazzonied3f3e42013-11-11 18:57:32 +0100157 depends on !BR2_PREFER_STATIC_LIB
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 Petazzonied3f3e42013-11-11 18:57:32 +0100179 depends on !BR2_PREFER_STATIC_LIB
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
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200191config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201405
192 bool "Sourcery CodeBench MIPS 2014.05"
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
196 depends on !BR2_PREFER_STATIC_LIB
197 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_13
202 help
203 Sourcery CodeBench toolchain for the MIPS architecture, from
204 Mentor Graphics. It uses gcc 4.8.3, binutils 2.24.51, glibc
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000205 2.18, uClibc 0.9.30 and gdb 7.7.50, kernel headers 3.13. It
206 has support for the following variants:
207 - MIPS32r2 - Big-Endian, 2008 NaN, O32
208 Select MIPS (big endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200209 Disable BR2_SOFT_FLOAT
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000210 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
211 - MIPS32r2 - Big-Endian, O32
212 Select MIPS (big endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200213 Disable BR2_SOFT_FLOAT
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000214 - MIPS32r2 - Big-Endian, O32, MIPS16
215 Select MIPS (big endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200216 Disable BR2_SOFT_FLOAT
217 Set BR2_TARGET_OPTIMIZATION to -mips16
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000218 - 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
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200234 Disable BR2_SOFT_FLOAT
235 Set BR2_TARGET_OPTIMIZATION to -mips16
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000236 - 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
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200241 Select BR2_SOFT_FLOAT
242 Set BR2_TARGET_OPTIMIZATION to -mips16
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000243 - MIPS32r2 - Little-Endian, Soft-Float, O32, microMIPS
244 Select MIPS (little endian) core
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200245 Select BR2_SOFT_FLOAT
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000246 Set BR2_TARGET_OPTIMIZATION to -mmicromips
247 - MIPS32r2 - uClibc, Big-Endian, 2008 NaN, O32
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200248 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000249 - MIPS32r2 - uClibc, Big-Endian, O32
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200250 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000251 - MIPS32r2 - uClibc, Big-Endian, Soft-Float, O32
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200252 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000253 - MIPS32r2 - uClibc, Little-Endian, 2008 NaN, O32
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200254 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000255 - 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
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200275
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100276config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201311
277 bool "Sourcery CodeBench MIPS 2013.11"
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
281 depends on !BR2_PREFER_STATIC_LIB
282 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
283 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
284 select BR2_INSTALL_LIBSTDCPP
285 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100286 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100287 help
288 Sourcery CodeBench toolchain for the MIPS architecture, from
289 Mentor Graphics. It uses gcc 4.8.1, binutils 2.23.52, glibc
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000290 2.18, uClibc 0.9.30 and gdb 7.6.50, kernel headers 3.11. It
291 has support for the following variants:
292 - MIPS32r2 - Big-Endian, 2008 NaN, O32
293 Select MIPS (big endian) core
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100294 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 Petazzoni245686f2013-12-27 12:32:18 +0100298 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 Petazzoni245686f2013-12-27 12:32:18 +0100301 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 Petazzoni245686f2013-12-27 12:32:18 +0100319 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 Petazzoni245686f2013-12-27 12:32:18 +0100326 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 Petazzoni245686f2013-12-27 12:32:18 +0100330 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 Petazzoni245686f2013-12-27 12:32:18 +0100333 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000334 - MIPS32r2 - uClibc, Big-Endian, O32
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100335 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000336 - MIPS32r2 - uClibc, Big-Endian, Soft-Float, O32
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100337 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000338 - MIPS32r2 - uClibc, Little-Endian, 2008 NaN, O32
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100339 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 Petazzoni245686f2013-12-27 12:32:18 +0100360
Markos Chandras4d34fb72013-06-08 11:14:14 +0200361config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201305
362 bool "Sourcery CodeBench MIPS 2013.05"
363 depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
364 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Markos Chandras6f70ba32013-08-13 09:45:44 +0100365 depends on !BR2_MIPS_NABI32
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100366 depends on !BR2_PREFER_STATIC_LIB
Markos Chandras4d34fb72013-06-08 11:14:14 +0200367 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_8
Markos Chandras4d34fb72013-06-08 11:14:14 +0200372 help
373 Sourcery CodeBench toolchain for the MIPS architecture, from
374 Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52, glibc
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000375 2.17, uClibc 0.9.30 and gdb 7.4.50, kernel headers 3.8.2. It
376 has support for the following variants:
377 - MIPS32r2 - Big-Endian, 2008 NaN, O32
378 Select MIPS (big endian) core
Markos Chandras4d34fb72013-06-08 11:14:14 +0200379 Disable BR2_SOFT_FLOAT
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000380 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
381 - MIPS32r2 - Big-Endian, 2008 NaN, O32, MIPS16
382 Select MIPS (big endian) core
Markos Chandras4d34fb72013-06-08 11:14:14 +0200383 Disable BR2_SOFT_FLOAT
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000384 Set BR2_TARGET_OPTIMIZATION to -mnan=2008 -mips16
385 - MIPS32r2 - Big-Endian, O32
386 Select MIPS (big endian) core
Markos Chandras4d34fb72013-06-08 11:14:14 +0200387 Disable BR2_SOFT_FLOAT
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000388 - MIPS32r2 - Big-Endian, O32, MIPS16
389 Select MIPS (big endian) core
Markos Chandras4d34fb72013-06-08 11:14:14 +0200390 Disable BR2_SOFT_FLOAT
391 Set BR2_TARGET_OPTIMIZATION to -mips16
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000392 - MIPS32r2 - Big-Endian, O32, microMIPS
393 Select MIPS (big endian) core
394 Disable BR2_SOFT_FLOAT
395 Set BR2_TARGET_OPTIMIZATION to -mmicromips
396 - MIPS32r2 - Big-Endian, Soft-Float, O32
397 Select MIPS (big endian) core
398 Select BR2_SOFT_FLOAT
399 - MIPS32r2 - Big-Endian, Soft-Float, O32, MIPS16
400 Select MIPS (big endian) core
401 Select BR2_SOFT_FLOAT
402 Set BR2_TARGET_OPTIMIZATION to -mips16
403 - MIPS32r2 - Big-Endian, Soft-Float, O32, microMIPS
404 Select MIPS (big endian) core
405 Select BR2_SOFT_FLOAT
406 Set BR2_TARGET_OPTIMIZATION to -mmicromips
407 - MIPS32r2 - Little-Endian, 2008 NaN, O32
408 Select MIPS (little endian) core
409 Disable BR2_SOFT_FLOAT
410 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
411 - MIPS32r2 - Little-Endian, 2008 NaN, O32, MIPS16
412 Select MIPS (little endian) core
413 Disable BR2_SOFT_FLOAT
414 Set BR2_TARGET_OPTIMIZATION to -mnan=2008 -mips16
415 - MIPS32r2 - Little-Endian, O32
416 Select MIPS (little endian) core
417 Disable BR2_SOFT_FLOAT
418 - MIPS32r2 - Little-Endian, O32, MIPS16
419 Select MIPS (little endian) core
Markos Chandras4d34fb72013-06-08 11:14:14 +0200420 Disable BR2_SOFT_FLOAT
Markos Chandrasf3a2b802013-10-14 10:52:25 +0100421 Set BR2_TARGET_OPTIMIZATION to -mips16
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000422 - MIPS32r2 - Little-Endian, O32, microMIPS
423 Select MIPS (little endian) core
424 Disable BR2_SOFT_FLOAT
425 Set BR2_TARGET_OPTIMIZATION to -mmicromips
426 - MIPS32r2 - Little-Endian, Soft-Float, O32
427 Select MIPS (little endian) core
428 Select BR2_SOFT_FLOAT
429 - MIPS32r2 - Little-Endian, Soft-Float, O32, MIPS16
430 Select MIPS (little endian) core
Markos Chandras4d34fb72013-06-08 11:14:14 +0200431 Select BR2_SOFT_FLOAT
432 Set BR2_TARGET_OPTIMIZATION to -mips16
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000433 - MIPS32r2 - Little-Endian, Soft-Float, O32, microMIPS
434 Select MIPS (little endian) core
Markos Chandras4d34fb72013-06-08 11:14:14 +0200435 Select BR2_SOFT_FLOAT
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000436 Set BR2_TARGET_OPTIMIZATION to -mmicromips
437 - MIPS32r2 - uClibc, Big-Endian, 2008 NaN, O32
Markos Chandras4d34fb72013-06-08 11:14:14 +0200438 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000439 - MIPS32r2 - uClibc, Big-Endian, O32
Markos Chandras4d34fb72013-06-08 11:14:14 +0200440 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000441 - MIPS32r2 - uClibc, Big-Endian, Soft-Float, O32
Markos Chandras4d34fb72013-06-08 11:14:14 +0200442 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000443 - MIPS32r2 - uClibc, Little-Endian, 2008 NaN, O32
Markos Chandras4d34fb72013-06-08 11:14:14 +0200444 Not usable in Buildroot yet.
Vicente Olivert Riera68218a72014-12-03 16:52:24 +0000445 - MIPS32r2 - uClibc, Little-Endian, O32
446 Not usable in Buildroot yet.
447 - MIPS32r2 - uClibc, Little-Endian, Soft-Float, O32
448 Not usable in Buildroot yet.
449 - MIPS64r2 - Big-Endian, N64
450 Select MIPS64 (big endian) core
451 Select the n64 ABI
452 Disable BR2_SOFT_FLOAT
453 - MIPS64r2 - Big-Endian, Soft-Float, N64
454 Select MIPS64 (big endian) core
455 Select the n64 ABI
456 Select BR2_SOFT_FLOAT
457 - MIPS64r2 - Little-Endian, N64
458 Select MIPS64 (little endian) core
459 Select the n64 ABI
460 Disable BR2_SOFT_FLOAT
461 - MIPS64r2 - Little-Endian, Soft-Float, N64
462 Select MIPS64 (little endian) core
463 Select the n64 ABI
464 Select BR2_SOFT_FLOAT
Markos Chandras4d34fb72013-06-08 11:14:14 +0200465
Markos Chandras6f70ba32013-08-13 09:45:44 +0100466comment "Sourcery CodeBench toolchains are only available for MIPS/MIPS64 o32 and n64"
467 depends on BR2_MIPS_NABI32
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100468 depends on !BR2_PREFER_STATIC_LIB
Markos Chandras6f70ba32013-08-13 09:45:44 +0100469
Ezequiel García3ca5f0b2014-08-31 18:33:39 -0300470config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
471 bool "Sourcery CodeBench Nios-II 2014.05"
472 depends on BR2_nios2
473 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
474 depends on !BR2_PREFER_STATIC_LIB
475 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
476 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
477 select BR2_INSTALL_LIBSTDCPP
478 select BR2_HOSTARCH_NEEDS_IA32_LIBS
479 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
480 help
481 Sourcery CodeBench toolchain for the Nios-II architecture,
482 from Mentor Graphics. It uses gcc 4.8.3, binutils 2.24.51,
483 glibc 2.19.90, gdb 7.7.50 and kernel headers 3.12.
484
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300485config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
486 bool "Sourcery CodeBench Nios-II 2013.05"
487 depends on BR2_nios2
488 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100489 depends on !BR2_PREFER_STATIC_LIB
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300490 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
491 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
492 select BR2_INSTALL_LIBSTDCPP
493 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100494 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300495 help
496 Sourcery CodeBench toolchain for the Nios-II architecture,
497 from Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52,
498 glibc 2.17, gdb 7.4.50 and kernel headers 3.7.0.
499
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +0200500config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201203
501 bool "Sourcery CodeBench PowerPC 2012.03"
502 depends on BR2_powerpc
503 depends on BR2_powerpc_SPE
504 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
505 depends on !BR2_PREFER_STATIC_LIB
506 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
507 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
508 select BR2_INSTALL_LIBSTDCPP
509 select BR2_HOSTARCH_NEEDS_IA32_LIBS
510 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
511 help
512 Sourcery CodeBench toolchain for the PowerPC architecture,
513 from Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53,
514 glibc 2.15, gdb 7.2.50 and kernel headers 3.2.10. It has
515 support for the following variants:
516 - e500v2 glibc, SPE, 32 bits
517
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100518config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
519 bool "Sourcery CodeBench PowerPC 2011.03"
520 depends on BR2_powerpc
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000521 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100522 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100523 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100524 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100525 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000526 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100527 # kernel headers: 2.6.38
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100528 help
529 Sourcery CodeBench toolchain for the PowerPC architecture,
530 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20.51,
531 glibc 2.13, gdb 7.2.50 and kernel headers 2.6.38. It has
532 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200533 - 603 glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100534 Select a generic PowerPC core
535 Disable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200536 - 603 soft float glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100537 Select a generic PowerPC core
538 Enable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200539 - e600 altivec glibc, 32 bits
540 Set BR2_TARGET_OPTIMIZATION to -te600
541 - e500v1 glibc, 32 bits
542 Set BR2_TARGET_OPTIMIZATION to -te500v1
543 - e500v2 glibc, 32 bits
544 Set BR2_TARGET_OPTIMIZATION to -te500v2
545 - e500mc glibc, 32 bits
546 Set BR2_TARGET_OPTIMIZATION to -te500mc
547 - 970 glibc hard-float, 64 bits
548 Set BR2_TARGET_OPTIMIZATION to -m64
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100549
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100550config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200551 bool "Sourcery CodeBench PowerPC 2010.09"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100552 depends on BR2_powerpc
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000553 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100554 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100555 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100556 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni6b578c82010-12-13 17:27:41 +0100557 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000558 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100559 # kernel headers: 2.6.35
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100560 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200561 Sourcery CodeBench toolchain for the PowerPC architecture,
Thomas Petazzoni2ec3e6d2012-01-15 20:02:11 +0100562 from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200563 glibc 2.11, gdb 7.2.50 and kernel headers 2.6.35.2. It has
564 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200565 - 603 glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100566 Select a generic PowerPC core
567 Disable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200568 - 603 soft float glibc, 32 bits
Thomas Petazzonic5c10642011-12-31 15:38:22 +0100569 Select a generic PowerPC core
570 Enable BR2_SOFT_FLOAT
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200571 - e600 altivec glibc, 32 bits
572 Set BR2_TARGET_OPTIMIZATION to -te600
573 - e500v1 glibc, 32 bits
574 Set BR2_TARGET_OPTIMIZATION to -te500v1
575 - e500v2 glibc, 32 bits
576 Set BR2_TARGET_OPTIMIZATION to -te500v2
577 - e500mc glibc, 32 bits
578 Set BR2_TARGET_OPTIMIZATION to -te500mc
579 - 970 glibc hard-float, 64 bits
580 Set BR2_TARGET_OPTIMIZATION to -m64
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100581
Thomas Petazzonie067a442012-11-04 07:34:21 +0000582config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
583 bool "Sourcery CodeBench SH 2012.09"
584 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000585 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100586 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzonie067a442012-11-04 07:34:21 +0000587 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
588 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
589 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000590 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100591 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Thomas Petazzonie067a442012-11-04 07:34:21 +0000592 help
593 Sourcery CodeBench toolchain for the SuperH architecture,
594 from Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51,
595 glibc 2.16, uClibc 0.9.30, gdb 7.4.50 and kernel headers
596 3.5.4. It has support for the following variants:
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +0100597 - SH4A, glibc, little endian
598 Default.
599 - SH4A, glibc, big endian
600 Add -mb to BR2_TARGET_OPTIMIZATION
601 - SH4A, uClibc, little endian
602 Not usable in Buildroot yet.
603 - SH4A, uClibc, big endian
604 Not usable in Buildroot yet.
Thomas Petazzonie067a442012-11-04 07:34:21 +0000605
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000606config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
607 bool "Sourcery CodeBench SH 2012.03"
608 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000609 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100610 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000611 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
612 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000613 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100614 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000615 help
616 Sourcery CodeBench toolchain for the SuperH architecture,
617 from Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53,
618 glibc 2.15, uClibc 0.9.30, gdb 7.2.50 and kernel headers
619 3.2.10. It has support for the following variants:
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +0100620 - SH4A, glibc, little endian
621 Default.
622 - SH4A, glibc, big endian
623 Add -mb to BR2_TARGET_OPTIMIZATION
624 - SH4A, uClibc, little endian
625 Not usable in Buildroot yet.
626 - SH4A, uClibc, big endian
627 Not usable in Buildroot yet.
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000628
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200629config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200630 bool "Sourcery CodeBench SH 2011.03"
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200631 depends on BR2_sh4a || BR2_sh4aeb
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000632 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100633 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200634 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100635 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200636 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000637 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100638 # kernel headers: 2.6.38
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200639 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200640 Sourcery CodeBench toolchain for the SuperH architecture,
641 from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
642 glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers
643 2.6.38. It has support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200644 - SH4A, glibc, little endian
645 Default.
646 - SH4A, glibc, big endian
647 Add -mb to BR2_TARGET_OPTIMIZATION
648 - SH4A, uClibc, little endian
649 Not usable in Buildroot yet.
650 - SH4A, uClibc, big endian
651 Not usable in Buildroot yet.
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200652
Thomas Petazzoniae236462011-10-02 21:20:11 +0200653config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200654 bool "Sourcery CodeBench SH 2011.03"
Thomas Petazzoniae236462011-10-02 21:20:11 +0200655 depends on BR2_sh2a
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000656 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoniae236462011-10-02 21:20:11 +0200657 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
658 select BR2_LARGEFILE
Thomas Petazzoni0858e002012-11-03 18:47:49 +0100659 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoniae236462011-10-02 21:20:11 +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
Thomas Petazzoniae236462011-10-02 21:20:11 +0200663 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.38
Thomas Petazzoniae236462011-10-02 21:20:11 +0200666 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.2, binutils 2.20,
669 uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.38. It has
670 support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200671 - SH2A, uClibc, big endian
Thomas Petazzoniae236462011-10-02 21:20:11 +0200672
Phil Edworthy95157452011-05-06 15:23:04 +0100673config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200674 bool "Sourcery CodeBench SH 2010.09"
Phil Edworthyd5247aa2011-05-09 14:12:53 +0100675 depends on BR2_sh2a
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000676 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Phil Edworthy95157452011-05-06 15:23:04 +0100677 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
Thomas Petazzonid63a8172011-07-30 00:00:37 +0200678 select BR2_LARGEFILE
Thomas Petazzoni0858e002012-11-03 18:47:49 +0100679 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonid63a8172011-07-30 00:00:37 +0200680 select BR2_USE_WCHAR
681 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard5931db02011-11-24 14:26:52 +0100682 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
Phil Edworthy95157452011-05-06 15:23:04 +0100683 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000684 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100685 # kernel headers: 2.6.35
Phil Edworthy95157452011-05-06 15:23:04 +0100686 help
Thomas Petazzoni3a714932011-10-02 21:20:15 +0200687 Sourcery CodeBench toolchain for the SuperH architecture,
688 from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
689 uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.35.2. It
690 has support for the following variants:
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200691 - SH2A, uClibc, big endian
Phil Edworthy95157452011-05-06 15:23:04 +0100692
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000693config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
694 bool "Sourcery CodeBench x86/x86_64 2012.09"
695 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000696 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100697 depends on !BR2_PREFER_STATIC_LIB
Adrien Bérauda20cb382014-01-15 17:17:10 -0500698 depends on !BR2_x86_jaguar
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000699 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
700 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
701 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000702 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100703 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000704 help
705 Sourcery CodeBench toolchain for the x86/x86_64
706 architectures, from Mentor Graphics. It uses gcc 4.7.2,
707 binutils 2.23.51, glibc 2.16, gdb 7.4.50 and kernel headers
708 3.5.4. It has support for the following variants:
709 - Intel Pentium 4, glibc, 32 bits
710 Default for x86, nothing special to do.
711 - Intel Atom, glibc, 32 bits
712 Select an Atom core
713 - Intel Xeon, glibc, 64 bits
714 Default for x86_64, nothing special to do.
715 - Intel Core 2, glibc, 64 bits
716 Select a Core 2 core
717 Other architecture variants (beyond Pentium-4/Xeon) are
718 supported as well, but glibc is not optimised for it.
719
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000720config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
721 bool "Sourcery CodeBench x86/x86_64 2012.03"
722 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000723 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100724 depends on !BR2_PREFER_STATIC_LIB
Adrien Bérauda20cb382014-01-15 17:17:10 -0500725 depends on !BR2_x86_jaguar
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000726 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
727 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000728 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100729 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000730 help
731 Sourcery CodeBench toolchain for the x86/x86_64
732 architectures, from Mentor Graphics. It uses gcc 4.6.3,
733 binutils 2.21.53, glibc 2.15, gdb 7.2.50 and kernel headers
734 3.2.10. It has support for the following variants:
735 - Intel Pentium 4, glibc, 32 bits
736 Default for x86, nothing special to do.
737 - Intel Atom, glibc, 32 bits
738 Select an Atom core
739 - Intel Xeon, glibc, 64 bits
740 Default for x86_64, nothing special to do.
741 - Intel Core 2, glibc, 64 bits
742 Select a Core 2 core
743 Other architecture variants (beyond Pentium-4/Xeon) are
744 supported as well, but glibc is not optimised for it.
745
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100746config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
747 bool "Sourcery CodeBench x86/x86_64 2011.09"
748 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000749 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100750 depends on !BR2_PREFER_STATIC_LIB
Adrien Bérauda20cb382014-01-15 17:17:10 -0500751 depends on !BR2_x86_jaguar
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100752 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100753 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100754 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000755 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100756 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100757 help
758 Sourcery CodeBench toolchain for the x86/x86_64
759 architectures, from Mentor Graphics. It uses gcc 4.6.1,
760 binutils 2.21.53, glibc 2.13, gdb 7.2.50 and kernel headers
761 3.0.1. It has support for the following variants:
762 - Intel Pentium 4, glibc, 32 bits
Arnout Vandecappelle (Essensium/Mind)a22dc0f2012-03-13 23:30:00 +0100763 Default for x86, nothing special to do.
764 - Intel Atom, glibc, 32 bits
765 Select an Atom core
766 - Intel Xeon, glibc, 64 bits
767 Default for x86_64, nothing special to do.
768 - Intel Core 2, glibc, 64 bits
769 Select a Core 2 core
770 Other architecture variants (beyond Pentium-4/Xeon) are
771 supported as well, but glibc is not optimised for it.
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100772
Thomas Petazzoni1cfeed12014-07-09 23:20:22 +0200773config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1
774 bool "Blackfin.uclinux.org 2014R1"
Thomas Petazzoni5a65b8e2014-06-01 12:47:48 +0200775 depends on BR2_bfin
776 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
777 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
778 select BR2_INSTALL_LIBSTDCPP
779 select BR2_LARGEFILE
780 select BR2_INET_IPV6
781 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
782 select BR2_USE_WCHAR
783 select BR2_TOOLCHAIN_HAS_THREADS
784 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
785 select BR2_HOSTARCH_NEEDS_IA32_LIBS
786 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
787 help
788 Toolchain for the Blackfin architecture, from
789 http://blackfin.uclinux.org.
790
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100791config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1
792 bool "Blackfin.uclinux.org 2013R1"
793 depends on BR2_bfin
794 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
795 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
796 select BR2_INSTALL_LIBSTDCPP
797 select BR2_LARGEFILE
798 select BR2_INET_IPV6
799 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
800 select BR2_USE_WCHAR
801 select BR2_TOOLCHAIN_HAS_THREADS
802 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
803 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100804 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100805 help
806 Toolchain for the Blackfin architecture, from
807 http://blackfin.uclinux.org.
808
Gustavo Zacarias82e39a22013-02-01 03:04:50 +0000809config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
810 bool "Blackfin.uclinux.org 2012R2-RC2"
811 depends on BR2_bfin
812 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
813 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
814 select BR2_INSTALL_LIBSTDCPP
815 select BR2_LARGEFILE
816 select BR2_INET_IPV6
817 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
818 select BR2_USE_WCHAR
819 select BR2_TOOLCHAIN_HAS_THREADS
820 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
821 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100822 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Gustavo Zacarias82e39a22013-02-01 03:04:50 +0000823 help
824 Toolchain for the Blackfin architecture, from
825 http://blackfin.uclinux.org.
826
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000827config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
Jan Viktorincd344462013-07-08 16:08:18 +0200828 bool "Xilinx Little Endian Microblaze GNU Tools 14.3"
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000829 depends on BR2_microblazeel
830 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100831 depends on !BR2_PREFER_STATIC_LIB
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100832 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000833 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
834 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
835 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100836 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000837 help
838 Toolchain for the Microblaze architecture, from
839 http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It
840 uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50.
841
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100842config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
Jan Viktorincd344462013-07-08 16:08:18 +0200843 bool "Xilinx Little Endian Microblaze GNU Tools v2"
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100844 depends on BR2_microblazeel
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000845 depends on BR2_HOSTARCH = "x86_64"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100846 depends on !BR2_PREFER_STATIC_LIB
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100847 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni1f6e2b42012-08-01 23:47:04 +0200848 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100849 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100850 # kernel headers: 2.6.37
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100851 help
852 Toolchain for the Microblaze architecture, from
853 http://wiki.xilinx.com/mb-gnu-tools
854
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000855config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
856 bool "Xilinx Big Endian Microblaze GNU Tools"
Peter Korsgaardc1a6f682013-04-11 07:50:53 +0200857 depends on BR2_microblazebe
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000858 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100859 depends on !BR2_PREFER_STATIC_LIB
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100860 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000861 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
862 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
863 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100864 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000865 help
866 Toolchain for the Microblaze architecture, from
867 http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It
868 uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50.
869
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100870config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
871 bool "Xilinx Big Endian Microblaze GNU Tools"
872 depends on BR2_microblazebe
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000873 depends on BR2_HOSTARCH = "x86_64"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +0100874 depends on !BR2_PREFER_STATIC_LIB
Thomas De Schampheleireba4ad9d2014-01-03 17:02:50 +0100875 depends on BR2_DEPRECATED_SINCE_2014_02
Thomas Petazzoni1f6e2b42012-08-01 23:47:04 +0200876 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100877 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100878 # kernel headers: 2.6.37
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100879 help
880 Toolchain for the Microblaze architecture, from
881 http://wiki.xilinx.com/mb-gnu-tools
882
Thomas Petazzonid51025d2014-06-01 12:47:41 +0200883config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
Thomas Petazzoni28bca1c2014-11-10 11:06:31 +0100884 bool "Linaro AArch64 14.09"
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100885 depends on BR2_aarch64
886 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
887 depends on !BR2_PREFER_STATIC_LIB
888 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
889 select BR2_INSTALL_LIBSTDCPP
890 select BR2_HOSTARCH_NEEDS_IA32_LIBS
891 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100892 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100893 help
894 Toolchain for the AArch64 architecture, from
895 http://www.linaro.org/engineering/armv8/
896
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200897config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
898 bool "CodeSourcery AArch64 2014.05"
899 depends on BR2_aarch64
900 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
901 depends on !BR2_PREFER_STATIC_LIB
902 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
903 select BR2_INSTALL_LIBSTDCPP
904 select BR2_HOSTARCH_NEEDS_IA32_LIBS
905 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
906 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
907 help
908 Sourcery CodeBench toolchain for the AArch64 architecture,
909 from Mentor Graphics. It uses gcc 4.8.3, binutils 2.24,
910 glibc 2.18, gdb 7.7.50 and kernel headers 3.13.
911
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200912config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS
Thomas Petazzoni5c852662014-06-01 12:47:45 +0200913 bool "Musl 1.1.1 toolchain"
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200914 depends on (BR2_arm && BR2_ARM_EABI) || (BR2_armeb && BR2_ARM_EABI) || \
Thomas Petazzoni77ef6a32014-05-30 22:24:39 +0200915 (BR2_i386 && !BR2_x86_i386) || BR2_microblazebe || BR2_mips || \
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200916 BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || BR2_x86_64
917 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
918 select BR2_TOOLCHAIN_EXTERNAL_MUSL
919 select BR2_INSTALL_LIBSTDCPP
920 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni5c852662014-06-01 12:47:45 +0200921 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200922 help
923 Toolchain based on the Musl C library, provided by the
Thomas Petazzoni5c852662014-06-01 12:47:45 +0200924 musl-cross project. It uses gcc 4.8.3, binutils 2.24 and
925 musl 1.1.1. It does not have a cross debugger included.
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200926
927 The ARM toolchain is built for ARMv4t, soft-float.
928 The x86 toolchain is built for i486.
929
930 http://musl.codu.org/
931
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100932config BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200933 bool "Custom toolchain"
934 help
935 Use this option to use a custom toolchain pre-installed on
936 your system.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100937
938endchoice
939
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200940choice
941 prompt "Toolchain origin"
Thomas Petazzoni70194072012-07-22 20:57:26 +0200942 # Keep compatibility with old defconfig files that are using
943 # custom toolchains, and which are therefore assuming that
944 # "preinstalled" in the default choice.
945 default BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200946
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100947config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200948 bool "Toolchain to be downloaded and installed"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100949 help
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200950 Select this option if you want Buildroot to download and install the
951 toolchain. If you have selected a custom toolchain, specify the URL
952 in BR2_TOOLCHAIN_EXTERNAL_URL.
953
954config BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
955 bool "Pre-installed toolchain"
956 help
957 Select this option if you want to use a pre-installed toolchain.
958 Specify the path to this toolchain in BR2_TOOLCHAIN_EXTERNAL_PATH.
959
960endchoice
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100961
962config BR2_TOOLCHAIN_EXTERNAL_PATH
963 string "Toolchain path"
964 default "/path/to/toolchain/usr"
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200965 depends on BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100966 help
967 Path to where the external toolchain is installed.
968
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200969config BR2_TOOLCHAIN_EXTERNAL_URL
970 string "Toolchain URL"
971 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM && BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
972 help
973 URL of the custom toolchain tarball to download and install.
974
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100975config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
976 string "Toolchain prefix"
977 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM
978 default "$(ARCH)-linux"
979
980config BR2_TOOLCHAIN_EXTERNAL_PREFIX
981 string
Thomas Petazzonibe2abf22014-06-01 12:47:40 +0200982 default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
Thomas Petazzonicd32da82014-03-05 23:23:40 +0100983 default "armeb-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
Fabio Porcedda786700e2013-05-26 12:08:19 +0000984 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
Thomas Petazzonic5252312013-12-27 12:32:17 +0100985 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
Thomas Petazzoni93f3c042014-09-15 23:49:35 +0200986 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201405
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200987 default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200988 default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
Thomas Petazzonid51025d2014-06-01 12:47:41 +0200989 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200990 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000991 default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100992 default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
Thomas Petazzoni313094d2013-02-04 22:37:29 +0000993 default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
Alvaro G. Mbb7788f2012-03-16 14:42:55 +0100994 default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
Markos Chandras4d34fb72013-06-08 11:14:14 +0200995 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201305
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100996 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201311
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200997 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201405
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300998 default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
Ezequiel García3ca5f0b2014-08-31 18:33:39 -0300999 default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001000 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas Petazzoni22e06982011-12-31 12:28:34 +01001001 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +02001002 default "powerpc-mentor-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201203
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +02001003 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
Thomas Petazzoni41d85c02012-11-04 07:34:19 +00001004 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
Thomas Petazzonie067a442012-11-04 07:34:21 +00001005 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
Phil Edworthy95157452011-05-06 15:23:04 +01001006 default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
Thomas Petazzoniae236462011-10-02 21:20:11 +02001007 default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +01001008 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
Thomas Petazzoni363cb602012-11-04 07:34:20 +00001009 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
Thomas Petazzoni1c811232012-11-04 07:34:22 +00001010 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
Sonic Zhang57133822013-05-03 00:39:34 +00001011 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FLAT
1012 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FDPIC
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +01001013 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FLAT
1014 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FDPIC
Thomas Petazzoni1cfeed12014-07-09 23:20:22 +02001015 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 && BR2_BINFMT_FLAT
1016 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 && BR2_BINFMT_FDPIC
Thomas Petazzoni2d71c122014-05-05 23:17:10 +02001017 default "arm-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_arm
1018 default "armeb-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_armeb
1019 default "i486-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_i386
Thomas Petazzoni77ef6a32014-05-30 22:24:39 +02001020 default "microblaze-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_microblazebe
Thomas Petazzoni2d71c122014-05-05 23:17:10 +02001021 default "mips-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && !BR2_SOFT_FLOAT)
1022 default "mips-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && BR2_SOFT_FLOAT)
1023 default "mipsel-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && !BR2_SOFT_FLOAT)
1024 default "mipsel-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && BR2_SOFT_FLOAT)
1025 default "powerpc-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_powerpc
1026 default "x86_64-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_x86_64
Thomas De Schampheleirefbc24942013-09-02 22:07:53 +02001027 default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX \
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001028 if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzoni643aa232009-05-29 18:37:41 +02001029
1030config BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001031 bool
Thomas Petazzoni381616e2013-06-30 21:29:09 +02001032 select BR2_TOOLCHAIN_USES_GLIBC
Thomas Petazzoni643aa232009-05-29 18:37:41 +02001033
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001034config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
1035 bool
Thomas Petazzoni381616e2013-06-30 21:29:09 +02001036 select BR2_TOOLCHAIN_USES_UCLIBC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001037
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001038config BR2_TOOLCHAIN_EXTERNAL_MUSL
1039 bool
1040 select BR2_TOOLCHAIN_USES_MUSL
1041
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001042if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
1043
1044choice
Yann E. MORINc58bcd52014-03-01 15:52:59 +01001045 bool "External toolchain kernel headers series"
1046 default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
1047 help
1048 Set to the kernel headers version that were used to build
1049 this external toolchain.
1050
1051 This is used to hide/show some packages that have strict
1052 requirements on the version of kernel headers.
1053
1054 If unsure what version your toolchain is using, you can look
1055 at the value of LINUX_VERSION_CODE in linux/version.h in your
1056 toolchain. The Linux version is M.m.p, with:
1057 M = ( LINUX_VERSION_CODE >> 16 ) & 0xFF
1058 m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF
1059 p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF
1060
Gustavo Zacarias2d312b72014-10-06 08:44:39 -03001061config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17
1062 bool "3.17.x"
Karoly Kaszab8f9e572014-10-09 12:59:01 +02001063 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
Gustavo Zacarias2d312b72014-10-06 08:44:39 -03001064
Gustavo Zacarias911516f2014-08-03 23:29:22 -03001065config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_16
1066 bool "3.16.x"
1067 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
1068
Gustavo Zacariasfb29afe2014-06-09 08:30:33 -03001069config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15
1070 bool "3.15.x"
1071 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
1072
Samuel Martin11547ca2014-04-06 18:27:49 +02001073config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14
1074 bool "3.14.x"
1075 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
1076
Yann E. MORINc58bcd52014-03-01 15:52:59 +01001077config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13
1078 bool "3.13.x"
1079 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
1080
1081config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12
1082 bool "3.12.x"
1083 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
1084
1085config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11
1086 bool "3.11.x"
1087 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
1088
1089config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10
1090 bool "3.10.x"
1091 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
1092
1093config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9
1094 bool "3.9.x"
1095 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
1096
1097config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8
1098 bool "3.8.x"
1099 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
1100
1101config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7
1102 bool "3.7.x"
1103 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
1104
1105config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6
1106 bool "3.6.x"
1107 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
1108
1109config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5
1110 bool "3.5.x"
1111 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
1112
1113config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4
1114 bool "3.4.x"
1115 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
1116
1117config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3
1118 bool "3.3.x"
1119 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
1120
1121config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2
1122 bool "3.2.x"
1123 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
1124
1125config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1
1126 bool "3.1.x"
1127 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
1128
1129config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0
1130 bool "3.0.x"
1131 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
1132
1133config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
1134 bool "2.6.x"
1135
1136endchoice
1137
1138choice
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001139 prompt "External toolchain C library"
1140 default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1141
1142config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1143 bool "uClibc"
1144 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
Thomas Petazzonib9882922011-05-30 23:56:57 +02001145 # For the time being, we assume that all custom external
1146 # toolchains have shadow password support.
1147 select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
Thomas Petazzoni692a5852013-10-08 20:17:10 +02001148 help
1149 Select this option if your external toolchain uses the
1150 uClibc C library (available from http://www.uclibc.org/).
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001151
1152config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +00001153 bool "glibc/eglibc"
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01001154 depends on !BR2_PREFER_STATIC_LIB
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001155 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +00001156 help
Thomas Petazzoni692a5852013-10-08 20:17:10 +02001157 Select this option if your external toolchain uses the GNU C
1158 library (available from https://www.gnu.org/software/libc/)
1159 or its variant the eglibc library (http://www.eglibc.org/).
1160
1161 Note: eglibc is a variant of glibc that (among other things)
1162 can be configured to exclude some of its features. Using a
1163 toolchain with eglibc configured to exclude key features may
1164 cause build failures to some packages.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001165
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01001166comment "(e)glibc only available with shared lib support"
1167 depends on BR2_PREFER_STATIC_LIB
1168
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001169config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL
1170 bool "musl"
1171 select BR2_TOOLCHAIN_EXTERNAL_MUSL
1172 help
1173 Select this option if your external toolchain uses the
1174 'musl' C library, available from http://www.musl-libc.org/.
1175
Thomas Petazzoni643aa232009-05-29 18:37:41 +02001176endchoice
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +00001177
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001178if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
Thomas Petazzonifff71172010-12-13 17:27:37 +01001179
1180config BR2_TOOLCHAIN_EXTERNAL_LARGEFILE
1181 bool "Toolchain has large file support?"
1182 select BR2_LARGEFILE
1183 help
1184 Select this option if your external toolchain supports
1185 largefile. If you don't know, leave the default value,
1186 Buildroot will tell you if it's correct or not.
1187
1188config BR2_TOOLCHAIN_EXTERNAL_INET_IPV6
1189 bool "Toolchain has IPv6 support?"
1190 select BR2_INET_IPV6
1191 help
1192 Select this option if your external toolchain supports
1193 IPv6. If you don't know, leave the default value, Buildroot
1194 will tell you if it's correct or not.
1195
Thomas Petazzonifff71172010-12-13 17:27:37 +01001196config BR2_TOOLCHAIN_EXTERNAL_WCHAR
1197 bool "Toolchain has WCHAR support?"
1198 select BR2_USE_WCHAR
1199 help
1200 Select this option if your external toolchain supports
1201 WCHAR. If you don't know, leave the default value, Buildroot
1202 will tell you if it's correct or not.
1203
1204config BR2_TOOLCHAIN_EXTERNAL_LOCALE
1205 bool "Toolchain has locale support?"
1206 select BR2_TOOLCHAIN_EXTERNAL_WCHAR
1207 select BR2_ENABLE_LOCALE
1208 help
1209 Select this option if your external toolchain has locale
1210 support. If you don't know, leave the default value,
1211 Buildroot will tell you if it's correct or not.
1212
Thomas Petazzoni9eaad202010-12-13 17:27:44 +01001213config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1214 bool "Toolchain has threads support?"
1215 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard04d06892011-07-26 15:28:19 +02001216 default y
Thomas Petazzoni9eaad202010-12-13 17:27:44 +01001217 help
1218 Select this option if your external toolchain has thread
1219 support. If you don't know, leave the default value,
1220 Buildroot will tell you if it's correct or not.
1221
Thomas Petazzonic64f9482014-02-18 22:08:59 +01001222if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1223
Peter Korsgaard5931db02011-11-24 14:26:52 +01001224config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
1225 bool "Toolchain has threads debugging support?"
Peter Korsgaard5931db02011-11-24 14:26:52 +01001226 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
1227 default y
1228 help
1229 Select this option if your external toolchain has thread
1230 debugging support. If you don't know, leave the default
1231 value, Buildroot will tell you if it's correct or not.
1232
Thomas Petazzonic64f9482014-02-18 22:08:59 +01001233config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL
1234 bool "Toolchain has NPTL threads support?"
1235 select BR2_TOOLCHAIN_HAS_THREADS_NPTL
1236 default y
1237 help
1238 Select this option if your external toolchain uses the NPTL
1239 (Native Posix Thread Library) implementation of Posix
1240 threads. If you don't know, leave the default value,
1241 Buildroot will tell you if it's correct or not.
1242
1243endif # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1244
Thomas Petazzonic5866be2013-09-02 18:06:36 +02001245config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
1246 bool "Toolchain has SSP support?"
1247 select BR2_TOOLCHAIN_HAS_SSP
1248 help
1249 Selection this option if your external toolchain has Stack
1250 Smashing Protection support enabled. If you don't know,
1251 leave the default value, Buildroot will tell you if it's
1252 correct or not.
1253
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001254endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1255
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +01001256config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
1257 bool "Toolchain has RPC support?"
1258 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001259 depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL
Thomas Petazzoni3a843a32012-11-04 07:34:29 +00001260 default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +01001261 help
1262 Select this option if your external toolchain supports
1263 RPC. If you don't know, leave the default value, Buildroot
1264 will tell you if it's correct or not.
1265
Thomas Petazzoni6b578c82010-12-13 17:27:41 +01001266config BR2_TOOLCHAIN_EXTERNAL_CXX
1267 bool "Toolchain has C++ support?"
1268 select BR2_INSTALL_LIBSTDCPP
1269 help
1270 Select this option if your external toolchain has C++
1271 support. If you don't know, leave the default value,
1272 Buildroot will tell you if it's correct or not.
1273
Thomas De Schampheleirec72f54b2011-10-02 21:20:10 +02001274config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
1275 string "Extra toolchain libraries to be copied to target"
1276 help
1277 If your external toolchain provides extra libraries that
1278 need to be copied to the target filesystem, enter them
1279 here, separated by spaces. They will be copied to the
1280 target's /lib directory.
1281
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001282endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzonifff71172010-12-13 17:27:37 +01001283
Thomas Petazzonia0b6faa2013-04-07 00:04:33 +00001284config BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
1285 bool "Copy gdb server to the Target"
1286 depends on BR2_TOOLCHAIN_EXTERNAL
1287 help
1288 Copy the gdbserver provided by the external toolchain to the
1289 target.
1290
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001291# When the FDPIC shared binary format is used, the corresponding libraries are
1292# always installed. When a different binary format is used, we offer the option
1293# of installing the FDPIC shared libraries.
1294config BR2_BFIN_INSTALL_FDPIC_SHARED
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +01001295 bool "Install FDPIC shared libraries"
1296 depends on BR2_bfin && !BR2_BINFMT_FDPIC
1297 help
1298 The Linux kernel supports running both FDPIC and FLAT applications
1299 concurrently if the binary format specific libraries are installed
1300 properly. This option allows developer to install FDPIC libraries
1301 into a buildroot rootfs image built with binary format that is not
1302 FDPIC.
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001303
1304# When the FLAT shared binary format is used, we force the installation
1305# of the corresponding libraries. When a different binary format is
1306# used, we offer the option of installing the FLAT shared libraries.
1307config BR2_BFIN_INSTALL_FLAT_SHARED
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +01001308 bool "Install FLAT shared libraries" if !BR2_BINFMT_FLAT_SHARED
1309 depends on BR2_bfin
1310 default y if BR2_BINFMT_FLAT_SHARED
1311 help
1312 The Linux kernel supports running both FDPIC and FLAT applications
1313 concurrently if the binary format specific libraries are installed
1314 properly. This option allows developer to install FLAT libraries
1315 into a buildroot rootfs image built with binary format that is not
1316 shared FLAT.
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001317
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001318endif # BR2_TOOLCHAIN_EXTERNAL