summaryrefslogtreecommitdiff
path: root/toolchain/kernel-headers/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-11-12 12:47:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-11-12 12:47:11 +0000
commite637a00d579bbb96fca5f8afcaa8ee59c6d73b25 (patch)
tree5ae67a5766b4e4929022a2c3cefe24382088051c /toolchain/kernel-headers/Makefile
parentd9c1b66c3a7cbba54f1383154c3df64ef5615b49 (diff)
downloadmtk-20170518-e637a00d579bbb96fca5f8afcaa8ee59c6d73b25.zip
mtk-20170518-e637a00d579bbb96fca5f8afcaa8ee59c6d73b25.tar.gz
mtk-20170518-e637a00d579bbb96fca5f8afcaa8ee59c6d73b25.tar.bz2
fix kernel-headers prepare (#949)
SVN-Revision: 5515
Diffstat (limited to 'toolchain/kernel-headers/Makefile')
-rw-r--r--toolchain/kernel-headers/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index 05ee49b..027d6a8 100644
--- a/toolchain/kernel-headers/Makefile
+++ b/toolchain/kernel-headers/Makefile
@@ -26,11 +26,10 @@ define Build/Prepare
endef
define Build/Configure
- -$(CP) ./files/config.$(LINUX_KARCH) $(PKG_BUILD_DIR)/.config
- $(MAKE) -C $(PKG_BUILD_DIR) \
+ yes '' | $(MAKE) -C $(PKG_BUILD_DIR) \
ARCH=$(LINUX_KARCH) \
CONFIG_SHELL=$(BASH) \
- defconfig include/linux/version.h
+ oldconfig include/linux/version.h
endef
define Build/Compile