a851ce4666fc85d1986f17a9437746021ffbd485
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / toolchain / Config.in
1 menu "Toolchain"
2
3 # Invisible option that makes sure the toolchain package always gets
4 # built
5 config BR2_TOOLCHAIN
6         bool
7         default y
8
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_HAS_SSP
19
20 config BR2_TOOLCHAIN_USES_UCLIBC
21         bool
22
23 config BR2_TOOLCHAIN_USES_MUSL
24         bool
25         select BR2_USE_WCHAR
26         select BR2_ENABLE_LOCALE
27         select BR2_TOOLCHAIN_HAS_THREADS
28         select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
29         select BR2_TOOLCHAIN_HAS_THREADS_NPTL
30
31 choice
32         prompt "Toolchain type"
33         help
34           Select whether to use the toolchain provided by buildroot
35           or an external toolchain.
36
37           Some vendors provide toolchains in binary form, some in
38           source form.
39
40 config BR2_TOOLCHAIN_BUILDROOT
41         bool "Buildroot toolchain"
42         depends on !BR2_bfin
43         select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
44
45 config BR2_TOOLCHAIN_EXTERNAL
46         bool "External toolchain"
47         help
48           Select if you want to use an existing cross-compiling
49           toolchain. Buildroot can either download automatically a
50           toolchain, or use an already installed toolchain.
51
52 endchoice
53
54 source "toolchain/toolchain-buildroot/Config.in"
55 source "toolchain/toolchain-external/Config.in"
56 source "toolchain/toolchain-common.in"
57
58 endmenu