summaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-12-14 04:57:55 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-12-14 04:57:55 +0000
commitcf6ea8d9ce19c1e7f6cbb5e1a71c2f93bb3799c1 (patch)
treeccc222182cade1a22f0ff7db8a366ee040a5d6b0 /toolchain/kernel-headers
parentbcad4ad4a936f47d298a3e523b8ca34977152231 (diff)
fix kernel-headers compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5781 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/kernel-headers')
-rw-r--r--toolchain/kernel-headers/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index d2d9c3dd3..d823f196c 100644
--- a/toolchain/kernel-headers/Makefile
+++ b/toolchain/kernel-headers/Makefile
@@ -31,11 +31,13 @@ define Build/Configure/powerpc
mv $(PKG_BUILD_DIR)/include/asm-powerpc $(PKG_BUILD_DIR)/include/asm-ppc
endef
-define Build/Configure
- yes '' | $(MAKE) -C $(PKG_BUILD_DIR) \
+KMAKE := $(MAKE) -C $(PKG_BUILD_DIR) \
ARCH=$(LINUX_KARCH) \
- CONFIG_SHELL=$(BASH) \
- oldconfig include/linux/version.h include/asm
+ CONFIG_SHELL=$(BASH)
+
+define Build/Configure
+ yes '' | $(KMAKE) oldconfig
+ $(KMAKE) include/linux/version.h include/asm
$(call Build/Configure/$(ARCH))
endef