Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2017 02:12:13 +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: r325195 - head/share/mk
Message-ID:  <201710310212.v9V2CDun000665@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Tue Oct 31 02:12:13 2017
New Revision: 325195
URL: https://svnweb.freebsd.org/changeset/base/325195

Log:
  AUTO_OBJ can work for crunchgen build-tools.
  
  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	Tue Oct 31 02:12:09 2017	(r325194)
+++ head/share/mk/bsd.crunchgen.mk	Tue Oct 31 02:12:13 2017	(r325195)
@@ -140,10 +140,10 @@ objs: ${OUTMK} .META
 .for _tool in ${CRUNCH_BUILDTOOLS}
 build-tools-${_tool}:
 	${_+_}cd ${.CURDIR}/../../${_tool}; \
-	    ${CRUNCHENV} MAKEOBJDIRPREFIX=${CRUNCHOBJS} ${MAKE} \
-	        ${CRUNCHARGS} obj; \
-	    ${CRUNCHENV} MAKEOBJDIRPREFIX=${CRUNCHOBJS} ${MAKE} ${CRUNCHARGS} \
-	        build-tools
+	    if [ "${MK_AUTO_OBJ}" = "no" ]; then \
+	        ${CRUNCHENV} MAKEOBJDIRPREFIX=${CRUNCHOBJS} ${MAKE} obj; \
+	    fi; \
+	    ${CRUNCHENV} MAKEOBJDIRPREFIX=${CRUNCHOBJS} ${MAKE} build-tools
 build-tools: build-tools-${_tool}
 .endfor
 



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