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:
parent
0f150d0411
commit
c80a5c4c6e
@ -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
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user