summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-05-08 15:52:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-05-08 15:52:55 +0000
commit02bc11903e64ff56f826e3c0c078c464fe0e7ffc (patch)
tree8e3ea2d226f7a01ec2c4cb24a29b5f08fe0df807 /include
parenta7b3ffc182edeb0d743113b4c4a8549aa604c8ac (diff)
downloadmtk-20170518-02bc11903e64ff56f826e3c0c078c464fe0e7ffc.zip
mtk-20170518-02bc11903e64ff56f826e3c0c078c464fe0e7ffc.tar.gz
mtk-20170518-02bc11903e64ff56f826e3c0c078c464fe0e7ffc.tar.bz2
fix kernel config on kernel_menuconfig abort
SVN-Revision: 11076
Diffstat (limited to 'include')
-rw-r--r--include/kernel-build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk
index 678cf18..9335e1a 100644
--- a/include/kernel-build.mk
+++ b/include/kernel-build.mk
@@ -82,6 +82,7 @@ define BuildKernel
oldconfig menuconfig: $(STAMP_PREPARED) FORCE
$(LINUX_CONFCMD) > $(LINUX_DIR)/.config
+ touch $(LINUX_CONFIG)
$(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKEOPTS) $$@
$(SCRIPT_DIR)/kconfig.pl '>' $(GENERIC_LINUX_CONFIG) $(LINUX_DIR)/.config > $(LINUX_CONFIG)
$(Kernel/Configure)