X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Ftoplevel.mk;h=e13acafe9c7463a82006a165dc3212eedf9d8eb9;hb=a11843b62ebe75b552fa428556e3820657df3239;hp=581083d912dee3a9acdb9c159bd0613bada91f11;hpb=9ae952cf8cf2f0d7df95434c8b16d13bc1b47fca;p=librecmc%2Flibrecmc.git diff --git a/include/toplevel.mk b/include/toplevel.mk index 581083d912..e13acafe9c 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -110,7 +110,7 @@ config-clean: FORCE defconfig: scripts/config/conf prepare-tmpinfo FORCE touch .config - @if [ -e $(HOME)/.openwrt/defconfig ]; then cp $(HOME)/.openwrt/defconfig .config; fi + @if [ ! -s .config -a -e $(HOME)/.openwrt/defconfig ]; then cp $(HOME)/.openwrt/defconfig .config; fi $< --defconfig=.config Config.in confdefault-y=allyes