Avoid anoying warning

This commit is contained in:
Simon J. Gerraty 2015-06-14 03:27:22 +00:00
parent 8d769a021c
commit 71c66d9edc

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