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
 
 #
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to