summaryrefslogtreecommitdiff
path: root/toolchain/kernel-headers
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
commit317aa7af59cab4d24f4c5338f618c1fc0f4dddd6 (patch)
tree047d56c57521a3035fb93c675ecffa48ad6b92b8 /toolchain/kernel-headers
parentaefaa3896be98f0a7f93d4a8d86d205364547bf6 (diff)
downloadmtk-20170518-317aa7af59cab4d24f4c5338f618c1fc0f4dddd6.zip
mtk-20170518-317aa7af59cab4d24f4c5338f618c1fc0f4dddd6.tar.gz
mtk-20170518-317aa7af59cab4d24f4c5338f618c1fc0f4dddd6.tar.bz2
fix kernel-headers compile
SVN-Revision: 5781
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 d2d9c3d..d823f19 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