svn commit: r291733 - head/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Fri Dec 4 03:17:12 UTC 2015


Author: bdrewery
Date: Fri Dec  4 03:17:10 2015
New Revision: 291733
URL: https://svnweb.freebsd.org/changeset/base/291733

Log:
  Don't create a Makefile.depend in share/mk.
  
  This would cause it to be included everywhere in the build since it is
  the MAKESYSPATH.  This leads to including dirdeps.mk more times than
  desired.
  
  Sponsored by:	EMC / Isilon Storage Division

Deleted:
  head/share/mk/Makefile.depend
Modified:
  head/share/mk/Makefile

Modified: head/share/mk/Makefile
==============================================================================
--- head/share/mk/Makefile	Fri Dec  4 03:17:07 2015	(r291732)
+++ head/share/mk/Makefile	Fri Dec  4 03:17:10 2015	(r291733)
@@ -6,6 +6,11 @@
 # will read this Makefile since it auto includes it into -I.
 .if ${.CURDIR} == ${.PARSEDIR}
 
+# Avoid creating a Makefile.depend here as it would get included anywhere
+# in the build, similar to the problem above.  It would cause dirdeps.mk
+# to be included more times than desired.
+UPDATE_DEPENDFILE= no
+
 .include <src.opts.mk>
 
 FILES=	\


More information about the svn-src-head mailing list