From: Felix Fietkau Date: Fri, 29 Jan 2016 00:38:49 +0000 (+0000) Subject: kernel: remove .config.prev when running make kernel_*config to fix rebuild errors X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3021d3139b7fa96b15649d18c930bd5ba89e5582;p=openwrt%2Fstaging%2Fstintel.git kernel: remove .config.prev when running make kernel_*config to fix rebuild errors Signed-off-by: Felix Fietkau SVN-Revision: 48545 --- diff --git a/include/kernel-build.mk b/include/kernel-build.mk index 9abfd542e8..8bfd9c89e3 100644 --- a/include/kernel-build.mk +++ b/include/kernel-build.mk @@ -125,6 +125,7 @@ define BuildKernel $(MAKE) -C image compile TARGET_BUILD= oldconfig menuconfig nconfig: $(STAMP_PREPARED) $(STAMP_CHECKED) FORCE + rm -f $(LINUX_DIR)/.config.prev rm -f $(STAMP_CONFIGURED) $(LINUX_RECONF_CMD) > $(LINUX_DIR)/.config $(_SINGLE)$(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKEOPTS) $$@