summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-10-23 06:23:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-10-23 06:23:12 +0000
commitd8e032edef2fb9d1f7aa3b1f96a444f0a1db9696 (patch)
treed77ef6e1abd4233600ab73c1fffbb55487c4bc19 /target
parentc1f0b1fa3fca1f08dd0f24e9f24f4f9dac78a041 (diff)
downloadmtk-20170518-d8e032edef2fb9d1f7aa3b1f96a444f0a1db9696.zip
mtk-20170518-d8e032edef2fb9d1f7aa3b1f96a444f0a1db9696.tar.gz
mtk-20170518-d8e032edef2fb9d1f7aa3b1f96a444f0a1db9696.tar.bz2
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 <jk@ozlabs.org> SVN-Revision: 9405
Diffstat (limited to 'target')
-rw-r--r--target/linux/amcc/Makefile1
-rw-r--r--target/linux/magicbox/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/amcc/Makefile b/target/linux/amcc/Makefile
index d582d81..5e52d38 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 b130095..15f035a 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