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
|
@false
|
||||||
.endif
|
.endif
|
||||||
@echo
|
@echo
|
||||||
@echo "--------------------------------------------------------------"
|
|
||||||
@echo ">>> Rebuilding kernel(s)"
|
|
||||||
@echo "--------------------------------------------------------------"
|
|
||||||
.for _kernel in ${BUILDKERNELS}
|
.for _kernel in ${BUILDKERNELS}
|
||||||
|
@echo "--------------------------------------------------------------"
|
||||||
|
@echo ">>> Kernel build for ${_kernel} started on `LC_TIME=C date`"
|
||||||
|
@echo "--------------------------------------------------------------"
|
||||||
@echo "===> ${_kernel}"
|
@echo "===> ${_kernel}"
|
||||||
mkdir -p ${KRNLOBJDIR}
|
mkdir -p ${KRNLOBJDIR}
|
||||||
.if !defined(NO_KERNELCONFIG)
|
.if !defined(NO_KERNELCONFIG)
|
||||||
@ -412,6 +412,9 @@ buildkernel:
|
|||||||
.endif
|
.endif
|
||||||
cd ${KRNLOBJDIR}/${_kernel}; \
|
cd ${KRNLOBJDIR}/${_kernel}; \
|
||||||
${WMAKEENV} MACHINE=${MACHINE} ${MAKE} KERNEL=${INSTKERNNAME} all
|
${WMAKEENV} MACHINE=${MACHINE} ${MAKE} KERNEL=${INSTKERNNAME} all
|
||||||
|
@echo "--------------------------------------------------------------"
|
||||||
|
@echo ">>> Kernel build for ${_kernel} completed on `LC_TIME=C date`"
|
||||||
|
@echo "--------------------------------------------------------------"
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user