From: Mike Baker Date: Sat, 7 Apr 2007 11:53:18 +0000 (+0000) Subject: same as [6881] X-Git-Tag: reboot~29489 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1ad09590cc241424747be81de3e0a9ae5cbb074b;p=openwrt%2Fopenwrt.git same as [6881] SVN-Revision: 6882 --- diff --git a/Makefile b/Makefile index d7e4585595..cab2486fb1 100644 --- a/Makefile +++ b/Makefile @@ -62,10 +62,10 @@ tmp/.config-%.in: tmp/.%info .config: ./scripts/config/conf tmp/.config-target.in tmp/.config-package.in - @[ -f .config ] || { \ - [ -e $(HOME)/.openwrt/defconfig ] && cp $(HOME)/.openwrt/defconfig .config; \ + @if [ \! -f .config -a -e $(HOME)/.openwrt/defconfig ]; then \ + cp $(HOME)/.openwrt/defconfig .config; \ $(NO_TRACE_MAKE) menuconfig; \ - } + fi @$< -D .config Config.in &> /dev/null scripts/config/mconf: