diff options
author | Mike Baker <mbm@openwrt.org> | 2007-04-07 11:53:18 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2007-04-07 11:53:18 +0000 |
commit | 1ad09590cc241424747be81de3e0a9ae5cbb074b (patch) | |
tree | 3b410dcdf7087ac387e5ff52ee736058afdfa7ad | |
parent | 5305aba54930edb219ac2111811134a16e28978e (diff) | |
download | mtk-20170518-1ad09590cc241424747be81de3e0a9ae5cbb074b.zip mtk-20170518-1ad09590cc241424747be81de3e0a9ae5cbb074b.tar.gz mtk-20170518-1ad09590cc241424747be81de3e0a9ae5cbb074b.tar.bz2 |
same as [6881]
SVN-Revision: 6882
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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: |