Also add some timing information for kernel builds so that it's

easy to do "make world kernel |grep -e '^>>>'" and get a complete
event log.
This commit is contained in:
Jordan K. Hubbard 2001-01-21 23:44:41 +00:00
parent 0f150d0411
commit c80a5c4c6e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71355

View File

@ -392,10 +392,10 @@ buildkernel:
@false
.endif
@echo
@echo "--------------------------------------------------------------"
@echo ">>> Rebuilding kernel(s)"
@echo "--------------------------------------------------------------"
.for _kernel in ${BUILDKERNELS}
@echo "--------------------------------------------------------------"
@echo ">>> Kernel build for ${_kernel} started on `LC_TIME=C date`"
@echo "--------------------------------------------------------------"
@echo "===> ${_kernel}"
mkdir -p ${KRNLOBJDIR}
.if !defined(NO_KERNELCONFIG)
@ -412,6 +412,9 @@ buildkernel:
.endif
cd ${KRNLOBJDIR}/${_kernel}; \
${WMAKEENV} MACHINE=${MACHINE} ${MAKE} KERNEL=${INSTKERNNAME} all
@echo "--------------------------------------------------------------"
@echo ">>> Kernel build for ${_kernel} completed on `LC_TIME=C date`"
@echo "--------------------------------------------------------------"
.endfor
#