aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-20 06:49:02 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-02-20 06:49:02 +0000
commit2d9e89b24ce57e107fc67b7121e57770608d15ef (patch)
treedfa23e9736f21627d2f74c66acf002dbf9c7a3f4
parent4341b11f3eacb77d5e04ce70a9d30a05918b7c3b (diff)
downloadupstream-2d9e89b24ce57e107fc67b7121e57770608d15ef.tar.gz
upstream-2d9e89b24ce57e107fc67b7121e57770608d15ef.tar.bz2
upstream-2d9e89b24ce57e107fc67b7121e57770608d15ef.zip
fix ARCH_SUFFIX for mips64{,el}r2
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35688
-rw-r--r--rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index 53d4468dfc..6455fde3f1 100644
--- a/rules.mk
+++ b/rules.mk
@@ -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