Makefile: improve detection of make "-s" flag
[buildroot-gz.git] / toolchain / Config.in
blob54b5d173a772c77346981c16a7621de59c20ad24
1 menu "Toolchain"
3 # Invisible option that makes sure the toolchain package always gets
4 # built
5 config BR2_TOOLCHAIN
6         bool
7         default y
9 # Should be selected for glibc or eglibc
10 config BR2_TOOLCHAIN_USES_GLIBC
11         bool
12         select BR2_LARGEFILE
13         select BR2_INET_IPV6
14         select BR2_USE_WCHAR
15         select BR2_ENABLE_LOCALE
16         select BR2_TOOLCHAIN_HAS_THREADS
17         select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
18         select BR2_TOOLCHAIN_HAS_THREADS_NPTL
19         select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
20         select BR2_TOOLCHAIN_HAS_SSP
22 config BR2_TOOLCHAIN_USES_UCLIBC
23         bool
25 config BR2_TOOLCHAIN_USES_MUSL
26         bool
27         select BR2_LARGEFILE
28         select BR2_INET_IPV6
29         select BR2_USE_WCHAR
30         select BR2_ENABLE_LOCALE
31         select BR2_TOOLCHAIN_HAS_THREADS
32         select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
33         select BR2_TOOLCHAIN_HAS_THREADS_NPTL
35 choice
36         prompt "Toolchain type"
37         help
38           Select whether to use the toolchain provided by buildroot
39           or an external toolchain.
41           Some vendors provide toolchains in binary form, some in
42           source form.
44 config BR2_TOOLCHAIN_BUILDROOT
45         bool "Buildroot toolchain"
46         depends on !BR2_nios2
47         select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
49 config BR2_TOOLCHAIN_EXTERNAL
50         bool "External toolchain"
51         help
52           Select if you want to use an existing cross-compiling
53           toolchain. Buildroot can either download automatically a
54           toolchain, or use an already installed toolchain.
56 endchoice
58 source "toolchain/toolchain-buildroot/Config.in"
59 source "toolchain/toolchain-external/Config.in"
60 source "toolchain/toolchain-common.in"
62 endmenu