X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/ace7dddc4c86fd3896d3db793531b239725b6824..fd8f11bf779cb757b6033ad6ad3b4fd8f5c63397:/include/toplevel.mk diff --git a/include/toplevel.mk b/include/toplevel.mk index ab4448ae1..6d46fe1ed 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -75,7 +75,7 @@ oldconfig: scripts/config/conf prepare-tmpinfo FORCE $< -$(if $(CONFDEFAULT),$(CONFDEFAULT),o) Config.in menuconfig: scripts/config/mconf prepare-tmpinfo FORCE - if [ \! -f .config -a -e $(HOME)/.openwrt/defconfig ]; then \ + if [ \! -e .config -a -e $(HOME)/.openwrt/defconfig ]; then \ cp $(HOME)/.openwrt/defconfig .config; \ fi $< Config.in