summaryrefslogtreecommitdiff
path: root/toolchain/kernel-headers/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-11-30 18:18:45 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-11-30 18:18:45 +0000
commit040bb4800e52154d0b06e392cb13a48be3d4821d (patch)
treed104009e69df55b3d6e7bd63ce9a59d4df1784a8 /toolchain/kernel-headers/Makefile
parentf2d5f3adbd53d08f4c6ff87dfb1e6f7c0c04a883 (diff)
downloadmtk-20170518-040bb4800e52154d0b06e392cb13a48be3d4821d.zip
mtk-20170518-040bb4800e52154d0b06e392cb13a48be3d4821d.tar.gz
mtk-20170518-040bb4800e52154d0b06e392cb13a48be3d4821d.tar.bz2
another build fix for ppc
SVN-Revision: 5682
Diffstat (limited to 'toolchain/kernel-headers/Makefile')
-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 0ed455e..4cd0199 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