summaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-30 18:18:45 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-30 18:18:45 +0000
commit4666edad51e899cfec7b3ea37fc776065f1e1f5a (patch)
treeee88176f8db3cbd213cd48d515aeea11e096b287 /toolchain/kernel-headers
parenta3d55eef30b77d40e7a952c82693fc6910aea3da (diff)
another build fix for ppc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5682 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/kernel-headers')
-rw-r--r--toolchain/kernel-headers/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index 0ed455e15..4cd0199e7 100644
--- a/toolchain/kernel-headers/Makefile
+++ b/toolchain/kernel-headers/Makefile
@@ -25,11 +25,16 @@ define Build/Prepare
ln -sf $(PKG_BUILD_DIR) $(LINUX_HEADERS_DIR)
endef
+define Build/Configure/powerpc
+ $(CP) $(PKG_BUILD_DIR)/include/asm-powerpc/* $(PKG_BUILD_DIR)/include/asm-ppc/
+endef
+
define Build/Configure
yes '' | $(MAKE) -C $(PKG_BUILD_DIR) \
ARCH=$(LINUX_KARCH) \
CONFIG_SHELL=$(BASH) \
oldconfig include/linux/version.h include/asm
+ $(call Build/Configure/$(ARCH))
endef
define Build/Compile