fix ARCH_SUFFIX for mips64{,el}r2

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35688
This commit is contained in:
Gabor Juhos 2013-02-20 06:49:02 +00:00
parent 4341b11f3e
commit 2d9e89b24c

View File

@ -60,7 +60,7 @@ ifneq ($(filter -march=armv%,$(TARGET_OPTIMIZATION)),)
ARCH_SUFFIX:=_$(patsubst -march=arm%,%,$(filter -march=armv%,$(TARGET_OPTIMIZATION)))
GCC_ARCH:=$(patsubst -march=%,%,$(filter -march=armv%,$(TARGET_OPTIMIZATION)))
endif
ifneq ($(findstring -mips32r2,$(TARGET_OPTIMIZATION)),)
ifneq ($(filter -mips%r2,$(TARGET_OPTIMIZATION)),)
ARCH_SUFFIX:=_r2
endif
ifdef CONFIG_HAS_SPE_FPU