Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Dec 2015 03:17:10 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r291733 - head/share/mk
Message-ID:  <201512040317.tB43HAk5047172@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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=	\



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