aboutsummaryrefslogtreecommitdiffstats
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
commit7ac9063555384dbaebf70b7ba8700480fae2d292 (patch)
tree3a452721f2860d5661be38e6b10357f55d44c596
parent13efa5b8b10aa4a8737cf4e2b1dcce61d5238c8c (diff)
downloadmaster-187ad058-7ac9063555384dbaebf70b7ba8700480fae2d292.tar.gz
master-187ad058-7ac9063555384dbaebf70b7ba8700480fae2d292.tar.bz2
master-187ad058-7ac9063555384dbaebf70b7ba8700480fae2d292.zip
kernel: remove .config.prev when running make kernel_*config to fix rebuild errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48545 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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) $$@