From: Felix Fietkau Date: Sun, 26 Jun 2011 14:22:55 +0000 (+0000) Subject: uclibc: make powerpc e500 support independent of the target name, always use it if... X-Git-Tag: reboot~16491 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=92726d8f3243ac2e91823ba4c3c1e66cec083581;p=openwrt%2Fstaging%2Fxback.git uclibc: make powerpc e500 support independent of the target name, always use it if the spe_fpu feature flag is set SVN-Revision: 27289 --- diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile index 21a180c225..d74d1ecfc8 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) diff --git a/toolchain/uClibc/config-0.9.32/powerpc.e500 b/toolchain/uClibc/config-0.9.32/powerpc.e500 new file mode 100644 index 0000000000..a835c3d5e7 --- /dev/null +++ b/toolchain/uClibc/config-0.9.32/powerpc.e500 @@ -0,0 +1,6 @@ +ARCH_BIG_ENDIAN=y +# CONFIG_CLASSIC is not set +CONFIG_E500=y +TARGET_ARCH="powerpc" +TARGET_SUBARCH="classic" +TARGET_powerpc=y diff --git a/toolchain/uClibc/config-0.9.32/powerpc.mpc85xx b/toolchain/uClibc/config-0.9.32/powerpc.mpc85xx deleted file mode 100644 index a835c3d5e7..0000000000 --- a/toolchain/uClibc/config-0.9.32/powerpc.mpc85xx +++ /dev/null @@ -1,6 +0,0 @@ -ARCH_BIG_ENDIAN=y -# CONFIG_CLASSIC is not set -CONFIG_E500=y -TARGET_ARCH="powerpc" -TARGET_SUBARCH="classic" -TARGET_powerpc=y