diff options
author | Chris Dearman <chris@mips.com> | 2011-04-18 20:28:03 -0700 |
---|---|---|
committer | Raghu Gandham <raghu@mips.com> | 2012-08-10 17:12:04 -0700 |
commit | 4150c3d5050b6581292fd7196a2f5f86ca57bf1e (patch) | |
tree | 5bf2d47d3f9f110942007e6b877d811021f0efce | |
parent | b02a57d1448283477d13b248a6beb2754b9430fd (diff) | |
download | srec-4150c3d5050b6581292fd7196a2f5f86ca57bf1e.tar.gz |
[MIPS] Add MIPS support
Signed-off-by: Chris Dearman <chris@mips.com>
-rw-r--r-- | make/asr/Makefile.config | 11 |
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 |