From 5f9638e1a65b68a70c4720052d6b797e1888b2ab Mon Sep 17 00:00:00 2001 From: sjg Date: Sun, 14 Jun 2015 03:27:22 +0000 Subject: Avoid anoying warning --- share/mk/bsd.init.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/mk/bsd.init.mk b/share/mk/bsd.init.mk index 3ad29cc..a7f90eb 100644 --- a/share/mk/bsd.init.mk +++ b/share/mk/bsd.init.mk @@ -20,7 +20,7 @@ ____: # 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 -- cgit v1.1