X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=include%2Ftoplevel.mk;h=e13acafe9c7463a82006a165dc3212eedf9d8eb9;hb=e9165793409ceccaeef6674c691b875a83fcb97f;hp=581083d912dee3a9acdb9c159bd0613bada91f11;hpb=9ae952cf8cf2f0d7df95434c8b16d13bc1b47fca;p=openwrt%2Fstaging%2Fyousong.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