python-jinja2: bump to version 2.9.5
[buildroot-gz.git] / toolchain / toolchain-external / Config.in
blob35db582498527c50106e2132314cd5fc3373a32d
1 if BR2_TOOLCHAIN_EXTERNAL
3 comment "Toolchain External Options"
5 choice
6         prompt "Toolchain"
8 comment "glibc toolchains only available with shared lib support"
9         depends on BR2_STATIC_LIBS
11 # Kept toolchains sorted by architecture in order to use some toolchain
12 # as default choice
14 # Aarch64 (use Linaro toolchain by default)
15 source "toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in"
16 source "toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/Config.in"
18 # ARC
19 source "toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in"
21 # ARM (use Linaro toolchain by default)
22 source "toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in"
23 source "toolchain/toolchain-external/toolchain-external-codesourcery-arm/Config.in"
25 # ARM big-endian
26 source "toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in"
28 # MIPS (use codesourcery toolchain by default)
29 source "toolchain/toolchain-external/toolchain-external-codesourcery-mips/Config.in"
30 source "toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in"
31 source "toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in"
33 # NIOSII
34 source "toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in"
36 # SH4a
37 source "toolchain/toolchain-external/toolchain-external-codesourcery-sh/Config.in"
39 # x86/x86_64 (use amd64 toolchain by default for AMD64)
40 source "toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in"
41 source "toolchain/toolchain-external/toolchain-external-codesourcery-x86/Config.in"
43 # Kept last, so it remains the non-default choice, unless there isn't
44 # any available toolchain profile for the currently selected
45 # architecture.
46 source "toolchain/toolchain-external/toolchain-external-custom/Config.in"
48 endchoice
50 choice
51         prompt "Toolchain origin"
52         # Keep compatibility with old defconfig files that are using
53         # custom toolchains, and which are therefore assuming that
54         # "preinstalled" in the default choice.
55         default BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
57 config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
58         bool "Toolchain to be downloaded and installed"
59         help
60           Select this option if you want Buildroot to download and install the
61           toolchain. If you have selected a custom toolchain, specify the URL
62           in BR2_TOOLCHAIN_EXTERNAL_URL.
64 config BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
65         bool "Pre-installed toolchain"
66         help
67           Select this option if you want to use a pre-installed toolchain.
68           Specify the path to this toolchain in BR2_TOOLCHAIN_EXTERNAL_PATH.
70 endchoice
72 config BR2_TOOLCHAIN_EXTERNAL_PATH
73         string "Toolchain path"
74         default "/path/to/toolchain/usr"
75         depends on BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
76         help
77           Path to where the external toolchain is installed.
79 config BR2_TOOLCHAIN_EXTERNAL_GLIBC
80         bool
81         select BR2_TOOLCHAIN_USES_GLIBC
83 config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
84         bool
85         select BR2_TOOLCHAIN_USES_UCLIBC
87 config BR2_TOOLCHAIN_EXTERNAL_MUSL
88         bool
89         select BR2_TOOLCHAIN_USES_MUSL
90         # Compatibility headers: cdefs.h, queue.h
91         select BR2_PACKAGE_MUSL_COMPAT_HEADERS
93 # Make sure the virtual-package infra checks the provider
94 config BR2_PACKAGE_HAS_TOOLCHAIN_EXTERNAL
95         bool
96         default y
98 config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL
99         string
101 config BR2_TOOLCHAIN_EXTERNAL_PREFIX
102         string
104 # Kept toolchains sorted as in the choice above
105 # The toolchain Config.in.options must define
106 # BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL and BR2_TOOLCHAIN_EXTERNAL_PREFIX
108 # Aarch64
109 source "toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in.options"
110 source "toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/Config.in.options"
112 # ARC
113 source "toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options"
115 # ARM
116 source "toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in.options"
117 source "toolchain/toolchain-external/toolchain-external-codesourcery-arm/Config.in.options"
119 # ARM big-endian
120 source "toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in.options"
122 # MIPS
123 source "toolchain/toolchain-external/toolchain-external-codesourcery-mips/Config.in.options"
124 source "toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in.options"
125 source "toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in.options"
127 # NIOSII
128 source "toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in.options"
130 # SH4a
131 source "toolchain/toolchain-external/toolchain-external-codesourcery-sh/Config.in.options"
133 # x86/x86_64
134 source "toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in.options"
135 source "toolchain/toolchain-external/toolchain-external-codesourcery-x86/Config.in.options"
137 # Custom toolchains
138 source "toolchain/toolchain-external/toolchain-external-custom/Config.in.options"
140 config BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
141         bool "Copy gdb server to the Target"
142         depends on BR2_TOOLCHAIN_EXTERNAL
143         help
144           Copy the gdbserver provided by the external toolchain to the
145           target.
147 endif # BR2_TOOLCHAIN_EXTERNAL