Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jun 2015 03:27:22 +0000 (UTC)
From:      "Simon J. Gerraty" <sjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r284366 - head/share/mk
Message-ID:  <201506140327.t5E3RMvP094668@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sjg
Date: Sun Jun 14 03:27:22 2015
New Revision: 284366
URL: https://svnweb.freebsd.org/changeset/base/284366

Log:
  Avoid anoying warning

Modified:
  head/share/mk/bsd.init.mk

Modified: head/share/mk/bsd.init.mk
==============================================================================
--- head/share/mk/bsd.init.mk	Sun Jun 14 03:14:45 2015	(r284365)
+++ head/share/mk/bsd.init.mk	Sun Jun 14 03:27:22 2015	(r284366)
@@ -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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506140327.t5E3RMvP094668>