mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-26 13:05:18 +01:00
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
This commit is contained in:
parent
149da95c87
commit
1272c4aad2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284457
6
Makefile
6
Makefile
@ -444,6 +444,7 @@ universe_${target}_worlds:
|
|||||||
.for target_arch in ${TARGET_ARCHES_${target}}
|
.for target_arch in ${TARGET_ARCHES_${target}}
|
||||||
universe_${target}: universe_${target}_${target_arch}
|
universe_${target}: universe_${target}_${target_arch}
|
||||||
universe_${target}_worlds: 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
|
universe_${target}_${target_arch}: universe_${target}_prologue .MAKE
|
||||||
@echo ">> ${target}.${target_arch} ${UNIVERSE_TARGET} started on `LC_ALL=C date`"
|
@echo ">> ${target}.${target_arch} ${UNIVERSE_TARGET} started on `LC_ALL=C date`"
|
||||||
@(cd ${.CURDIR} && env __MAKE_CONF=/dev/null \
|
@(cd ${.CURDIR} && env __MAKE_CONF=/dev/null \
|
||||||
@ -460,6 +461,7 @@ universe_${target}_${target_arch}: universe_${target}_prologue .MAKE
|
|||||||
|
|
||||||
.if !defined(MAKE_JUST_WORLDS)
|
.if !defined(MAKE_JUST_WORLDS)
|
||||||
universe_${target}: universe_${target}_kernels
|
universe_${target}: universe_${target}_kernels
|
||||||
|
universe_${target}_done: universe_${target}_kernels
|
||||||
universe_${target}_kernels: universe_${target}_worlds
|
universe_${target}_kernels: universe_${target}_worlds
|
||||||
universe_${target}_kernels: universe_${target}_prologue .MAKE
|
universe_${target}_kernels: universe_${target}_prologue .MAKE
|
||||||
.if exists(${KERNSRCDIR}/${target}/conf/NOTES)
|
.if exists(${KERNSRCDIR}/${target}/conf/NOTES)
|
||||||
@ -471,6 +473,10 @@ universe_${target}_kernels: universe_${target}_prologue .MAKE
|
|||||||
@cd ${.CURDIR} && ${SUB_MAKE} ${.MAKEFLAGS} TARGET=${target} \
|
@cd ${.CURDIR} && ${SUB_MAKE} ${.MAKEFLAGS} TARGET=${target} \
|
||||||
universe_kernels
|
universe_kernels
|
||||||
.endif # !MAKE_JUST_WORLDS
|
.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`"
|
@echo ">> ${target} completed on `LC_ALL=C date`"
|
||||||
.endfor
|
.endfor
|
||||||
universe_kernels: universe_kernconfs
|
universe_kernels: universe_kernconfs
|
||||||
|
Loading…
Reference in New Issue
Block a user