diff options
author | Steve Ellcey <sellcey@mips.com> | 2014-02-12 16:44:57 -0800 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2014-02-15 11:09:53 +0100 |
commit | 79c0857a828abb3f7ec9582a01d706e0ce81f84c (patch) | |
tree | 18e77de12f0a42964be8fa35bdef982e54a72937 | |
parent | e5cde2eb0ed7df9416fdd6070af07c8448c72a30 (diff) |
buildsys: Add MIPS64R2 support
There is support for mips64(r1) already in uclibc, this change adds mips64r2
by adding the MIPS64R2 config variable and checking it in Rules.mak.
Signed-off-by: Steve Ellcey <sellcey@mips.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r-- | Rules.mak | 1 | ||||
-rw-r--r-- | extra/Configs/Config.mips | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -421,6 +421,7 @@ ifeq ($(TARGET_ARCH),mips) CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS32)+=-mips32 -mtune=mips32 CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS32R2)+=-march=mips32r2 -mtune=mips32r2 CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS64)+=-mips64 -mtune=mips32 + CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS64R2)+=-mips64r2 -mtune=mips64r2 ifeq ($(strip $(ARCH_BIG_ENDIAN)),y) CPU_LDFLAGS-$(CONFIG_MIPS_N64_ABI)+=-Wl,-melf64btsmip CPU_LDFLAGS-$(CONFIG_MIPS_O32_ABI)+=-Wl,-melf32btsmip diff --git a/extra/Configs/Config.mips b/extra/Configs/Config.mips index 1f8426556..4d30d31d2 100644 --- a/extra/Configs/Config.mips +++ b/extra/Configs/Config.mips @@ -72,4 +72,7 @@ config CONFIG_MIPS_ISA_MIPS32R2 config CONFIG_MIPS_ISA_MIPS64 bool "MIPS64" +config CONFIG_MIPS_ISA_MIPS64R2 + bool "MIPS64r2" + endchoice |