From: Gabor Juhos Date: Wed, 20 Feb 2013 06:49:02 +0000 (+0000) Subject: fix ARCH_SUFFIX for mips64{,el}r2 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2d9e89b24ce57e107fc67b7121e57770608d15ef;p=openwrt%2Fstaging%2Fjow.git fix ARCH_SUFFIX for mips64{,el}r2 Signed-off-by: Gabor Juhos SVN-Revision: 35688 --- 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