diff options
author | Vicente Olivert Riera <Vincent.Riera@imgtec.com> | 2016-09-30 10:36:56 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2016-10-15 13:22:17 +0200 |
commit | 55a37eaa911437352c8b5ad7b7bd9cc9160229ce (patch) | |
tree | b866480a7f892a5f83baeab4c2fc3d127780dbda /arch | |
parent | 067a46474ad2ebe3b335f6fecaa3816b833d0afb (diff) | |
download | buildroot-55a37eaa911437352c8b5ad7b7bd9cc9160229ce.tar.gz buildroot-55a37eaa911437352c8b5ad7b7bd9cc9160229ce.zip |
MIPS: add support for M5101 cores
-march=m5101 support starts from GCC-6, so disable previous versions
when selecting this core.
Note that M5101 implies a MIPS R5 CPU, and some GCC versions are already
disabled for R5, so we don't need to disable those ones for M5101 as
well.
Also disable external toolchains that don't support this core.
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/Config.in.mips | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/Config.in.mips b/arch/Config.in.mips index 9ed42a2580..3881909f76 100644 --- a/arch/Config.in.mips +++ b/arch/Config.in.mips @@ -51,6 +51,10 @@ config BR2_mips_m5100 bool "M5100" depends on !BR2_ARCH_IS_64 select BR2_MIPS_CPU_MIPS32R5 +config BR2_mips_m5101 + bool "M5101" + depends on !BR2_ARCH_IS_64 + select BR2_MIPS_CPU_MIPS32R5 config BR2_mips_64 bool "Generic MIPS64" depends on BR2_ARCH_IS_64 @@ -114,6 +118,7 @@ config BR2_GCC_TARGET_ARCH default "mips32r6" if BR2_mips_32r6 default "interaptiv" if BR2_mips_interaptiv default "m5100" if BR2_mips_m5100 + default "m5101" if BR2_mips_m5101 default "mips64" if BR2_mips_64 default "mips64r2" if BR2_mips_64r2 default "mips64r5" if BR2_mips_64r5 |