summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2017-09-03 11:22:16 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-10-02 21:41:29 +0200
commit31a726122f6bf07b56341144465964fe342ec614 (patch)
treeeae52ada3ca0daee7d3cc239fac7606cb0ccbfff /arch
parentc224ac2e22d442a3d53ee3bed010d7260fb9a24d (diff)
downloadbuildroot-31a726122f6bf07b56341144465964fe342ec614.tar.gz
buildroot-31a726122f6bf07b56341144465964fe342ec614.zip
arch: add option to disable internal toolchain backend
Some architectures or specific cores do not have support in upstream gcc. Currently, they are individually listed as exclusions in the toolchain choice. This poses a maintainance burden, as the knowledge about what gcc version supports what architecture is split across many places: the toolchain choice, the gcc version choice, the external toolchains. As a first step, add a blind option that architectures or individual cores may select to indicate they lack support in our internal backend. Actual use of the option will come in followup patches. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/Config.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/Config.in b/arch/Config.in
index f385745e47..caf5a318ab 100644
--- a/arch/Config.in
+++ b/arch/Config.in
@@ -250,6 +250,16 @@ config BR2_xtensa
endchoice
+# For some architectures or specific cores, our internal toolchain
+# backend is not suitable (like, missing support in upstream gcc, or
+# no ChipCo fork exists...)
+config BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
+ bool
+
+config BR2_ARCH_HAS_TOOLCHAIN_BUILDROOT
+ bool
+ default y if !BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
+
# The following string values are defined by the individual
# Config.in.$ARCH files
config BR2_ARCH
OpenPOWER on IntegriCloud