Date: Tue, 17 Aug 2010 22:52:08 +0200 From: Max Laier <max@love2party.net> To: "Dag-Erling Smorgrav" <des@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r211436 - head Message-ID: <201008172252.09064.max@love2party.net> In-Reply-To: <201008172026.o7HKQHUO044754@svn.freebsd.org> References: <201008172026.o7HKQHUO044754@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 17 August 2010 22:26:17 Dag-Erling Smorgrav wrote: > Author: des > Date: Tue Aug 17 20:26:17 2010 > New Revision: 211436 > URL: http://svn.freebsd.org/changeset/base/211436 > > Log: > 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. I believe this kills "make -j" performance as the module build does depth first and there's hardly any opportunity for parallelism in the individual modules. Max > MFC after: 3 weeks > > Modified: > head/Makefile.inc1 > > Modified: head/Makefile.inc1 > =========================================================================== > === --- head/Makefile.inc1 Tue Aug 17 17:30:56 2010 (r211435) > +++ head/Makefile.inc1 Tue Aug 17 20:26:17 2010 (r211436) > @@ -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 "--------------------------------------------------------------"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008172252.09064.max>