diff --git a/rules.mk b/rules.mk index 61c45a0090..6a283bd647 100644 --- a/rules.mk +++ b/rules.mk @@ -81,7 +81,7 @@ ifdef CONFIG_HAS_SPE_FPU endif ifdef CONFIG_MIPS64_ABI ifneq ($(CONFIG_MIPS64_ABI_O32),y) - ARCH_SUFFIX:=$(ARCH_SUFFIX)_$(subst ",,$(CONFIG_MIPS64_ABI)) + ARCH_SUFFIX:=$(ARCH_SUFFIX)_$(call qstrip,$(CONFIG_MIPS64_ABI)) endif endif