svn commit: r289738 - head
Bryan Drewery
bdrewery at FreeBSD.org
Thu Oct 22 05:01:16 UTC 2015
Author: bdrewery
Date: Thu Oct 22 05:01:14 2015
New Revision: 289738
URL: https://svnweb.freebsd.org/changeset/base/289738
Log:
Parallelize build-tools.
MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division
Modified:
head/Makefile.inc1
Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1 Thu Oct 22 04:52:37 2015 (r289737)
+++ head/Makefile.inc1 Thu Oct 22 05:01:14 2015 (r289738)
@@ -1507,7 +1507,6 @@ _gcc_tools= gnu/usr.bin/cc/cc_tools
_rescue=rescue/rescue
.endif
-build-tools: .MAKE
.for _tool in \
bin/csh \
bin/sh \
@@ -1521,18 +1520,22 @@ build-tools: .MAKE
usr.bin/mkesdb_static \
usr.bin/mkcsmapper_static \
usr.bin/vi/catalog
+build-tools_${_tool}: .PHONY
${_+_}@${ECHODIR} "===> ${_tool} (obj,build-tools)"; \
cd ${.CURDIR}/${_tool} && \
${MAKE} DIRPRFX=${_tool}/ obj && \
${MAKE} DIRPRFX=${_tool}/ build-tools
+build-tools: build-tools_${_tool}
.endfor
.for _tool in \
${_gcc_tools}
+build-tools_${_tool}: .PHONY
${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all)"; \
cd ${.CURDIR}/${_tool} && \
${MAKE} DIRPRFX=${_tool}/ obj && \
${MAKE} DIRPRFX=${_tool}/ depend && \
${MAKE} DIRPRFX=${_tool}/ all
+build-tools: build-tools_${_tool}
.endfor
#
More information about the svn-src-all
mailing list