Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2015 19:23:35 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r284457 - head
Message-ID:  <201506161923.t5GJNZwA050109@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Tue Jun 16 19:23:34 2015
New Revision: 284457
URL: https://svnweb.freebsd.org/changeset/base/284457

Log:
  Add a new target universe_${target}_done to print the completion message.
  Without this we could print this message in the wrong place when building
  with MAKE_JUST_WORLDS is set.
  
  Obtained from:	ABT Systems Ltd

Modified:
  head/Makefile

Modified: head/Makefile
==============================================================================
--- head/Makefile	Tue Jun 16 18:43:08 2015	(r284456)
+++ head/Makefile	Tue Jun 16 19:23:34 2015	(r284457)
@@ -444,6 +444,7 @@ universe_${target}_worlds:
 .for target_arch in ${TARGET_ARCHES_${target}}
 universe_${target}: universe_${target}_${target_arch}
 universe_${target}_worlds: universe_${target}_${target_arch}
+universe_${target}_done: universe_${target}_worlds
 universe_${target}_${target_arch}: universe_${target}_prologue .MAKE
 	@echo ">> ${target}.${target_arch} ${UNIVERSE_TARGET} started on `LC_ALL=C date`"
 	@(cd ${.CURDIR} && env __MAKE_CONF=/dev/null \
@@ -460,6 +461,7 @@ universe_${target}_${target_arch}: unive
 
 .if !defined(MAKE_JUST_WORLDS)
 universe_${target}: universe_${target}_kernels
+universe_${target}_done: universe_${target}_kernels
 universe_${target}_kernels: universe_${target}_worlds
 universe_${target}_kernels: universe_${target}_prologue .MAKE
 .if exists(${KERNSRCDIR}/${target}/conf/NOTES)
@@ -471,6 +473,10 @@ universe_${target}_kernels: universe_${t
 	@cd ${.CURDIR} && ${SUB_MAKE} ${.MAKEFLAGS} TARGET=${target} \
 	    universe_kernels
 .endif # !MAKE_JUST_WORLDS
+
+# Tell the user the worlds and kernels have completed
+universe_${target}: universe_${target}_done
+universe_${target}_done:
 	@echo ">> ${target} completed on `LC_ALL=C date`"
 .endfor
 universe_kernels: universe_kernconfs



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