1if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
2
3config BR2_TOOLCHAIN_EXTERNAL_PREFIX
4	default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
5
6config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL
7	default "toolchain-external-custom"
8
9config BR2_TOOLCHAIN_EXTERNAL_URL
10	string "Toolchain URL"
11	depends on BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
12	help
13	  URL of the custom toolchain tarball to download and install.
14
15config BR2_TOOLCHAIN_EXTERNAL_REL_BIN_PATH
16	string "Toolchain relative binary path"
17	default "bin"
18	depends on BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
19	help
20	  Path to where the binaries (e.g. the compiler) can be found,
21	  relative to the downloaded toolchain root directory. The
22	  default is "bin" and is correct for most toolchains.
23
24config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
25	string "Toolchain prefix"
26	default "$(ARCH)-linux"
27	help
28	  Component name prefix used by your external toolchain.
29
30	  Typically, this is the target tuple, e.g. something that
31	  looks like: $(ARCH)-unknown-linux-gnu.
32
33	  If unsure, look at the "bin" directory of your toolchain and
34	  note the part of component name before the last dash, i.e. if
35	  you call the toolchain's gcc as $(ARCH)-unknown-linux-gnu-gcc,
36	  the prefix is $(ARCH)-unknown-linux-gnu.
37
38	  Note that Buildroot toolchains have shorter aliases that look
39	  like $(ARCH)-linux, as symlinks to the full-tuple components,
40	  so you can leave this option at default value if you use them
41	  as external toolchain.
42
43choice
44	bool "External toolchain gcc version"
45	help
46	  Set to the gcc version that is used by your external
47	  toolchain.
48
49config BR2_TOOLCHAIN_EXTERNAL_GCC_14
50	bool "14.x"
51	select BR2_TOOLCHAIN_GCC_AT_LEAST_14
52
53config BR2_TOOLCHAIN_EXTERNAL_GCC_13
54	bool "13.x"
55	select BR2_TOOLCHAIN_GCC_AT_LEAST_13
56
57config BR2_TOOLCHAIN_EXTERNAL_GCC_12
58	bool "12.x"
59	depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_13
60	select BR2_TOOLCHAIN_GCC_AT_LEAST_12
61
62config BR2_TOOLCHAIN_EXTERNAL_GCC_11
63	bool "11.x"
64	depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_12
65	select BR2_TOOLCHAIN_GCC_AT_LEAST_11
66
67config BR2_TOOLCHAIN_EXTERNAL_GCC_10
68	bool "10.x"
69	depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_11
70	select BR2_TOOLCHAIN_GCC_AT_LEAST_10
71
72config BR2_TOOLCHAIN_EXTERNAL_GCC_9
73	bool "9.x"
74	depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_10
75	select BR2_TOOLCHAIN_GCC_AT_LEAST_9
76
77config BR2_TOOLCHAIN_EXTERNAL_GCC_8
78	bool "8.x"
79	depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_9
80	select BR2_TOOLCHAIN_GCC_AT_LEAST_8
81
82config BR2_TOOLCHAIN_EXTERNAL_GCC_7
83	bool "7.x"
84	depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_8
85	select BR2_TOOLCHAIN_GCC_AT_LEAST_7
86
87config BR2_TOOLCHAIN_EXTERNAL_GCC_6
88	bool "6.x"
89	depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_7
90	select BR2_TOOLCHAIN_GCC_AT_LEAST_6
91
92config BR2_TOOLCHAIN_EXTERNAL_GCC_5
93	bool "5.x"
94	depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_6
95	select BR2_TOOLCHAIN_GCC_AT_LEAST_5
96
97config BR2_TOOLCHAIN_EXTERNAL_GCC_4_9
98	bool "4.9.x"
99	depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_5
100	select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
101
102config BR2_TOOLCHAIN_EXTERNAL_GCC_4_8
103	bool "4.8.x"
104	depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9
105	select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
106
107config BR2_TOOLCHAIN_EXTERNAL_GCC_4_7
108	bool "4.7.x"
109	depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8
110	select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
111
112config BR2_TOOLCHAIN_EXTERNAL_GCC_4_6
113	bool "4.6.x"
114	depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8
115	select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
116
117config BR2_TOOLCHAIN_EXTERNAL_GCC_4_5
118	bool "4.5.x"
119	depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8
120	select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
121
122config BR2_TOOLCHAIN_EXTERNAL_GCC_4_4
123	bool "4.4.x"
124	depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8
125	select BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
126
127config BR2_TOOLCHAIN_EXTERNAL_GCC_4_3
128	bool "4.3.x"
129	depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8
130	select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
131
132config BR2_TOOLCHAIN_EXTERNAL_GCC_OLD
133	bool "older"
134	depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8
135	help
136	  Use this option if your GCC version is older than any of the
137	  above.
138
139	  Note that the Buildroot community doesn't do any testing with
140	  such old toolchains. Some packages may fail to build in
141	  surprising ways, or the generated root filesystem may not
142	  work at all. Use such old toolchains at your own risk.
143
144endchoice
145
146comment "GCC older than 4.8 is not tested by Buildroot. Use at your own risk."
147	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
148
149choice
150	bool "External toolchain kernel headers series"
151	default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
152	help
153	  Set to the kernel headers version that were used to build
154	  this external toolchain.
155
156	  This is used to hide/show some packages that have strict
157	  requirements on the version of kernel headers.
158
159	  If unsure what version your toolchain is using, you can look
160	  at the value of LINUX_VERSION_CODE in linux/version.h in your
161	  toolchain. The Linux version is M.m.p, with:
162	    M = ( LINUX_VERSION_CODE >> 16 ) & 0xFF
163	    m = ( LINUX_VERSION_CODE >> 8  ) & 0xFF
164	    p = ( LINUX_VERSION_CODE >> 0  ) & 0xFF
165
166	  If your toolchain uses headers newer than the latest version
167	  in the choice, then select the latest version.
168
169config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_8
170	bool "6.8.x or later"
171	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_8
172
173config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_7
174	bool "6.7.x"
175	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_7
176
177config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_6
178	bool "6.6.x"
179	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_6
180
181config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_5
182	bool "6.5.x"
183	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_5
184
185config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_4
186	bool "6.4.x"
187	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_4
188
189config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_3
190	bool "6.3.x"
191	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_3
192
193config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_2
194	bool "6.2.x"
195	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_2
196
197config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_1
198	bool "6.1.x"
199	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_1
200
201config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_0
202	bool "6.0.x"
203	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_0
204
205config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_19
206	bool "5.19.x"
207	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_19
208
209config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_18
210	bool "5.18.x"
211	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_18
212
213config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_17
214	bool "5.17.x"
215	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_17
216
217config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_16
218	bool "5.16.x"
219	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
220
221config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_15
222	bool "5.15.x"
223	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
224
225config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_14
226	bool "5.14.x"
227	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14
228
229config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_13
230	bool "5.13.x"
231	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_13
232
233config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_12
234	bool "5.12.x"
235	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12
236
237config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_11
238	bool "5.11"
239	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11
240
241config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_10
242	bool "5.10.x"
243	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10
244
245config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_9
246	bool "5.9.x"
247	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
248
249config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_8
250	bool "5.8.x"
251	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8
252
253config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_7
254	bool "5.7.x"
255	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
256
257config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_6
258	bool "5.6.x"
259	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6
260
261config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_5
262	bool "5.5.x"
263	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5
264
265config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_4
266	bool "5.4.x"
267	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
268
269config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_3
270	bool "5.3.x"
271	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3
272
273config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_2
274	bool "5.2.x"
275	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
276
277config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_1
278	bool "5.1.x"
279	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
280
281config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_0
282	bool "5.0.x"
283	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
284
285config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_20
286	bool "4.20.x"
287	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
288
289config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_19
290	bool "4.19.x"
291	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
292
293config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_18
294	bool "4.18.x"
295	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
296
297config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_17
298	bool "4.17.x"
299	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17
300
301config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_16
302	bool "4.16.x"
303	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
304
305config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_15
306	bool "4.15.x"
307	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
308
309config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_14
310	bool "4.14.x"
311	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
312
313config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_13
314	bool "4.13.x"
315	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
316
317config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_12
318	bool "4.12.x"
319	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
320
321config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_11
322	bool "4.11.x"
323	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
324
325config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_10
326	bool "4.10.x"
327	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
328
329config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_9
330	bool "4.9.x"
331	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
332
333config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_8
334	bool "4.8.x"
335	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
336
337config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_7
338	bool "4.7.x"
339	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
340
341config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_6
342	bool "4.6.x"
343	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
344
345config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_5
346	bool "4.5.x"
347	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
348
349config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_4
350	bool "4.4.x"
351	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
352
353config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_3
354	bool "4.3.x"
355	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
356
357config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_2
358	bool "4.2.x"
359	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
360
361config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_1
362	bool "4.1.x"
363	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
364
365config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_0
366	bool "4.0.x"
367	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
368
369config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_19
370	bool "3.19.x"
371	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
372
373config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_18
374	bool "3.18.x"
375	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
376
377config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17
378	bool "3.17.x"
379	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
380
381config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_16
382	bool "3.16.x"
383	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
384
385config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15
386	bool "3.15.x"
387	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
388
389config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14
390	bool "3.14.x"
391	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
392
393config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13
394	bool "3.13.x"
395	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
396
397config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12
398	bool "3.12.x"
399	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
400
401config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11
402	bool "3.11.x"
403	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
404
405config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10
406	bool "3.10.x"
407	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
408
409config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9
410	bool "3.9.x"
411	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
412
413config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8
414	bool "3.8.x"
415	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
416
417config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7
418	bool "3.7.x"
419	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
420
421config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6
422	bool "3.6.x"
423	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
424
425config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5
426	bool "3.5.x"
427	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
428
429config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4
430	bool "3.4.x"
431	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
432
433config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3
434	bool "3.3.x"
435	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
436
437config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2
438	bool "3.2.x"
439	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
440
441config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1
442	bool "3.1.x"
443	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
444
445config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0
446	bool "3.0.x"
447	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
448
449config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
450	bool "2.6.x"
451
452endchoice
453
454comment "Kernel headers older than 3.13 is not tested by Buildroot. Use at your own risk."
455	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
456
457choice
458	prompt "External toolchain C library"
459	default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
460
461config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
462	bool "uClibc/uClibc-ng"
463	select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
464	help
465	  Select this option if your external toolchain uses the
466	  uClibc (available from http://www.uclibc.org/)
467	  or uClibc-ng (available from http://www.uclibc-ng.org)
468	  C library.
469
470config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
471	bool "glibc"
472	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
473	help
474	  Select this option if your external toolchain uses the GNU C
475	  library (available from https://www.gnu.org/software/libc/).
476
477config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL
478	bool "musl (experimental)"
479	select BR2_TOOLCHAIN_EXTERNAL_MUSL
480	help
481	  Select this option if your external toolchain uses the
482	  'musl' C library, available from http://www.musl-libc.org/.
483
484endchoice
485
486if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
487
488config BR2_TOOLCHAIN_EXTERNAL_WCHAR
489	bool "Toolchain has WCHAR support?"
490	select BR2_USE_WCHAR
491	help
492	  Select this option if your external toolchain supports
493	  WCHAR. If you don't know, leave the default value, Buildroot
494	  will tell you if it's correct or not.
495
496config BR2_TOOLCHAIN_EXTERNAL_LOCALE
497	bool "Toolchain has locale support?"
498	select BR2_TOOLCHAIN_EXTERNAL_WCHAR
499	select BR2_ENABLE_LOCALE
500	help
501	  Select this option if your external toolchain has locale
502	  support. If you don't know, leave the default value,
503	  Buildroot will tell you if it's correct or not.
504
505config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
506	bool "Toolchain has threads support?"
507	default y
508	select BR2_TOOLCHAIN_HAS_THREADS
509	help
510	  Select this option if your external toolchain has thread
511	  support. If you don't know, leave the default value,
512	  Buildroot will tell you if it's correct or not.
513
514if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
515
516config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
517	bool "Toolchain has threads debugging support?"
518	default y
519	select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
520	help
521	  Select this option if your external toolchain has thread
522	  debugging support. If you don't know, leave the default
523	  value, Buildroot will tell you if it's correct or not.
524
525config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL
526	bool "Toolchain has NPTL threads support?"
527	default y
528	select BR2_TOOLCHAIN_HAS_THREADS_NPTL
529	help
530	  Select this option if your external toolchain uses the NPTL
531	  (Native Posix Thread Library) implementation of Posix
532	  threads. If you don't know, leave the default value,
533	  Buildroot will tell you if it's correct or not.
534
535endif # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
536
537endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
538
539config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
540	bool "Toolchain has SSP support?"
541	default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
542	default y if BR2_TOOLCHAIN_EXTERNAL_MUSL
543	select BR2_TOOLCHAIN_HAS_SSP
544	help
545	  Select this option if your external toolchain has Stack
546	  Smashing Protection support enabled. If you don't know,
547	  leave the default value, Buildroot will tell you if it's
548	  correct or not.
549
550config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP_STRONG
551	bool "Toolchain has SSP strong support?"
552	default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 && BR2_TOOLCHAIN_EXTERNAL_GLIBC
553	default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 && BR2_TOOLCHAIN_EXTERNAL_MUSL
554	depends on BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
555	select BR2_TOOLCHAIN_HAS_SSP_STRONG
556	help
557	  Select this option if your external toolchain has strong
558	  Stack Smashing Protection support enabled. If you don't
559	  know, leave the default value, Buildroot will tell you if
560	  it's correct or not.
561
562config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
563	bool "Toolchain has RPC support?"
564	default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
565	depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL
566	select BR2_TOOLCHAIN_HAS_NATIVE_RPC
567	help
568	  Select this option if your external toolchain supports
569	  RPC. If you don't know, leave the default value, Buildroot
570	  will tell you if it's correct or not.
571
572config BR2_TOOLCHAIN_EXTERNAL_CXX
573	bool "Toolchain has C++ support?"
574	select BR2_INSTALL_LIBSTDCPP
575	help
576	  Select this option if your external toolchain has C++
577	  support. If you don't know, leave the default value,
578	  Buildroot will tell you if it's correct or not.
579
580config BR2_TOOLCHAIN_EXTERNAL_DLANG
581	bool "Toolchain has D support?"
582	select BR2_TOOLCHAIN_HAS_DLANG
583	help
584	  Select this option if your external toolchain has D
585	  support.
586
587config BR2_TOOLCHAIN_EXTERNAL_FORTRAN
588	bool "Toolchain has Fortran support?"
589	select BR2_TOOLCHAIN_HAS_FORTRAN
590	help
591	  Select this option if your external toolchain has Fortran
592	  support. If you don't know, leave the default value,
593	  Buildroot will tell you if it's correct or not.
594
595config BR2_TOOLCHAIN_EXTERNAL_OPENMP
596	bool "Toolchain has OpenMP support?"
597	select BR2_TOOLCHAIN_HAS_OPENMP
598	help
599	  Select this option if your external toolchain has OpenMP
600	  support. If you don't know, leave the default value,
601	  Buildroot will tell you if it's correct or not.
602
603endif
604