blob: 8b0f09b083822e1aa9f57dd7d0e4da030ced8518 [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
Gustavo Zacariasd6fbd852015-03-03 12:52:31 -0300673config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64_201405
674 bool "Sourcery CodeBench AMD64 2014.05"
675 depends on BR2_x86_64
676 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
677 depends on !BR2_STATIC_LIBS
678 depends on BR2_x86_jaguar || BR2_x86_steamroller
679 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
680 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
681 select BR2_INSTALL_LIBSTDCPP
682 select BR2_HOSTARCH_NEEDS_IA32_LIBS
683 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
684 help
685 Sourcery CodeBench toolchain for the amd64 (x86_64)
686 architectures, from Mentor Graphics. It uses gcc 4.8.3,
687 binutils 2.24.51, glibc 2.18, gdb 7.7.50 and kernel headers
688 3.13.0. It has support for the following variants:
689 - AMD Puma/Jaguar (family 16h), glibc
690 Default for x86_64, nothing special to do.
691 - AMD Steamroller (family 15h), glibc
692 Select a steamroller core.
693 No other architecture variants are supported since glibc
694 is optimized for one of these two baselines.
695
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000696config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
697 bool "Sourcery CodeBench x86/x86_64 2012.09"
698 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000699 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100700 depends on !BR2_STATIC_LIBS
Adrien Bérauda20cb382014-01-15 17:17:10 -0500701 depends on !BR2_x86_jaguar
Gustavo Zacarias50451992015-03-03 12:52:30 -0300702 depends on !BR2_x86_steamroller
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000703 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
704 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
705 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000706 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100707 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000708 help
709 Sourcery CodeBench toolchain for the x86/x86_64
710 architectures, from Mentor Graphics. It uses gcc 4.7.2,
711 binutils 2.23.51, glibc 2.16, gdb 7.4.50 and kernel headers
712 3.5.4. It has support for the following variants:
713 - Intel Pentium 4, glibc, 32 bits
714 Default for x86, nothing special to do.
715 - Intel Atom, glibc, 32 bits
716 Select an Atom core
717 - Intel Xeon, glibc, 64 bits
718 Default for x86_64, nothing special to do.
719 - Intel Core 2, glibc, 64 bits
720 Select a Core 2 core
721 Other architecture variants (beyond Pentium-4/Xeon) are
722 supported as well, but glibc is not optimised for it.
723
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000724config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
725 bool "Sourcery CodeBench x86/x86_64 2012.03"
726 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000727 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100728 depends on !BR2_STATIC_LIBS
Adrien Bérauda20cb382014-01-15 17:17:10 -0500729 depends on !BR2_x86_jaguar
Gustavo Zacarias50451992015-03-03 12:52:30 -0300730 depends on !BR2_x86_steamroller
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000731 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
732 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000733 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100734 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000735 help
736 Sourcery CodeBench toolchain for the x86/x86_64
737 architectures, from Mentor Graphics. It uses gcc 4.6.3,
738 binutils 2.21.53, glibc 2.15, gdb 7.2.50 and kernel headers
739 3.2.10. It has support for the following variants:
740 - Intel Pentium 4, glibc, 32 bits
741 Default for x86, nothing special to do.
742 - Intel Atom, glibc, 32 bits
743 Select an Atom core
744 - Intel Xeon, glibc, 64 bits
745 Default for x86_64, nothing special to do.
746 - Intel Core 2, glibc, 64 bits
747 Select a Core 2 core
748 Other architecture variants (beyond Pentium-4/Xeon) are
749 supported as well, but glibc is not optimised for it.
750
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100751config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
752 bool "Sourcery CodeBench x86/x86_64 2011.09"
753 depends on BR2_i386 || BR2_x86_64
Thomas Petazzoni4eff1f22012-12-29 06:14:48 +0000754 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100755 depends on !BR2_STATIC_LIBS
Adrien Bérauda20cb382014-01-15 17:17:10 -0500756 depends on !BR2_x86_jaguar
Gustavo Zacarias50451992015-03-03 12:52:30 -0300757 depends on !BR2_x86_steamroller
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100758 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +0100759 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100760 select BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni2d16ba92012-12-29 06:14:50 +0000761 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100762 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100763 help
764 Sourcery CodeBench toolchain for the x86/x86_64
765 architectures, from Mentor Graphics. It uses gcc 4.6.1,
766 binutils 2.21.53, glibc 2.13, gdb 7.2.50 and kernel headers
767 3.0.1. It has support for the following variants:
768 - Intel Pentium 4, glibc, 32 bits
Arnout Vandecappelle (Essensium/Mind)a22dc0f2012-03-13 23:30:00 +0100769 Default for x86, nothing special to do.
770 - Intel Atom, glibc, 32 bits
771 Select an Atom core
772 - Intel Xeon, glibc, 64 bits
773 Default for x86_64, nothing special to do.
774 - Intel Core 2, glibc, 64 bits
775 Select a Core 2 core
776 Other architecture variants (beyond Pentium-4/Xeon) are
777 supported as well, but glibc is not optimised for it.
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100778
Thomas Petazzoni1cfeed12014-07-09 23:20:22 +0200779config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1
780 bool "Blackfin.uclinux.org 2014R1"
Thomas Petazzoni5a65b8e2014-06-01 12:47:48 +0200781 depends on BR2_bfin
782 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
783 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
784 select BR2_INSTALL_LIBSTDCPP
785 select BR2_LARGEFILE
786 select BR2_INET_IPV6
787 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
788 select BR2_USE_WCHAR
789 select BR2_TOOLCHAIN_HAS_THREADS
790 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
791 select BR2_HOSTARCH_NEEDS_IA32_LIBS
792 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
793 help
794 Toolchain for the Blackfin architecture, from
795 http://blackfin.uclinux.org.
796
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100797config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1
798 bool "Blackfin.uclinux.org 2013R1"
799 depends on BR2_bfin
800 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
801 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
802 select BR2_INSTALL_LIBSTDCPP
803 select BR2_LARGEFILE
804 select BR2_INET_IPV6
805 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
806 select BR2_USE_WCHAR
807 select BR2_TOOLCHAIN_HAS_THREADS
808 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
809 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100810 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100811 help
812 Toolchain for the Blackfin architecture, from
813 http://blackfin.uclinux.org.
814
Gustavo Zacarias82e39a22013-02-01 03:04:50 +0000815config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
816 bool "Blackfin.uclinux.org 2012R2-RC2"
817 depends on BR2_bfin
818 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
819 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
820 select BR2_INSTALL_LIBSTDCPP
821 select BR2_LARGEFILE
822 select BR2_INET_IPV6
823 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
824 select BR2_USE_WCHAR
825 select BR2_TOOLCHAIN_HAS_THREADS
826 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
827 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100828 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Gustavo Zacarias82e39a22013-02-01 03:04:50 +0000829 help
830 Toolchain for the Blackfin architecture, from
831 http://blackfin.uclinux.org.
832
Thomas Petazzonid51025d2014-06-01 12:47:41 +0200833config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
Thomas Petazzoni28bca1c2014-11-10 11:06:31 +0100834 bool "Linaro AArch64 14.09"
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100835 depends on BR2_aarch64
836 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100837 depends on !BR2_STATIC_LIBS
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100838 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
839 select BR2_INSTALL_LIBSTDCPP
840 select BR2_HOSTARCH_NEEDS_IA32_LIBS
841 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Yann E. MORINb6f321b2014-03-01 15:52:58 +0100842 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
Thomas Petazzoni68b967a2013-12-27 12:32:20 +0100843 help
844 Toolchain for the AArch64 architecture, from
845 http://www.linaro.org/engineering/armv8/
846
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200847config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
848 bool "CodeSourcery AArch64 2014.05"
849 depends on BR2_aarch64
850 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +0100851 depends on !BR2_STATIC_LIBS
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200852 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
853 select BR2_INSTALL_LIBSTDCPP
854 select BR2_HOSTARCH_NEEDS_IA32_LIBS
855 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
856 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
857 help
858 Sourcery CodeBench toolchain for the AArch64 architecture,
859 from Mentor Graphics. It uses gcc 4.8.3, binutils 2.24,
860 glibc 2.18, gdb 7.7.50 and kernel headers 3.13.
861
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200862config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS
Thomas Petazzoni5c852662014-06-01 12:47:45 +0200863 bool "Musl 1.1.1 toolchain"
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200864 depends on (BR2_arm && BR2_ARM_EABI) || (BR2_armeb && BR2_ARM_EABI) || \
Thomas Petazzoni77ef6a32014-05-30 22:24:39 +0200865 (BR2_i386 && !BR2_x86_i386) || BR2_microblazebe || BR2_mips || \
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200866 BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || BR2_x86_64
867 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
868 select BR2_TOOLCHAIN_EXTERNAL_MUSL
869 select BR2_INSTALL_LIBSTDCPP
870 select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni5c852662014-06-01 12:47:45 +0200871 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200872 help
873 Toolchain based on the Musl C library, provided by the
Thomas Petazzoni5c852662014-06-01 12:47:45 +0200874 musl-cross project. It uses gcc 4.8.3, binutils 2.24 and
875 musl 1.1.1. It does not have a cross debugger included.
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200876
877 The ARM toolchain is built for ARMv4t, soft-float.
878 The x86 toolchain is built for i486.
879
880 http://musl.codu.org/
881
Alexey Brodkin2b93fe52015-03-10 14:50:24 +0300882config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_2014_12
883 bool "Synopsys ARC 2014.12 toolchain"
884 depends on BR2_arc
885 depends on BR2_HOSTARCH = "x86_64"
886 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
887 select BR2_INSTALL_LIBSTDCPP
888 select BR2_LARGEFILE
889 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
890 select BR2_ENABLE_LOCALE
891 select BR2_USE_WCHAR
892 select BR2_TOOLCHAIN_HAS_THREADS
893 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
894 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
895 help
896 Toolchain for the ARC cores, from
897 https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases
898
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100899config BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleire5022fa82012-06-22 07:42:37 +0200900 bool "Custom toolchain"
901 help
902 Use this option to use a custom toolchain pre-installed on
903 your system.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100904
905endchoice
906
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200907choice
908 prompt "Toolchain origin"
Thomas Petazzoni70194072012-07-22 20:57:26 +0200909 # Keep compatibility with old defconfig files that are using
910 # custom toolchains, and which are therefore assuming that
911 # "preinstalled" in the default choice.
912 default BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200913
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100914config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200915 bool "Toolchain to be downloaded and installed"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100916 help
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200917 Select this option if you want Buildroot to download and install the
918 toolchain. If you have selected a custom toolchain, specify the URL
919 in BR2_TOOLCHAIN_EXTERNAL_URL.
920
921config BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
922 bool "Pre-installed toolchain"
923 help
924 Select this option if you want to use a pre-installed toolchain.
925 Specify the path to this toolchain in BR2_TOOLCHAIN_EXTERNAL_PATH.
926
927endchoice
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100928
929config BR2_TOOLCHAIN_EXTERNAL_PATH
930 string "Toolchain path"
931 default "/path/to/toolchain/usr"
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200932 depends on BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100933 help
934 Path to where the external toolchain is installed.
935
Thomas De Schampheleiredf0c1252012-06-22 07:42:38 +0200936config BR2_TOOLCHAIN_EXTERNAL_URL
937 string "Toolchain URL"
938 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM && BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
939 help
940 URL of the custom toolchain tarball to download and install.
941
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100942config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
943 string "Toolchain prefix"
944 depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM
945 default "$(ARCH)-linux"
946
947config BR2_TOOLCHAIN_EXTERNAL_PREFIX
948 string
Alexey Brodkin2b93fe52015-03-10 14:50:24 +0300949 default "arc-linux" if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_2014_12 && BR2_arcle
950 default "arceb-linux" if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_2014_12 && BR2_arceb
Thomas Petazzonibe2abf22014-06-01 12:47:40 +0200951 default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
Thomas Petazzonicd32da82014-03-05 23:23:40 +0100952 default "armeb-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
Fabio Porcedda786700e2013-05-26 12:08:19 +0000953 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
Thomas Petazzonic5252312013-12-27 12:32:17 +0100954 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
Thomas Petazzoni93f3c042014-09-15 23:49:35 +0200955 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201405
Thomas Petazzoni93d2b242013-06-08 11:14:17 +0200956 default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
Thomas Petazzoni2592f252013-06-08 11:14:18 +0200957 default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
Thomas Petazzonid51025d2014-06-01 12:47:41 +0200958 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
Thomas Petazzonibab8f272014-09-15 23:49:34 +0200959 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
Thomas Petazzoni245686f2013-12-27 12:32:18 +0100960 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201311
Thomas Petazzoni8b832192014-06-01 12:47:46 +0200961 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201405
Vicente Olivert Riera8b3b60c2014-12-03 16:52:25 +0000962 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201411
Ezequiel Garciad1de1c02013-08-29 19:10:41 -0300963 default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
Ezequiel García3ca5f0b2014-08-31 18:33:39 -0300964 default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100965 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas Petazzoni22e06982011-12-31 12:28:34 +0100966 default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
Thomas Petazzoni20d4ba92014-06-01 12:47:47 +0200967 default "powerpc-mentor-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201203
Thomas Petazzoni42c0fb42011-10-02 21:20:13 +0200968 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
Thomas Petazzoni41d85c02012-11-04 07:34:19 +0000969 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
Thomas Petazzonie067a442012-11-04 07:34:21 +0000970 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
Phil Edworthy95157452011-05-06 15:23:04 +0100971 default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
Thomas Petazzoniae236462011-10-02 21:20:11 +0200972 default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
Thomas Petazzonid00bd2a2011-12-31 12:34:33 +0100973 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
Thomas Petazzoni363cb602012-11-04 07:34:20 +0000974 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
Thomas Petazzoni1c811232012-11-04 07:34:22 +0000975 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
Gustavo Zacariasd6fbd852015-03-03 12:52:31 -0300976 default "x86_64-amd-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64_201405
Sonic Zhang57133822013-05-03 00:39:34 +0000977 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FLAT
978 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FDPIC
Thomas Petazzoni951fc4c2013-12-27 12:32:22 +0100979 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FLAT
980 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FDPIC
Thomas Petazzoni1cfeed12014-07-09 23:20:22 +0200981 default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 && BR2_BINFMT_FLAT
982 default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 && BR2_BINFMT_FDPIC
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200983 default "arm-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_arm
984 default "armeb-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_armeb
985 default "i486-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_i386
Thomas Petazzoni77ef6a32014-05-30 22:24:39 +0200986 default "microblaze-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_microblazebe
Thomas Petazzoni2d71c122014-05-05 23:17:10 +0200987 default "mips-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && !BR2_SOFT_FLOAT)
988 default "mips-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && BR2_SOFT_FLOAT)
989 default "mipsel-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && !BR2_SOFT_FLOAT)
990 default "mipsel-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && BR2_SOFT_FLOAT)
991 default "powerpc-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_powerpc
992 default "x86_64-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_x86_64
Thomas De Schampheleirefbc24942013-09-02 22:07:53 +0200993 default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX \
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100994 if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzoni643aa232009-05-29 18:37:41 +0200995
996config BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +0100997 bool
Thomas Petazzoni381616e2013-06-30 21:29:09 +0200998 select BR2_TOOLCHAIN_USES_GLIBC
Thomas Petazzoni643aa232009-05-29 18:37:41 +0200999
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001000config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
1001 bool
Thomas Petazzoni381616e2013-06-30 21:29:09 +02001002 select BR2_TOOLCHAIN_USES_UCLIBC
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001003
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001004config BR2_TOOLCHAIN_EXTERNAL_MUSL
1005 bool
1006 select BR2_TOOLCHAIN_USES_MUSL
1007
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001008if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
1009
1010choice
Yann E. MORINc58bcd52014-03-01 15:52:59 +01001011 bool "External toolchain kernel headers series"
1012 default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
1013 help
1014 Set to the kernel headers version that were used to build
1015 this external toolchain.
1016
1017 This is used to hide/show some packages that have strict
1018 requirements on the version of kernel headers.
1019
1020 If unsure what version your toolchain is using, you can look
1021 at the value of LINUX_VERSION_CODE in linux/version.h in your
1022 toolchain. The Linux version is M.m.p, with:
1023 M = ( LINUX_VERSION_CODE >> 16 ) & 0xFF
1024 m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF
1025 p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF
1026
Peter Korsgaard81366ed2015-02-09 13:31:23 +01001027config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_19
1028 bool "3.19.x"
1029 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
1030
Gustavo Zacariasbf6f74d2014-12-08 08:10:39 -03001031config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_18
1032 bool "3.18.x"
1033 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
1034
Gustavo Zacarias2d312b72014-10-06 08:44:39 -03001035config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17
1036 bool "3.17.x"
Karoly Kaszab8f9e572014-10-09 12:59:01 +02001037 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
Gustavo Zacarias2d312b72014-10-06 08:44:39 -03001038
Gustavo Zacarias911516f2014-08-03 23:29:22 -03001039config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_16
1040 bool "3.16.x"
1041 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
1042
Gustavo Zacariasfb29afe2014-06-09 08:30:33 -03001043config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15
1044 bool "3.15.x"
1045 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
1046
Samuel Martin11547ca2014-04-06 18:27:49 +02001047config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14
1048 bool "3.14.x"
1049 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
1050
Yann E. MORINc58bcd52014-03-01 15:52:59 +01001051config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13
1052 bool "3.13.x"
1053 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
1054
1055config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12
1056 bool "3.12.x"
1057 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
1058
1059config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11
1060 bool "3.11.x"
1061 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
1062
1063config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10
1064 bool "3.10.x"
1065 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
1066
1067config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9
1068 bool "3.9.x"
1069 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
1070
1071config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8
1072 bool "3.8.x"
1073 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
1074
1075config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7
1076 bool "3.7.x"
1077 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
1078
1079config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6
1080 bool "3.6.x"
1081 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
1082
1083config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5
1084 bool "3.5.x"
1085 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
1086
1087config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4
1088 bool "3.4.x"
1089 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
1090
1091config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3
1092 bool "3.3.x"
1093 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
1094
1095config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2
1096 bool "3.2.x"
1097 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
1098
1099config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1
1100 bool "3.1.x"
1101 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
1102
1103config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0
1104 bool "3.0.x"
1105 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
1106
1107config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
1108 bool "2.6.x"
1109
1110endchoice
1111
1112choice
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001113 prompt "External toolchain C library"
1114 default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1115
1116config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1117 bool "uClibc"
1118 select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
Thomas Petazzonib9882922011-05-30 23:56:57 +02001119 # For the time being, we assume that all custom external
1120 # toolchains have shadow password support.
1121 select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
Thomas Petazzoni692a5852013-10-08 20:17:10 +02001122 help
1123 Select this option if your external toolchain uses the
1124 uClibc C library (available from http://www.uclibc.org/).
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001125
1126config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +00001127 bool "glibc/eglibc"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +01001128 depends on !BR2_STATIC_LIBS
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001129 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Baruch Siach96688932012-09-27 09:27:42 +00001130 help
Thomas Petazzoni692a5852013-10-08 20:17:10 +02001131 Select this option if your external toolchain uses the GNU C
1132 library (available from https://www.gnu.org/software/libc/)
1133 or its variant the eglibc library (http://www.eglibc.org/).
1134
1135 Note: eglibc is a variant of glibc that (among other things)
1136 can be configured to exclude some of its features. Using a
1137 toolchain with eglibc configured to exclude key features may
1138 cause build failures to some packages.
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001139
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01001140comment "(e)glibc only available with shared lib support"
Thomas Petazzoni665e13c2014-12-03 22:41:29 +01001141 depends on BR2_STATIC_LIBS
Thomas Petazzonied3f3e42013-11-11 18:57:32 +01001142
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001143config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL
1144 bool "musl"
1145 select BR2_TOOLCHAIN_EXTERNAL_MUSL
1146 help
1147 Select this option if your external toolchain uses the
1148 'musl' C library, available from http://www.musl-libc.org/.
1149
Thomas Petazzoni643aa232009-05-29 18:37:41 +02001150endchoice
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +00001151
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001152if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
Thomas Petazzonifff71172010-12-13 17:27:37 +01001153
1154config BR2_TOOLCHAIN_EXTERNAL_LARGEFILE
1155 bool "Toolchain has large file support?"
1156 select BR2_LARGEFILE
1157 help
1158 Select this option if your external toolchain supports
1159 largefile. If you don't know, leave the default value,
1160 Buildroot will tell you if it's correct or not.
1161
1162config BR2_TOOLCHAIN_EXTERNAL_INET_IPV6
1163 bool "Toolchain has IPv6 support?"
1164 select BR2_INET_IPV6
1165 help
1166 Select this option if your external toolchain supports
1167 IPv6. If you don't know, leave the default value, Buildroot
1168 will tell you if it's correct or not.
1169
Thomas Petazzonifff71172010-12-13 17:27:37 +01001170config BR2_TOOLCHAIN_EXTERNAL_WCHAR
1171 bool "Toolchain has WCHAR support?"
1172 select BR2_USE_WCHAR
1173 help
1174 Select this option if your external toolchain supports
1175 WCHAR. If you don't know, leave the default value, Buildroot
1176 will tell you if it's correct or not.
1177
1178config BR2_TOOLCHAIN_EXTERNAL_LOCALE
1179 bool "Toolchain has locale support?"
1180 select BR2_TOOLCHAIN_EXTERNAL_WCHAR
1181 select BR2_ENABLE_LOCALE
1182 help
1183 Select this option if your external toolchain has locale
1184 support. If you don't know, leave the default value,
1185 Buildroot will tell you if it's correct or not.
1186
Thomas Petazzoni9eaad202010-12-13 17:27:44 +01001187config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1188 bool "Toolchain has threads support?"
1189 select BR2_TOOLCHAIN_HAS_THREADS
Peter Korsgaard04d06892011-07-26 15:28:19 +02001190 default y
Thomas Petazzoni9eaad202010-12-13 17:27:44 +01001191 help
1192 Select this option if your external toolchain has thread
1193 support. If you don't know, leave the default value,
1194 Buildroot will tell you if it's correct or not.
1195
Thomas Petazzonic64f9482014-02-18 22:08:59 +01001196if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1197
Peter Korsgaard5931db02011-11-24 14:26:52 +01001198config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
1199 bool "Toolchain has threads debugging support?"
Peter Korsgaard5931db02011-11-24 14:26:52 +01001200 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
1201 default y
1202 help
1203 Select this option if your external toolchain has thread
1204 debugging support. If you don't know, leave the default
1205 value, Buildroot will tell you if it's correct or not.
1206
Thomas Petazzonic64f9482014-02-18 22:08:59 +01001207config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL
1208 bool "Toolchain has NPTL threads support?"
1209 select BR2_TOOLCHAIN_HAS_THREADS_NPTL
1210 default y
1211 help
1212 Select this option if your external toolchain uses the NPTL
1213 (Native Posix Thread Library) implementation of Posix
1214 threads. If you don't know, leave the default value,
1215 Buildroot will tell you if it's correct or not.
1216
1217endif # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
1218
Thomas Petazzonic5866be2013-09-02 18:06:36 +02001219config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
1220 bool "Toolchain has SSP support?"
1221 select BR2_TOOLCHAIN_HAS_SSP
1222 help
1223 Selection this option if your external toolchain has Stack
1224 Smashing Protection support enabled. If you don't know,
1225 leave the default value, Buildroot will tell you if it's
1226 correct or not.
1227
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001228endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
1229
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +01001230config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
1231 bool "Toolchain has RPC support?"
1232 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +02001233 depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL
Thomas Petazzoni3a843a32012-11-04 07:34:29 +00001234 default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas Petazzoni9fbdf062012-11-03 18:47:50 +01001235 help
1236 Select this option if your external toolchain supports
1237 RPC. If you don't know, leave the default value, Buildroot
1238 will tell you if it's correct or not.
1239
Thomas Petazzoni6b578c82010-12-13 17:27:41 +01001240config BR2_TOOLCHAIN_EXTERNAL_CXX
1241 bool "Toolchain has C++ support?"
1242 select BR2_INSTALL_LIBSTDCPP
1243 help
1244 Select this option if your external toolchain has C++
1245 support. If you don't know, leave the default value,
1246 Buildroot will tell you if it's correct or not.
1247
Thomas De Schampheleirec72f54b2011-10-02 21:20:10 +02001248config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
1249 string "Extra toolchain libraries to be copied to target"
1250 help
1251 If your external toolchain provides extra libraries that
1252 need to be copied to the target filesystem, enter them
1253 here, separated by spaces. They will be copied to the
1254 target's /lib directory.
1255
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001256endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM
Thomas Petazzonifff71172010-12-13 17:27:37 +01001257
Thomas Petazzonia0b6faa2013-04-07 00:04:33 +00001258config BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
1259 bool "Copy gdb server to the Target"
1260 depends on BR2_TOOLCHAIN_EXTERNAL
1261 help
1262 Copy the gdbserver provided by the external toolchain to the
1263 target.
1264
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001265# When the FDPIC shared binary format is used, the corresponding libraries are
1266# always installed. When a different binary format is used, we offer the option
1267# of installing the FDPIC shared libraries.
1268config BR2_BFIN_INSTALL_FDPIC_SHARED
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +01001269 bool "Install FDPIC shared libraries"
1270 depends on BR2_bfin && !BR2_BINFMT_FDPIC
1271 help
1272 The Linux kernel supports running both FDPIC and FLAT applications
1273 concurrently if the binary format specific libraries are installed
1274 properly. This option allows developer to install FDPIC libraries
1275 into a buildroot rootfs image built with binary format that is not
1276 FDPIC.
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001277
1278# When the FLAT shared binary format is used, we force the installation
1279# of the corresponding libraries. When a different binary format is
1280# used, we offer the option of installing the FLAT shared libraries.
1281config BR2_BFIN_INSTALL_FLAT_SHARED
Thomas De Schampheleirebed4e272013-11-11 17:23:23 +01001282 bool "Install FLAT shared libraries" if !BR2_BINFMT_FLAT_SHARED
1283 depends on BR2_bfin
1284 default y if BR2_BINFMT_FLAT_SHARED
1285 help
1286 The Linux kernel supports running both FDPIC and FLAT applications
1287 concurrently if the binary format specific libraries are installed
1288 properly. This option allows developer to install FLAT libraries
1289 into a buildroot rootfs image built with binary format that is not
1290 shared FLAT.
Sonic Zhang8b4ade82013-06-08 11:14:22 +02001291
Thomas Petazzoni6c492d52010-12-13 17:27:39 +01001292endif # BR2_TOOLCHAIN_EXTERNAL