From 42ef307c66cda7b7e0cb34f931633e6aee15ac5b Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 23 Oct 2007 06:23:12 +0000 Subject: don't replace powerpc arch with ppc 'powerpc' is a valid arch for the LINUX_KARCH variable, but the build system unconditionally replaces LIUNUX_KARCH=powerpc with LINUX_KARCH=ppc. This change only does the replacement if LINUX_KARCH isn't set. This allows us to use the powerpc architecture. Signed-off-by: Jeremy Kerr git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9405 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/amcc/Makefile | 1 + target/linux/magicbox/Makefile | 1 + 2 files changed, 2 insertions(+) (limited to 'target/linux') diff --git a/target/linux/amcc/Makefile b/target/linux/amcc/Makefile index d582d81915..5e52d38c77 100644 --- a/target/linux/amcc/Makefile +++ b/target/linux/amcc/Makefile @@ -12,6 +12,7 @@ BOARDNAME:=AMCC Taishan FEATURES:=jffs2 LINUX_VERSION:=2.6.21.5 +LINUX_KARCH:=ppc include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/magicbox/Makefile b/target/linux/magicbox/Makefile index b130095624..15f035a82e 100644 --- a/target/linux/magicbox/Makefile +++ b/target/linux/magicbox/Makefile @@ -12,6 +12,7 @@ BOARDNAME:=Magicbox FEATURES:=squashfs jffs2 LINUX_VERSION:=2.6.22.4 +LINUX_KARCH:=ppc include $(INCLUDE_DIR)/target.mk -- cgit v1.2.3