svn commit: r311191 - stable/11/share/mk
Bryan Drewery
bdrewery at FreeBSD.org
Tue Jan 3 23:04:53 UTC 2017
Author: bdrewery
Date: Tue Jan 3 23:04:51 2017
New Revision: 311191
URL: https://svnweb.freebsd.org/changeset/base/311191
Log:
MFC r308598:
DIRDEPS_BUILD: Don't hook 'beforebuild' into 'all' in MAKELEVEL 0.
Modified:
stable/11/share/mk/bsd.init.mk
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/share/mk/bsd.init.mk
==============================================================================
--- stable/11/share/mk/bsd.init.mk Tue Jan 3 23:02:08 2017 (r311190)
+++ stable/11/share/mk/bsd.init.mk Tue Jan 3 23:04:51 2017 (r311191)
@@ -15,10 +15,6 @@ __<bsd.init.mk>__:
.endif
.include <bsd.own.mk>
.MAIN: all
-beforebuild: .PHONY .NOTMAIN
-.if !defined(_SKIP_BUILD)
-all: beforebuild .WAIT
-.endif
.if ${.MAKE.LEVEL:U1} == 0 && ${BUILD_AT_LEVEL0:Uyes:tl} == "no" && !make(clean*)
# this tells lib.mk and prog.mk to not actually build anything
@@ -28,6 +24,11 @@ _SKIP_BUILD = not building at level 0
.warning ${_SKIP_BUILD}
.endif
+beforebuild: .PHONY .NOTMAIN
+.if !defined(_SKIP_BUILD)
+all: beforebuild .WAIT
+.endif
+
.if ${MK_META_MODE} == "yes"
.if !exists(/dev/filemon) && \
${UPDATE_DEPENDFILE:Uyes:tl} != "no" && !defined(NO_FILEMON) && \
More information about the svn-src-stable-11
mailing list