summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-06-26 14:22:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-06-26 14:22:55 +0000
commit92726d8f3243ac2e91823ba4c3c1e66cec083581 (patch)
treec16f3b6669eba30dc1feca90e00a99eba1bf226b /toolchain/uClibc/Makefile
parentce50bb163606bbd62d1724c341a0a0cfcda5f44e (diff)
downloadmtk-20170518-92726d8f3243ac2e91823ba4c3c1e66cec083581.zip
mtk-20170518-92726d8f3243ac2e91823ba4c3c1e66cec083581.tar.gz
mtk-20170518-92726d8f3243ac2e91823ba4c3c1e66cec083581.tar.bz2
uclibc: make powerpc e500 support independent of the target name, always use it if the spe_fpu feature flag is set
SVN-Revision: 27289
Diffstat (limited to 'toolchain/uClibc/Makefile')
-rw-r--r--toolchain/uClibc/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile
index 21a180c..d74d1ec 100644
--- a/toolchain/uClibc/Makefile
+++ b/toolchain/uClibc/Makefile
@@ -59,7 +59,9 @@ endef
GEN_CONFIG=$(SCRIPT_DIR)/kconfig.pl -n \
$(if $(wildcard $(CONFIG_DIR)/common),'+' $(CONFIG_DIR)/common) \
$(if $(CONFIG_UCLIBC_ENABLE_DEBUG),$(if $(wildcard $(CONFIG_DIR)/debug),'+' $(CONFIG_DIR)/debug)) \
- $(CONFIG_DIR)/$(ARCH)$(if $(wildcard $(CONFIG_DIR)/$(ARCH).$(BOARD)),.$(BOARD))
+ $(CONFIG_DIR)/$(ARCH)$(strip \
+ $(if $(wildcard $(CONFIG_DIR)/$(ARCH).$(BOARD)),.$(BOARD), \
+ $(if $(CONFIG_HAS_SPE_FPU),$(if $(wildcard $(CONFIG_DIR)/$(ARCH).e500),.e500))))
define Host/Prepare
$(call Host/Prepare/Default)