summaryrefslogtreecommitdiffstats
path: root/package/gcc
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2016-09-30 10:36:51 +0100
committerPeter Korsgaard <peter@korsgaard.com>2016-10-15 13:22:17 +0200
commit1feb1b77564d2c043e70f37e2c05edda72afc8a5 (patch)
tree463c55851775195398a416d8bb70e25b4ad1a278 /package/gcc
parente14ce3cf295355a0af8b5b247291256a94f10c4c (diff)
downloadbuildroot-1feb1b77564d2c043e70f37e2c05edda72afc8a5.tar.gz
buildroot-1feb1b77564d2c043e70f37e2c05edda72afc8a5.zip
MIPS: add mips32r5 generic architecture variant
-march=mips32r5 support started from GCC-5, so disable previous versions when the CPU is R5. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gcc')
-rw-r--r--package/gcc/Config.in.host6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index 3c4d1cd280..3af9a24b68 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -28,6 +28,8 @@ choice
depends on !BR2_sparc_leon3
# Broken or unsupported x86 cores
depends on !BR2_x86_jaguar && !BR2_x86_steamroller
+ # Unsupported for MIPS R5
+ depends on !BR2_MIPS_CPU_MIPS32R5
# Unsupported for MIPS R6
depends on !BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6
# musl ppc64 unsupported
@@ -46,6 +48,8 @@ choice
depends on !BR2_powerpc_power8
# gcc-4.8.x + binutils-2.25 is broken for MIPS
depends on !((BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) && BR2_BINUTILS_VERSION_2_25_X)
+ # Unsupported for MIPS R5
+ depends on !BR2_MIPS_CPU_MIPS32R5
# Unsupported for MIPS R6
depends on !BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6
# musl ppc64 unsupported
@@ -70,6 +74,8 @@ choice
depends on !BR2_arc && !BR2_bfin
# Broken or unsupported ARM cores
depends on !BR2_cortex_a17
+ # Unsupported for MIPS R5
+ depends on !BR2_MIPS_CPU_MIPS32R5
# Unsupported for MIPS R6
depends on !BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6
# musl ppc64 unsupported
OpenPOWER on IntegriCloud