diff options
| author | John Crispin <john@phrozen.org> | 2016-07-06 10:34:44 +0200 |
|---|---|---|
| committer | John Crispin <john@phrozen.org> | 2016-07-06 10:40:12 +0200 |
| commit | 1b13b3523198230825faf097b2abea0345e0cb35 (patch) | |
| tree | d4f70db013c455e2151c7165a16a08fa14c13bff /include | |
| parent | 8d95b665e885777c90521c2ccae5cbfb1412774a (diff) | |
| download | upstream-1b13b3523198230825faf097b2abea0345e0cb35.tar.gz upstream-1b13b3523198230825faf097b2abea0345e0cb35.tar.bz2 upstream-1b13b3523198230825faf097b2abea0345e0cb35.zip | |
include/toplevel.mk: fix defconfig when ~/.openwrt/defconfig exists - take 2
commit 5b728074160b ("include/toplevel.mk: fix defconfig when
~/.openwrt/defconfig exists") was missing a !
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/toplevel.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk index 3844f3cfc14..e13acafe9c7 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 [ -s .config -a -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 |
