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