aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2015-06-16 19:23:34 +0000
committerAndrew Turner <andrew@FreeBSD.org>2015-06-16 19:23:34 +0000
commit1272c4aad259a186aa9724f0f8e0d7fe7a4c5e85 (patch)
treea944aa603d97b381faa762ccb755152200a48864 /Makefile
parent149da95c87e41e09e81f77cb20d8753bf8c17233 (diff)
downloadsrc-1272c4aad259a186aa9724f0f8e0d7fe7a4c5e85.tar.gz
src-1272c4aad259a186aa9724f0f8e0d7fe7a4c5e85.zip
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
Notes
Notes: svn path=/head/; revision=284457
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8a487af984df..d49ed995509c 100644
--- a/Makefile
+++ b/Makefile
@@ -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}: universe_${target}_prologue .MAKE
.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_${target}_prologue .MAKE
@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