aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-29 00:38:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-29 00:38:49 +0000
commit3021d3139b7fa96b15649d18c930bd5ba89e5582 (patch)
tree09810e75082556778dabce1407367918f7fd74e5 /include
parent5d624d0b4792e47fe037d835d350417d47a56e36 (diff)
downloadupstream-3021d3139b7fa96b15649d18c930bd5ba89e5582.tar.gz
upstream-3021d3139b7fa96b15649d18c930bd5ba89e5582.tar.bz2
upstream-3021d3139b7fa96b15649d18c930bd5ba89e5582.zip
kernel: remove .config.prev when running make kernel_*config to fix rebuild errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48545
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 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) $$@