summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-08-13 11:59:23 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-13 11:59:23 -0700
commit0ea9fd9cea14dd70b809238e07d85f383f1fa747 (patch)
tree5e98a6ddb2f3223bf0f423f3205cb415ca1ad9bb
parent1ff628462a7b6f122c350efb5e5b84052b4b6486 (diff)
parentdc315cedb10875c8e7ccf8d9af45131993003244 (diff)
downloadsrec-0ea9fd9cea14dd70b809238e07d85f383f1fa747.tar.gz
* commit 'dc315cedb10875c8e7ccf8d9af45131993003244': [MIPS] Add MIPS support
-rw-r--r--make/asr/Makefile.config11
1 files changed, 7 insertions, 4 deletions
diff --git a/make/asr/Makefile.config b/make/asr/Makefile.config
index 368fa5c..4f951aa 100644
--- a/make/asr/Makefile.config
+++ b/make/asr/Makefile.config
@@ -14,18 +14,21 @@ ASR_HOST_CPU = I86
ifeq ($(TARGET_ARCH),arm)
ASR_CPU = ARM
ASR_TARGET_CPU = ARM
-else
+endif
ifeq ($(TARGET_ARCH),x86)
ASR_CPU = I86
ASR_TARGET_CPU = I86
-else
+endif
ifeq ($(TARGET_ARCH),sh)
ASR_CPU = SH4
ASR_TARGET_CPU = SH4
-else
- $(error Unsupported TARGET_ARCH for ASR)
endif
+ifeq ($(TARGET_ARCH),mips)
+ ASR_CPU = MIPS
+ ASR_TARGET_CPU = MIPS
endif
+ifeq ($(ASR_TARGET_CPU),)
+ $(error Unsupported TARGET_ARCH for ASR)
endif
ASR_COMPILER = GNU