summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2013-05-28 09:52:28 +0000
committerdes <des@FreeBSD.org>2013-05-28 09:52:28 +0000
commiteefd68b0fb0670c69975e1564c249810baf77a8a (patch)
tree833dfd7484fdd8fd7d4f7266d8f17bd6233a3f49 /Makefile.inc1
parent27b728120a200f886c8bf698d62beed89a28db2d (diff)
downloadFreeBSD-src-eefd68b0fb0670c69975e1564c249810baf77a8a.zip
FreeBSD-src-eefd68b0fb0670c69975e1564c249810baf77a8a.tar.gz
During buildkernel, print a banner before building modules.
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 99e6ed2..75cede0 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -983,9 +983,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