[Buildroot] [PATCH 4/4] arch/mips: internal backend not suitable for some cores
Yann E. MORIN
yann.morin.1998 at free.fr
Sat Sep 2 19:38:52 UTC 2017
Some cores are not supported by upstream gcc.
Use the newly-introduced symbol to state so, rather than have the
exclusion in the toolchain choice.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Cc: Arnout Vandecappelle <arnout at mind.be>
---
arch/Config.in.mips | 2 ++
toolchain/Config.in | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/Config.in.mips b/arch/Config.in.mips
index 89e6effee9..0c4f63214e 100644
--- a/arch/Config.in.mips
+++ b/arch/Config.in.mips
@@ -61,6 +61,7 @@ config BR2_mips_m5150
config BR2_mips_m6250
bool "M6250"
depends on !BR2_ARCH_IS_64
+ select BR2_ARCH_NOT_UPSTREAM_GCC
select BR2_MIPS_CPU_MIPS32R6
config BR2_mips_p5600
bool "P5600"
@@ -103,6 +104,7 @@ config BR2_mips_i6400
config BR2_mips_p6600
bool "P6600"
depends on BR2_ARCH_IS_64
+ select BR2_ARCH_NOT_UPSTREAM_GCC
select BR2_MIPS_CPU_MIPS64R6
endchoice
diff --git a/toolchain/Config.in b/toolchain/Config.in
index 94cccea57e..06ea08fe66 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -44,8 +44,6 @@ config BR2_TOOLCHAIN_BUILDROOT
bool "Buildroot toolchain"
select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
depends on !BR2_ARCH_NO_INTERNAL_BACKEND
- depends on !BR2_mips_m6250
- depends on !BR2_mips_p6600
config BR2_TOOLCHAIN_EXTERNAL
bool "External toolchain"
--
2.11.0
More information about the buildroot
mailing list