summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2015-10-12 11:08:06 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-10-12 21:33:56 +0200
commit99122d67808b91ae1011d440a78f46b0083564b0 (patch)
tree0ea81a8ab81000cdb62a457126d3de59ae7eeda4 /arch
parent3ec38bab0f886bcba05b8b6bbdae8e0f9b549478 (diff)
downloadbuildroot-99122d67808b91ae1011d440a78f46b0083564b0.tar.gz
buildroot-99122d67808b91ae1011d440a78f46b0083564b0.zip
arch: add support for mips32r6 and mips64r6 variants
- Add support for mips32r6 and mips64r6 target architecture variants - Disable unsupported gcc versions - Disable unsupported binutils versions - Disable unsupported external toolchains - Disable unsuported C libraries - Add a hook in order to make glibc compile for MIPS R6. [Thomas: slightly tweak the glibc hack explanation, to make it hopefully clearer.] Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/Config.in.mips12
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/Config.in.mips b/arch/Config.in.mips
index 297977a6c0..1e5d24de6e 100644
--- a/arch/Config.in.mips
+++ b/arch/Config.in.mips
@@ -6,8 +6,8 @@ choice
help
Specific CPU variant to use
- 64bit cabable: 64, 64r2
- non-64bit capable: 32, 32r2
+ 64bit cabable: 64, 64r2, 64r6
+ non-64bit capable: 32, 32r2, 32r6
config BR2_mips_32
bool "mips 32"
@@ -15,12 +15,18 @@ config BR2_mips_32
config BR2_mips_32r2
bool "mips 32r2"
depends on !BR2_ARCH_IS_64
+config BR2_mips_32r6
+ bool "mips 32r6"
+ depends on !BR2_ARCH_IS_64
config BR2_mips_64
bool "mips 64"
depends on BR2_ARCH_IS_64
config BR2_mips_64r2
bool "mips 64r2"
depends on BR2_ARCH_IS_64
+config BR2_mips_64r6
+ bool "mips 64r6"
+ depends on BR2_ARCH_IS_64
endchoice
@@ -67,8 +73,10 @@ config BR2_ARCH_HAS_ATOMICS
config BR2_GCC_TARGET_ARCH
default "mips32" if BR2_mips_32
default "mips32r2" if BR2_mips_32r2
+ default "mips32r6" if BR2_mips_32r6
default "mips64" if BR2_mips_64
default "mips64r2" if BR2_mips_64r2
+ default "mips64r6" if BR2_mips_64r6
config BR2_MIPS_OABI32
bool
OpenPOWER on IntegriCloud