Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2017 19:53:14 +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: r325675 - head/share/mk
Message-ID:  <201711101953.vAAJrEK3071473@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Fri Nov 10 19:53:14 2017
New Revision: 325675
URL: https://svnweb.freebsd.org/changeset/base/325675

Log:
  AUTO_OBJ: No need to tree-walk with 'make obj' here.
  
  Sponsored by:	Dell EMC Isilon

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

Modified: head/share/mk/bsd.crunchgen.mk
==============================================================================
--- head/share/mk/bsd.crunchgen.mk	Fri Nov 10 19:53:11 2017	(r325674)
+++ head/share/mk/bsd.crunchgen.mk	Fri Nov 10 19:53:14 2017	(r325675)
@@ -154,7 +154,10 @@ build-tools: build-tools-${_tool}
 # Yes, this does seem to partly duplicate bsd.subdir.mk, but I can't
 # get that to cooperate with bsd.prog.mk.  Besides, many of the standard
 # targets should NOT be propagated into the components.
-.for __target in clean cleandepend cleandir obj objlink
+.if ${MK_AUTO_OBJ} == "no"
+_obj=	obj
+.endif
+.for __target in clean cleandepend cleandir ${_obj} objlink
 .for D in ${CRUNCH_SRCDIRS}
 .for P in ${CRUNCH_PROGS_${D}}
 ${__target}_crunchdir_${P}: .PHONY .MAKE



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