rules.mk: add _dsp to ARCH_SUFFIX if the dsp ase is used

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36566
owl
John Crispin 2013-05-06 16:45:51 +00:00
parent 849ff98669
commit c2c1f9ae73
1 changed files with 6 additions and 0 deletions

View File

@ -63,6 +63,12 @@ endif
ifneq ($(filter -mips%r2,$(TARGET_OPTIMIZATION)),) ifneq ($(filter -mips%r2,$(TARGET_OPTIMIZATION)),)
ARCH_SUFFIX:=_r2 ARCH_SUFFIX:=_r2
endif endif
ifneq ($(filter -mdsp,$(TARGET_OPTIMIZATION)),)
ARCH_SUFFIX:=$(ARCH_SUFFIX)_dsp
endif
ifneq ($(filter -mdspr2,$(TARGET_OPTIMIZATION)),)
ARCH_SUFFIX:=$(ARCH_SUFFIX)_dspr2
endif
ifdef CONFIG_USE_MIPS16 ifdef CONFIG_USE_MIPS16
TARGET_OPTIMIZATION+= -minterlink-mips16 -mips16 TARGET_OPTIMIZATION+= -minterlink-mips16 -mips16
endif endif