diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-05-06 16:45:51 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-05-06 16:45:51 +0000 |
commit | 96ef65caba90462f6bc6e24f02ec8a1ed9e07adf (patch) | |
tree | a3974aba7c24d64fc6236e966f39a9fd9ad65c4a | |
parent | f29a8bcf0e4c78ad315d14917bad7bf9f5189211 (diff) |
rules.mk: add _dsp to ARCH_SUFFIX if the dsp ase is used
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36566 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | rules.mk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |