summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2010-08-17 20:26:17 +0000
committerdes <des@FreeBSD.org>2010-08-17 20:26:17 +0000
commitb449f3828322f9f90a73e893ab857f0773d9832c (patch)
tree1874f2c98e0179d159df1a55212e7deecc38001d /Makefile.inc1
parent30f327ba13db9022eb365fc23bdd7477a360a821 (diff)
downloadFreeBSD-src-b449f3828322f9f90a73e893ab857f0773d9832c.zip
FreeBSD-src-b449f3828322f9f90a73e893ab857f0773d9832c.tar.gz
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
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc111
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index d2581c5..8263be0 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -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 "--------------------------------------------------------------"
OpenPOWER on IntegriCloud