]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - toolchain/toolchain-external/toolchain-external-custom/Config.in.options
toolchain/*/Config.in: fix attributes order
[coffee/buildroot.git] / toolchain / toolchain-external / toolchain-external-custom / Config.in.options
1 if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
2
3 config BR2_TOOLCHAIN_EXTERNAL_PREFIX
4         default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
5
6 config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL
7         default "toolchain-external-custom"
8
9 config 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
15 config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
16         string "Toolchain prefix"
17         default "$(ARCH)-linux"
18
19 choice
20         bool "External toolchain gcc version"
21         default BR2_TOOLCHAIN_EXTERNAL_GCC_7   if BR2_ARCH_NEEDS_GCC_AT_LEAST_7
22         default BR2_TOOLCHAIN_EXTERNAL_GCC_6   if BR2_ARCH_NEEDS_GCC_AT_LEAST_6
23         default BR2_TOOLCHAIN_EXTERNAL_GCC_5   if BR2_ARCH_NEEDS_GCC_AT_LEAST_5
24         default BR2_TOOLCHAIN_EXTERNAL_GCC_4_9 if BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9
25         default BR2_TOOLCHAIN_EXTERNAL_GCC_4_8 if BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8
26         default BR2_TOOLCHAIN_EXTERNAL_GCC_4_3
27         help
28           Set to the gcc version that is used by your external
29           toolchain.
30
31 config BR2_TOOLCHAIN_EXTERNAL_GCC_7
32         bool "7.x"
33         select BR2_TOOLCHAIN_GCC_AT_LEAST_7
34
35 config BR2_TOOLCHAIN_EXTERNAL_GCC_6
36         bool "6.x"
37         depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_7
38         select BR2_TOOLCHAIN_GCC_AT_LEAST_6
39
40 config BR2_TOOLCHAIN_EXTERNAL_GCC_5
41         bool "5.x"
42         depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_6
43         select BR2_TOOLCHAIN_GCC_AT_LEAST_5
44
45 config BR2_TOOLCHAIN_EXTERNAL_GCC_4_9
46         bool "4.9.x"
47         depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_5
48         select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
49
50 config BR2_TOOLCHAIN_EXTERNAL_GCC_4_8
51         bool "4.8.x"
52         depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9
53         select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
54
55 config BR2_TOOLCHAIN_EXTERNAL_GCC_4_7
56         bool "4.7.x"
57         depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8
58         select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
59
60 config BR2_TOOLCHAIN_EXTERNAL_GCC_4_6
61         bool "4.6.x"
62         depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8
63         select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
64
65 config BR2_TOOLCHAIN_EXTERNAL_GCC_4_5
66         bool "4.5.x"
67         depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8
68         select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
69
70 config BR2_TOOLCHAIN_EXTERNAL_GCC_4_4
71         bool "4.4.x"
72         depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8
73         select BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
74
75 config BR2_TOOLCHAIN_EXTERNAL_GCC_4_3
76         bool "4.3.x"
77         depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8
78         select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
79
80 config BR2_TOOLCHAIN_EXTERNAL_GCC_OLD
81         bool "older"
82         depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8
83         help
84           Use this option if your GCC version is older than any of the
85           above.
86
87           Note that the Buildroot community doesn't do any testing with
88           such old toolchains. Some packages may fail to build in
89           surprising ways, or the generated root filesystem may not
90           work at all. Use such old toolchains at your own risk.
91
92 endchoice
93
94 choice
95         bool "External toolchain kernel headers series"
96         default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
97         help
98           Set to the kernel headers version that were used to build
99           this external toolchain.
100
101           This is used to hide/show some packages that have strict
102           requirements on the version of kernel headers.
103
104           If unsure what version your toolchain is using, you can look
105           at the value of LINUX_VERSION_CODE in linux/version.h in your
106           toolchain. The Linux version is M.m.p, with:
107             M = ( LINUX_VERSION_CODE >> 16 ) & 0xFF
108             m = ( LINUX_VERSION_CODE >> 8  ) & 0xFF
109             p = ( LINUX_VERSION_CODE >> 0  ) & 0xFF
110
111 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_15
112         bool "4.15.x"
113         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
114
115 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_14
116         bool "4.14.x"
117         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
118
119 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_13
120         bool "4.13.x"
121         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
122
123 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_12
124         bool "4.12.x"
125         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
126
127 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_11
128         bool "4.11.x"
129         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
130
131 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_10
132         bool "4.10.x"
133         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
134
135 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_9
136         bool "4.9.x"
137         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
138
139 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_8
140         bool "4.8.x"
141         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
142
143 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_7
144         bool "4.7.x"
145         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
146
147 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_6
148         bool "4.6.x"
149         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
150
151 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_5
152         bool "4.5.x"
153         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
154
155 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_4
156         bool "4.4.x"
157         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
158
159 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_3
160         bool "4.3.x"
161         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
162
163 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_2
164         bool "4.2.x"
165         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
166
167 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_1
168         bool "4.1.x"
169         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
170
171 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_0
172         bool "4.0.x"
173         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
174
175 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_19
176         bool "3.19.x"
177         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
178
179 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_18
180         bool "3.18.x"
181         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
182
183 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17
184         bool "3.17.x"
185         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
186
187 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_16
188         bool "3.16.x"
189         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
190
191 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15
192         bool "3.15.x"
193         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
194
195 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14
196         bool "3.14.x"
197         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
198
199 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13
200         bool "3.13.x"
201         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
202
203 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12
204         bool "3.12.x"
205         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
206
207 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11
208         bool "3.11.x"
209         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
210
211 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10
212         bool "3.10.x"
213         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
214
215 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9
216         bool "3.9.x"
217         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
218
219 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8
220         bool "3.8.x"
221         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
222
223 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7
224         bool "3.7.x"
225         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
226
227 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6
228         bool "3.6.x"
229         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
230
231 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5
232         bool "3.5.x"
233         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
234
235 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4
236         bool "3.4.x"
237         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
238
239 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3
240         bool "3.3.x"
241         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
242
243 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2
244         bool "3.2.x"
245         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
246
247 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1
248         bool "3.1.x"
249         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
250
251 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0
252         bool "3.0.x"
253         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
254
255 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
256         bool "2.6.x"
257
258 endchoice
259
260 choice
261         prompt "External toolchain C library"
262         default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
263
264 config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
265         bool "uClibc/uClibc-ng"
266         select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
267         # For the time being, we assume that all custom external
268         # toolchains have shadow password support.
269         select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
270         help
271           Select this option if your external toolchain uses the
272           uClibc (available from http://www.uclibc.org/)
273           or uClibc-ng (available from http://www.uclibc-ng.org)
274           C library.
275
276 config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
277         bool "glibc/eglibc"
278         depends on !BR2_STATIC_LIBS
279         select BR2_TOOLCHAIN_EXTERNAL_GLIBC
280         help
281           Select this option if your external toolchain uses the GNU C
282           library (available from https://www.gnu.org/software/libc/)
283           or its variant the eglibc library (http://www.eglibc.org/).
284
285           Note: eglibc is a variant of glibc that (among other things)
286           can be configured to exclude some of its features. Using a
287           toolchain with eglibc configured to exclude key features may
288           cause build failures to some packages.
289
290 comment "(e)glibc only available with shared lib support"
291         depends on BR2_STATIC_LIBS
292
293 config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL
294         bool "musl (experimental)"
295         select BR2_TOOLCHAIN_EXTERNAL_MUSL
296         help
297           Select this option if your external toolchain uses the
298           'musl' C library, available from http://www.musl-libc.org/.
299
300 endchoice
301
302 if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
303
304 config BR2_TOOLCHAIN_EXTERNAL_WCHAR
305         bool "Toolchain has WCHAR support?"
306         select BR2_USE_WCHAR
307         help
308           Select this option if your external toolchain supports
309           WCHAR. If you don't know, leave the default value, Buildroot
310           will tell you if it's correct or not.
311
312 config BR2_TOOLCHAIN_EXTERNAL_LOCALE
313         bool "Toolchain has locale support?"
314         select BR2_TOOLCHAIN_EXTERNAL_WCHAR
315         select BR2_ENABLE_LOCALE
316         help
317           Select this option if your external toolchain has locale
318           support. If you don't know, leave the default value,
319           Buildroot will tell you if it's correct or not.
320
321 config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
322         bool "Toolchain has threads support?"
323         default y
324         select BR2_TOOLCHAIN_HAS_THREADS
325         help
326           Select this option if your external toolchain has thread
327           support. If you don't know, leave the default value,
328           Buildroot will tell you if it's correct or not.
329
330 if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
331
332 config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
333         bool "Toolchain has threads debugging support?"
334         default y
335         select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
336         help
337           Select this option if your external toolchain has thread
338           debugging support. If you don't know, leave the default
339           value, Buildroot will tell you if it's correct or not.
340
341 config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL
342         bool "Toolchain has NPTL threads support?"
343         default y
344         select BR2_TOOLCHAIN_HAS_THREADS_NPTL
345         help
346           Select this option if your external toolchain uses the NPTL
347           (Native Posix Thread Library) implementation of Posix
348           threads. If you don't know, leave the default value,
349           Buildroot will tell you if it's correct or not.
350
351 endif # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
352
353 endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
354
355 config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
356         bool "Toolchain has SSP support?"
357         default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
358         default y if BR2_TOOLCHAIN_EXTERNAL_MUSL
359         select BR2_TOOLCHAIN_HAS_SSP
360         help
361           Selection this option if your external toolchain has Stack
362           Smashing Protection support enabled. If you don't know,
363           leave the default value, Buildroot will tell you if it's
364           correct or not.
365
366 config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
367         bool "Toolchain has RPC support?"
368         default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
369         depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL
370         select BR2_TOOLCHAIN_HAS_NATIVE_RPC
371         help
372           Select this option if your external toolchain supports
373           RPC. If you don't know, leave the default value, Buildroot
374           will tell you if it's correct or not.
375
376 config BR2_TOOLCHAIN_EXTERNAL_CXX
377         bool "Toolchain has C++ support?"
378         select BR2_INSTALL_LIBSTDCPP
379         help
380           Select this option if your external toolchain has C++
381           support. If you don't know, leave the default value,
382           Buildroot will tell you if it's correct or not.
383
384 config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
385         string "Extra toolchain libraries to be copied to target"
386         help
387           If your external toolchain provides extra libraries that
388           need to be copied to the target filesystem, enter them
389           here, separated by spaces. They will be copied to the
390           target's /lib directory.
391
392 endif