svn commit: r325675 - head/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Fri Nov 10 19:53:15 UTC 2017


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


More information about the svn-src-head mailing list