mirror of
https://github.com/ACwifidude/openwrt.git
synced 2024-02-16 17:59:01 +08:00
rules.mk: add _dsp to ARCH_SUFFIX if the dsp ase is used
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36566
This commit is contained in:
6
rules.mk
6
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
|
||||
|
Reference in New Issue
Block a user