]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - toolchain/toolchain-external/toolchain-external-custom/Config.in.options
toolchain: add 4.16.x choice for headers
[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_16
112         bool "4.16.x"
113         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
114
115 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_15
116         bool "4.15.x"
117         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
118
119 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_14
120         bool "4.14.x"
121         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
122
123 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_13
124         bool "4.13.x"
125         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
126
127 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_12
128         bool "4.12.x"
129         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
130
131 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_11
132         bool "4.11.x"
133         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
134
135 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_10
136         bool "4.10.x"
137         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
138
139 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_9
140         bool "4.9.x"
141         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
142
143 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_8
144         bool "4.8.x"
145         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
146
147 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_7
148         bool "4.7.x"
149         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
150
151 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_6
152         bool "4.6.x"
153         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
154
155 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_5
156         bool "4.5.x"
157         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
158
159 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_4
160         bool "4.4.x"
161         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
162
163 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_3
164         bool "4.3.x"
165         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
166
167 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_2
168         bool "4.2.x"
169         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
170
171 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_1
172         bool "4.1.x"
173         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
174
175 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_0
176         bool "4.0.x"
177         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
178
179 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_19
180         bool "3.19.x"
181         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
182
183 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_18
184         bool "3.18.x"
185         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
186
187 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17
188         bool "3.17.x"
189         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
190
191 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_16
192         bool "3.16.x"
193         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
194
195 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15
196         bool "3.15.x"
197         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
198
199 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14
200         bool "3.14.x"
201         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
202
203 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13
204         bool "3.13.x"
205         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
206
207 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12
208         bool "3.12.x"
209         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
210
211 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11
212         bool "3.11.x"
213         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
214
215 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10
216         bool "3.10.x"
217         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
218
219 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9
220         bool "3.9.x"
221         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
222
223 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8
224         bool "3.8.x"
225         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
226
227 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7
228         bool "3.7.x"
229         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
230
231 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6
232         bool "3.6.x"
233         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
234
235 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5
236         bool "3.5.x"
237         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
238
239 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4
240         bool "3.4.x"
241         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
242
243 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3
244         bool "3.3.x"
245         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
246
247 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2
248         bool "3.2.x"
249         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
250
251 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1
252         bool "3.1.x"
253         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
254
255 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0
256         bool "3.0.x"
257         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
258
259 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
260         bool "2.6.x"
261
262 endchoice
263
264 choice
265         prompt "External toolchain C library"
266         default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
267
268 config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
269         bool "uClibc/uClibc-ng"
270         select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
271         # For the time being, we assume that all custom external
272         # toolchains have shadow password support.
273         select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
274         help
275           Select this option if your external toolchain uses the
276           uClibc (available from http://www.uclibc.org/)
277           or uClibc-ng (available from http://www.uclibc-ng.org)
278           C library.
279
280 config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
281         bool "glibc/eglibc"
282         depends on !BR2_STATIC_LIBS
283         select BR2_TOOLCHAIN_EXTERNAL_GLIBC
284         help
285           Select this option if your external toolchain uses the GNU C
286           library (available from https://www.gnu.org/software/libc/)
287           or its variant the eglibc library (http://www.eglibc.org/).
288
289           Note: eglibc is a variant of glibc that (among other things)
290           can be configured to exclude some of its features. Using a
291           toolchain with eglibc configured to exclude key features may
292           cause build failures to some packages.
293
294 comment "(e)glibc only available with shared lib support"
295         depends on BR2_STATIC_LIBS
296
297 config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL
298         bool "musl (experimental)"
299         select BR2_TOOLCHAIN_EXTERNAL_MUSL
300         help
301           Select this option if your external toolchain uses the
302           'musl' C library, available from http://www.musl-libc.org/.
303
304 endchoice
305
306 if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
307
308 config BR2_TOOLCHAIN_EXTERNAL_WCHAR
309         bool "Toolchain has WCHAR support?"
310         select BR2_USE_WCHAR
311         help
312           Select this option if your external toolchain supports
313           WCHAR. If you don't know, leave the default value, Buildroot
314           will tell you if it's correct or not.
315
316 config BR2_TOOLCHAIN_EXTERNAL_LOCALE
317         bool "Toolchain has locale support?"
318         select BR2_TOOLCHAIN_EXTERNAL_WCHAR
319         select BR2_ENABLE_LOCALE
320         help
321           Select this option if your external toolchain has locale
322           support. If you don't know, leave the default value,
323           Buildroot will tell you if it's correct or not.
324
325 config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
326         bool "Toolchain has threads support?"
327         default y
328         select BR2_TOOLCHAIN_HAS_THREADS
329         help
330           Select this option if your external toolchain has thread
331           support. If you don't know, leave the default value,
332           Buildroot will tell you if it's correct or not.
333
334 if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
335
336 config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
337         bool "Toolchain has threads debugging support?"
338         default y
339         select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
340         help
341           Select this option if your external toolchain has thread
342           debugging support. If you don't know, leave the default
343           value, Buildroot will tell you if it's correct or not.
344
345 config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL
346         bool "Toolchain has NPTL threads support?"
347         default y
348         select BR2_TOOLCHAIN_HAS_THREADS_NPTL
349         help
350           Select this option if your external toolchain uses the NPTL
351           (Native Posix Thread Library) implementation of Posix
352           threads. If you don't know, leave the default value,
353           Buildroot will tell you if it's correct or not.
354
355 endif # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
356
357 endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
358
359 config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
360         bool "Toolchain has SSP support?"
361         default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
362         default y if BR2_TOOLCHAIN_EXTERNAL_MUSL
363         select BR2_TOOLCHAIN_HAS_SSP
364         help
365           Selection this option if your external toolchain has Stack
366           Smashing Protection support enabled. If you don't know,
367           leave the default value, Buildroot will tell you if it's
368           correct or not.
369
370 config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
371         bool "Toolchain has RPC support?"
372         default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
373         depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL
374         select BR2_TOOLCHAIN_HAS_NATIVE_RPC
375         help
376           Select this option if your external toolchain supports
377           RPC. If you don't know, leave the default value, Buildroot
378           will tell you if it's correct or not.
379
380 config BR2_TOOLCHAIN_EXTERNAL_CXX
381         bool "Toolchain has C++ support?"
382         select BR2_INSTALL_LIBSTDCPP
383         help
384           Select this option if your external toolchain has C++
385           support. If you don't know, leave the default value,
386           Buildroot will tell you if it's correct or not.
387
388 config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
389         string "Extra toolchain libraries to be copied to target"
390         help
391           If your external toolchain provides extra libraries that
392           need to be copied to the target filesystem, enter them
393           here, separated by spaces. They will be copied to the
394           target's /lib directory.
395
396 endif