Split kernel stage 3.2 (build everything) into 3.2 (build the kernel)

and 3.3 (build the modules).  IMHO, this makes it a little easier to
track the progress of a kernel build using whereintheworld et al.

MFC after:	3 weeks
This commit is contained in:
Dag-Erling Smørgrav 2010-08-17 20:26:17 +00:00
parent 388288b202
commit d350d2cd94
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=211436

View File

@ -814,9 +814,16 @@ buildkernel:
.endif
@echo
@echo "--------------------------------------------------------------"
@echo ">>> stage 3.2: building everything"
@echo ">>> stage 3.2: building the kernel"
@echo "--------------------------------------------------------------"
cd ${KRNLOBJDIR}/${_kernel}; ${KMAKE} all -DNO_MODULES_OBJ
cd ${KRNLOBJDIR}/${_kernel}; ${KMAKE} kernel-all -DNO_MODULES_OBJ
@echo
.if !defined(MODULES_WITH_WORLD) && !defined(NO_MODULES) && exists(${KERNSRCDIR}/modules)
@echo "--------------------------------------------------------------"
@echo ">>> stage 3.3: building the modules"
@echo "--------------------------------------------------------------"
cd ${KRNLOBJDIR}/${_kernel}; ${KMAKE} modules-all -DNO_MODULES_OBJ
.endif
@echo "--------------------------------------------------------------"
@echo ">>> Kernel build for ${_kernel} completed on `LC_ALL=C date`"
@echo "--------------------------------------------------------------"