summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-25 15:07:27 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-25 15:07:27 +0000
commit959cac182dbf6cd123f352de02e6bcd1bfff8cef (patch)
tree0a78aa6a5e26b7366ce202623b6d72de69b5cc9f
parentf81be63bdb47f69c630afa03e77293172045cf6e (diff)
- add CONFIG_MIPS_ISA_MIPS32R2 (Julian Brown)
-rw-r--r--Rules.mak1
-rw-r--r--extra/Configs/Config.mips3
2 files changed, 4 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 9512a7d96..b5f9fc223 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -285,6 +285,7 @@ ifeq ($(TARGET_ARCH),mips)
CPU_CFLAGS-$(CONFIG_MIPS_ISA_3)+=-mips3 -mtune=mips3
CPU_CFLAGS-$(CONFIG_MIPS_ISA_4)+=-mips4 -mtune=mips4
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
ifeq ($(strip $(ARCH_BIG_ENDIAN)),y)
CPU_LDFLAGS-$(CONFIG_MIPS_N64_ABI)+=-Wl,-melf64btsmip
diff --git a/extra/Configs/Config.mips b/extra/Configs/Config.mips
index 442209884..8350ea427 100644
--- a/extra/Configs/Config.mips
+++ b/extra/Configs/Config.mips
@@ -68,6 +68,9 @@ config CONFIG_MIPS_ISA_4
config CONFIG_MIPS_ISA_MIPS32
bool "MIPS32"
+config CONFIG_MIPS_ISA_MIPS32R2
+ bool "MIPS32r2"
+
config CONFIG_MIPS_ISA_MIPS64
bool "MIPS64"