aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/kernel-defaults.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
index 47befbaab0..bae8cd0ee3 100644
--- a/include/kernel-defaults.mk
+++ b/include/kernel-defaults.mk
@@ -111,6 +111,7 @@ define Kernel/SetNoInitramfs
endef
define Kernel/Configure/Default
+ rm -f $(LINUX_DIR)/localversion
$(LINUX_CONF_CMD) > $(LINUX_DIR)/.config.target
# copy CONFIG_KERNEL_* settings over to .config.target
awk '/^(#[[:space:]]+)?CONFIG_KERNEL/{sub("CONFIG_KERNEL_","CONFIG_");print}' $(TOPDIR)/.config >> $(LINUX_DIR)/.config.target