From 2f0d8aacec03ebfa955e9c1ba77259740f73452e Mon Sep 17 00:00:00 2001 From: Artur Artamonov Date: Wed, 21 Aug 2013 15:46:55 +0300 Subject: Added seperate toolchains for rlx4181/rlx5281 --- rules.mk | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3