Author: nbd
Date: 2016-01-29 01:38:49 +0100 (Fri, 29 Jan 2016)
New Revision: 48545

Modified:
   trunk/include/kernel-build.mk
Log:
kernel: remove .config.prev when running make kernel_*config to fix rebuild 
errors

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/include/kernel-build.mk
===================================================================
--- trunk/include/kernel-build.mk       2016-01-28 22:58:54 UTC (rev 48544)
+++ trunk/include/kernel-build.mk       2016-01-29 00:38:49 UTC (rev 48545)
@@ -125,6 +125,7 @@
        $(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) $$@
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to