core: move rule to create basic directories
[buildroot-gz.git] / toolchain / Config.in
blob0d9c39b0bbdbaa8fa8fac2916709d10c98262504
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_USE_WCHAR
13         select BR2_ENABLE_LOCALE
14         select BR2_TOOLCHAIN_HAS_THREADS
15         select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
16         select BR2_TOOLCHAIN_HAS_THREADS_NPTL
17         select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
18         select BR2_TOOLCHAIN_SUPPORTS_PIE
20 config BR2_TOOLCHAIN_USES_UCLIBC
21         bool
22         select BR2_TOOLCHAIN_SUPPORTS_PIE if !BR2_m68k && !BR2_microblaze && !BR2_STATIC_LIBS
24 config BR2_TOOLCHAIN_USES_MUSL
25         bool
26         select BR2_USE_WCHAR
27         select BR2_ENABLE_LOCALE
28         select BR2_TOOLCHAIN_HAS_THREADS
29         select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
30         select BR2_TOOLCHAIN_HAS_THREADS_NPTL
31         select BR2_TOOLCHAIN_SUPPORTS_PIE
33 choice
34         prompt "Toolchain type"
35         help
36           Select whether to use the toolchain provided by buildroot
37           or an external toolchain.
39           Some vendors provide toolchains in binary form, some in
40           source form.
42 config BR2_TOOLCHAIN_BUILDROOT
43         bool "Buildroot toolchain"
44         select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
46 config BR2_TOOLCHAIN_EXTERNAL
47         bool "External toolchain"
48         help
49           Select if you want to use an existing cross-compiling
50           toolchain. Buildroot can either download automatically a
51           toolchain, or use an already installed toolchain.
53 endchoice
55 source "toolchain/toolchain-buildroot/Config.in"
56 source "toolchain/toolchain-external/Config.in"
57 source "toolchain/toolchain-common.in"
59 endmenu