svn commit: r248410 - projects/bmake/share/mk

Simon J. Gerraty sjg at FreeBSD.org
Sun Mar 17 03:09:09 UTC 2013


Author: sjg
Date: Sun Mar 17 03:09:08 2013
New Revision: 248410
URL: http://svnweb.freebsd.org/changeset/base/248410

Log:
  If building for "host" and we do not have Makefile.depend.host;
  do not update it.
  This allows us to avoid populating the tree with Makefile.depend.host
  that aren't absolutely necessary.

Modified:
  projects/bmake/share/mk/local.sys.mk

Modified: projects/bmake/share/mk/local.sys.mk
==============================================================================
--- projects/bmake/share/mk/local.sys.mk	Sun Mar 17 03:07:13 2013	(r248409)
+++ projects/bmake/share/mk/local.sys.mk	Sun Mar 17 03:09:08 2013	(r248410)
@@ -186,9 +186,9 @@ STAGED_INCLUDE_DIR= ${STAGE_OBJTOP}/incl
 
 .include "sys.dependfile.mk"
 
-.if ${MACHINE} == "host"
-# need a machine specific file
-.MAKE.DEPENDFILE= ${.MAKE.DEPENDFILE_PREFIX}.${MACHINE}
+.if ${.MAKE.LEVEL} > 0 && ${MACHINE} == "host" && ${.MAKE.DEPENDFILE:E} != "host"
+# we can use this but should not update it.
+UPDATE_DEPENDFILE= NO
 .endif
 
 .MAKE.META.BAILIWICK = ${SB} ${OBJROOT} ${STAGE_ROOT}


More information about the svn-src-projects mailing list