Author: kevans
Date: Wed Sep 30 00:47:57 2020
New Revision: 366275
URL: https://svnweb.freebsd.org/changeset/base/366275

Log:
  Makefile.inc1: sysent: allow subordinate sysent targets to run in parallel
  
  makesyscalls.lua (and indeed makesyscalls.sh) are both safe to be run in
  parallel, so let's do it.
  
  This is a trivial difference because runtime per-target is pretty small, but
  I like seeing it run in parallel when my muscle memory types `make -sj4`.
  
  Reviewed by:  brooks, emaste
  MFC after:    1 week
  Differential Revision:        https://reviews.freebsd.org/D26594

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1  Wed Sep 30 00:13:19 2020        (r366274)
+++ head/Makefile.inc1  Wed Sep 30 00:47:57 2020        (r366275)
@@ -1503,10 +1503,14 @@ _sysent_dirs+=  sys/amd64/linux         \
                sys/arm/linux           \
                sys/arm64/linux         \
                sys/i386/linux
+
 sysent: .PHONY
 .for _dir in ${_sysent_dirs}
+sysent-${_dir}: .PHONY
        @echo "${MAKE} -C ${.CURDIR}/${_dir} sysent"
        ${_+_}@env PATH=${_sysent_PATH} ${MAKE} -C ${.CURDIR}/${_dir} sysent
+
+sysent: sysent-${_dir}
 .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