Avoid anoying warning

This commit is contained in:
Simon J. Gerraty 2015-06-14 03:27:22 +00:00
parent 8d769a021c
commit 71c66d9edc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284366

View File

@ -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