From 3021d3139b7fa96b15649d18c930bd5ba89e5582 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 29 Jan 2016 00:38:49 +0000 Subject: [PATCH] kernel: remove .config.prev when running make kernel_*config to fix rebuild errors Signed-off-by: Felix Fietkau SVN-Revision: 48545 --- include/kernel-build.mk | 1 + 1 file changed, 1 insertion(+) 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) $$@ -- 2.30.2