diff --git a/include/toplevel.mk b/include/toplevel.mk index 24e4ebf823..c90670bee6 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -126,7 +126,7 @@ menuconfig: scripts/config/mconf prepare-tmpinfo FORCE if [ \! -e .config -a -e $(HOME)/.openwrt/defconfig ]; then \ cp $(HOME)/.openwrt/defconfig .config; \ fi - $< Config.in + [ -L .config ] && export KCONFIG_OVERWRITECONFIG=1; $< Config.in prepare_kernel_conf: .config FORCE