svn commit: r325195 - head/share/mk
Bryan Drewery
bdrewery at FreeBSD.org
Tue Oct 31 02:12:14 UTC 2017
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
More information about the svn-src-head
mailing list