Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 May 2016 23:20:24 +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: r300802 - head/share/mk
Message-ID:  <201605262320.u4QNKOJt070206@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Thu May 26 23:20:24 2016
New Revision: 300802
URL: https://svnweb.freebsd.org/changeset/base/300802

Log:
  WITH_META_MODE: Only expect a .meta file for the main target.
  
  Since multiple files are generated from one build command, only
  the first to run will actually generate a .meta file.  This fix
  prevents 'required but missing' rebuilds on each target.
  
  Sponsored by:	EMC / Isilon Storage Division

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

Modified: head/share/mk/bsd.crunchgen.mk
==============================================================================
--- head/share/mk/bsd.crunchgen.mk	Thu May 26 23:20:20 2016	(r300801)
+++ head/share/mk/bsd.crunchgen.mk	Thu May 26 23:20:24 2016	(r300802)
@@ -106,7 +106,8 @@ CRUNCHGEN?= crunchgen
 CRUNCHENV?= MK_TESTS=no \
 	    _RECURSING_CRUNCH=1
 .ORDER: ${OUTPUTS} objs
-${OUTPUTS}: ${CONF} .META
+${OUTPUTS:[1]}: .META
+${OUTPUTS}: ${CONF}
 	MAKE=${MAKE} ${CRUNCHENV} MAKEOBJDIRPREFIX=${CRUNCHOBJS} \
 	    ${CRUNCHGEN} -fq -m ${OUTMK} -c ${OUTC} ${CONF}
 



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