summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Artamonov <freeartman@wechall.net>2013-08-21 15:46:55 +0300
committerArtur Artamonov <freeartman@wechall.net>2013-08-21 15:46:55 +0300
commit2f0d8aacec03ebfa955e9c1ba77259740f73452e (patch)
treeb020f6251ef1d9d44e59917904662cd4646e8259
parente0d69d7d48e3c3a0c4ec01d115bbff3463855246 (diff)
Added seperate toolchains for rlx4181/rlx5281
-rw-r--r--rules.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
index 61c45a009..3d9afd87f 100644
--- a/rules.mk
+++ b/rules.mk
@@ -69,6 +69,12 @@ endif
ifneq ($(filter -mdspr2,$(TARGET_OPTIMIZATION)),)
ARCH_SUFFIX:=$(ARCH_SUFFIX)_dspr2
endif
+ifneq ($(filter -march=rlx4181,$(TARGET_OPTIMIZATION)),)
+ ARCH_SUFFIX:=$(ARCH_SUFFIX)_rlx4181
+endif
+ifneq ($(filter -march=rlx5281,$(TARGET_OPTIMIZATION)),)
+ ARCH_SUFFIX:=$(ARCH_SUFFIX)_rlx5281
+endif
ifdef CONFIG_USE_MIPS16
TARGET_OPTIMIZATION+= -minterlink-mips16 -mips16
endif