aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2016-07-06 10:34:44 +0200
committerJohn Crispin <john@phrozen.org>2016-07-06 10:40:12 +0200
commit1b13b3523198230825faf097b2abea0345e0cb35 (patch)
treed4f70db013c455e2151c7165a16a08fa14c13bff /include
parent8d95b665e885777c90521c2ccae5cbfb1412774a (diff)
downloadupstream-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.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk
index 3844f3cfc1..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 [ -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