From 96ef65caba90462f6bc6e24f02ec8a1ed9e07adf Mon Sep 17 00:00:00 2001 From: blogic Date: Mon, 6 May 2013 16:45:51 +0000 Subject: rules.mk: add _dsp to ARCH_SUFFIX if the dsp ase is used Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36566 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- rules.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rules.mk b/rules.mk index 2333f2aaf..b9510057b 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 -- cgit v1.2.3