aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-12-14 04:57:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-12-14 04:57:55 +0000
commit3e95c0ea77f4a8f6b43e482d1a1f8d4daf49abec (patch)
treeccc222182cade1a22f0ff7db8a366ee040a5d6b0
parentccd6e6d87bc3d441c8c792153efa1deb9fdcffd8 (diff)
downloadupstream-3e95c0ea77f4a8f6b43e482d1a1f8d4daf49abec.tar.gz
upstream-3e95c0ea77f4a8f6b43e482d1a1f8d4daf49abec.tar.bz2
upstream-3e95c0ea77f4a8f6b43e482d1a1f8d4daf49abec.zip
fix kernel-headers compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5781 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 d2d9c3dd32..d823f196c2 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