aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/common.mk
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-04-05 12:36:31 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-04-05 12:36:31 +0000
commit463b80c3d158c34724d2789321c86c4ae7d4253a (patch)
treef66914aca372318d49c75ede19f073f3980f33b6 /toolchain/uClibc/common.mk
parent2f972664ecc32d24e057f9c2c7f39ae799612ede (diff)
downloadupstream-463b80c3d158c34724d2789321c86c4ae7d4253a.tar.gz
upstream-463b80c3d158c34724d2789321c86c4ae7d4253a.tar.bz2
upstream-463b80c3d158c34724d2789321c86c4ae7d4253a.zip
toolchain/uClibc: handle different MIPS64 ABIs
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36207
Diffstat (limited to 'toolchain/uClibc/common.mk')
-rw-r--r--toolchain/uClibc/common.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolchain/uClibc/common.mk b/toolchain/uClibc/common.mk
index e84c02a162..dec4a1c741 100644
--- a/toolchain/uClibc/common.mk
+++ b/toolchain/uClibc/common.mk
@@ -42,7 +42,8 @@ GEN_CONFIG=$(SCRIPT_DIR)/kconfig.pl -n \
$(if $(CONFIG_UCLIBC_ENABLE_DEBUG),$(if $(wildcard $(CONFIG_DIR)/debug),'+' $(CONFIG_DIR)/debug)) \
$(CONFIG_DIR)/$(ARCH)$(strip \
$(if $(wildcard $(CONFIG_DIR)/$(ARCH).$(BOARD)),.$(BOARD), \
- $(if $(CONFIG_HAS_SPE_FPU),$(if $(wildcard $(CONFIG_DIR)/$(ARCH).e500),.e500))))
+ $(if $(CONFIG_MIPS64_ABI),.$(subst ",,$(CONFIG_MIPS64_ABI)), \
+ $(if $(CONFIG_HAS_SPE_FPU),$(if $(wildcard $(CONFIG_DIR)/$(ARCH).e500),.e500)))))
TARGET_CFLAGS := $(filter-out -mips16,$(TARGET_CFLAGS))