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-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
46 source "toolchain/toolchain-external/toolchain-external-custom/Config.in"
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"
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"
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.
72 config BR2_TOOLCHAIN_EXTERNAL_PATH
73 string "Toolchain path"
74 default "/path/to/toolchain/usr"
75 depends on BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
77 Path to where the external toolchain is installed.
79 config BR2_TOOLCHAIN_EXTERNAL_GLIBC
81 select BR2_TOOLCHAIN_USES_GLIBC
83 config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
85 select BR2_TOOLCHAIN_USES_UCLIBC
87 config BR2_TOOLCHAIN_EXTERNAL_MUSL
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
98 config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL
101 config BR2_TOOLCHAIN_EXTERNAL_PREFIX
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
109 source "toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in.options"
110 source "toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/Config.in.options"
113 source "toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options"
116 source "toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in.options"
117 source "toolchain/toolchain-external/toolchain-external-codesourcery-arm/Config.in.options"
120 source "toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in.options"
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"
128 source "toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in.options"
131 source "toolchain/toolchain-external/toolchain-external-codesourcery-sh/Config.in.options"
134 source "toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in.options"
135 source "toolchain/toolchain-external/toolchain-external-codesourcery-x86/Config.in.options"
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
144 Copy the gdbserver provided by the external toolchain to the
147 endif # BR2_TOOLCHAIN_EXTERNAL