aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2015-06-14 03:27:22 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2015-06-14 03:27:22 +0000
commit71c66d9edc017e9ca39b95975a44e1a93dae2ad0 (patch)
tree0e119a92a6474210813def2b261455ecd565c272
parent8d769a021cfb23e8ad284ae26c2c4ec7362c5cbd (diff)
downloadsrc-71c66d9edc017e9ca39b95975a44e1a93dae2ad0.tar.gz
src-71c66d9edc017e9ca39b95975a44e1a93dae2ad0.zip
Avoid anoying warning
Notes
Notes: svn path=/head/; revision=284366
-rw-r--r--share/mk/bsd.init.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.init.mk b/share/mk/bsd.init.mk
index 3ad29cc422fb..a7f90ebee11c 100644
--- a/share/mk/bsd.init.mk
+++ b/share/mk/bsd.init.mk
@@ -20,7 +20,7 @@ __<bsd.init.mk>__:
# this tells lib.mk and prog.mk to not actually build anything
_SKIP_BUILD = not building at level 0
.endif
-.if !empty(_SKIP_BUILD)
+.if ${.MAKE.LEVEL} > 0 && !empty(_SKIP_BUILD)
.warning ${_SKIP_BUILD}
.endif