From: John Crispin Date: Mon, 6 May 2013 16:45:51 +0000 (+0000) Subject: rules.mk: add _dsp to ARCH_SUFFIX if the dsp ase is used X-Git-Tag: reboot~10493 X-Git-Url: https://git.librecmc.org/?p=oweals%2Fopenwrt.git;a=commitdiff_plain;h=c2c1f9ae73e80cab4be4cf23f92ba521bbb843f9 rules.mk: add _dsp to ARCH_SUFFIX if the dsp ase is used Signed-off-by: John Crispin SVN-Revision: 36566 --- diff --git a/rules.mk b/rules.mk index 2333f2aaf5..b9510057b6 100644 --- a/rules.mk +++ b/rules.mk @@ -63,6 +63,12 @@ endif ifneq ($(filter -mips%r2,$(TARGET_OPTIMIZATION)),) ARCH_SUFFIX:=_r2 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 TARGET_OPTIMIZATION+= -minterlink-mips16 -mips16 endif