diff options
author | ru <ru@FreeBSD.org> | 2004-03-18 10:17:03 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-03-18 10:17:03 +0000 |
commit | 73d84b5335be0ce56fc8edb56bf8e6bb76ae34c9 (patch) | |
tree | 1c2dc0d145012c4cf0ed8a60b0c76a87a6a2b010 /Makefile.inc1 | |
parent | 54eb0efc5356f41cbc74b87331bf4cdb339f5d3e (diff) | |
download | FreeBSD-src-73d84b5335be0ce56fc8edb56bf8e6bb76ae34c9.zip FreeBSD-src-73d84b5335be0ce56fc8edb56bf8e6bb76ae34c9.tar.gz |
Comment various stages of buildkernel, symmetrical to buildworld.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index c0e4e88..a6b3bab 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -537,20 +537,36 @@ buildkernel: @echo "===> ${_kernel}" mkdir -p ${KRNLOBJDIR} .if !defined(NO_KERNELCONFIG) + @echo + @echo "--------------------------------------------------------------" + @echo ">>> stage 1: configuring the kernel" + @echo "--------------------------------------------------------------" cd ${KRNLCONFDIR}; \ PATH=${TMPPATH} \ config ${CONFIGARGS} -d ${KRNLOBJDIR}/${_kernel} \ ${KERNCONFDIR}/${_kernel} .endif .if !defined(NOCLEAN) && !defined(NO_KERNELCLEAN) + @echo + @echo "--------------------------------------------------------------" + @echo ">>> stage 2.1: cleaning up the object tree" + @echo "--------------------------------------------------------------" cd ${KRNLOBJDIR}/${_kernel}; \ ${KMAKEENV} ${MAKE} KERNEL=${INSTKERNNAME} ${CLEANDIR} .endif + @echo + @echo "--------------------------------------------------------------" + @echo ">>> stage 2.2: rebuilding the object tree" + @echo "--------------------------------------------------------------" + cd ${KRNLOBJDIR}/${_kernel}; \ + ${KMAKEENV} ${MAKE} KERNEL=${INSTKERNNAME} obj + @echo + @echo "--------------------------------------------------------------" + @echo ">>> stage 2.3: build tools" + @echo "--------------------------------------------------------------" cd ${KRNLOBJDIR}/${_kernel}; \ MAKESRCPATH=${KERNSRCDIR}/dev/aic7xxx/aicasm \ ${MAKE} -DNO_CPU_CFLAGS -f ${KERNSRCDIR}/dev/aic7xxx/aicasm/Makefile - cd ${KRNLOBJDIR}/${_kernel}; \ - ${KMAKEENV} ${MAKE} KERNEL=${INSTKERNNAME} obj # XXX - Gratuitously builds aicasm in the ``makeoptions NO_MODULES'' case. .if !defined(MODULES_WITH_WORLD) && !defined(NO_MODULES) && exists(${KERNSRCDIR}/modules) .for target in obj depend all @@ -560,9 +576,17 @@ buildkernel: .endfor .endif .if !defined(NO_KERNELDEPEND) + @echo + @echo "--------------------------------------------------------------" + @echo ">>> stage 3.1: making dependencies" + @echo "--------------------------------------------------------------" cd ${KRNLOBJDIR}/${_kernel}; \ ${KMAKEENV} ${MAKE} KERNEL=${INSTKERNNAME} depend -DNO_MODULES_OBJ .endif + @echo + @echo "--------------------------------------------------------------" + @echo ">>> stage 3.2: building everything" + @echo "--------------------------------------------------------------" cd ${KRNLOBJDIR}/${_kernel}; \ ${KMAKEENV} ${MAKE} KERNEL=${INSTKERNNAME} all -DNO_MODULES_OBJ @echo "--------------------------------------------------------------" |