1 if BR2_TOOLCHAIN_EXTERNAL
3 comment "Toolchain External Options"
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
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"
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"
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"
34 source "toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in"
37 source "toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in"
39 # Kept last, so it remains the non-default choice, unless there isn't
40 # any available toolchain profile for the currently selected
42 source "toolchain/toolchain-external/toolchain-external-custom/Config.in"
47 prompt "Toolchain origin"
48 # Keep compatibility with old defconfig files that are using
49 # custom toolchains, and which are therefore assuming that
50 # "preinstalled" in the default choice.
51 default BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
53 config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
54 bool "Toolchain to be downloaded and installed"
56 Select this option if you want Buildroot to download and
57 install the toolchain. If you have selected a custom
58 toolchain, specify the URL in BR2_TOOLCHAIN_EXTERNAL_URL.
60 config BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
61 bool "Pre-installed toolchain"
63 Select this option if you want to use a pre-installed
64 toolchain. Specify the path to this toolchain in
65 BR2_TOOLCHAIN_EXTERNAL_PATH.
69 config BR2_TOOLCHAIN_EXTERNAL_PATH
70 string "Toolchain path"
72 depends on BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
74 Path to where the external toolchain is installed. The
75 compiler itself is expected to be in the "bin" subdirectory
78 If empty, the compiler will be searched in $PATH.
80 config BR2_TOOLCHAIN_EXTERNAL_GLIBC
82 select BR2_TOOLCHAIN_USES_GLIBC
84 config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
86 select BR2_TOOLCHAIN_USES_UCLIBC
88 config BR2_TOOLCHAIN_EXTERNAL_MUSL
90 select BR2_TOOLCHAIN_USES_MUSL
91 # Compatibility headers: cdefs.h, queue.h
92 select BR2_PACKAGE_MUSL_COMPAT_HEADERS
94 # Make sure the virtual-package infra checks the provider
95 config BR2_PACKAGE_HAS_TOOLCHAIN_EXTERNAL
99 config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL
102 config BR2_TOOLCHAIN_EXTERNAL_PREFIX
105 # Kept toolchains sorted as in the choice above
106 # The toolchain Config.in.options must define
107 # BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL and BR2_TOOLCHAIN_EXTERNAL_PREFIX
110 source "toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in.options"
111 source "toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/Config.in.options"
114 source "toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options"
117 source "toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in.options"
118 source "toolchain/toolchain-external/toolchain-external-codesourcery-arm/Config.in.options"
121 source "toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in.options"
124 source "toolchain/toolchain-external/toolchain-external-codesourcery-mips/Config.in.options"
125 source "toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in.options"
126 source "toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in.options"
129 source "toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in.options"
132 source "toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in.options"
135 source "toolchain/toolchain-external/toolchain-external-custom/Config.in.options"
137 config BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
138 bool "Copy gdb server to the Target"
139 depends on BR2_TOOLCHAIN_EXTERNAL
141 Copy the gdbserver provided by the external toolchain to the
144 endif # BR2_TOOLCHAIN_EXTERNAL