From owner-svn-src-head@FreeBSD.ORG Tue Aug 17 21:04:48 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90A201065698; Tue, 17 Aug 2010 21:04:48 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by mx1.freebsd.org (Postfix) with ESMTP id E41DF8FC12; Tue, 17 Aug 2010 21:04:46 +0000 (UTC) Received: from f8x64.laiers.local (dslb-088-064-182-253.pools.arcor-ip.net [88.64.182.253]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0La0Mr-1PAsOF09pl-00ljOd; Tue, 17 Aug 2010 22:52:10 +0200 From: Max Laier Organization: FreeBSD To: "Dag-Erling Smorgrav" Date: Tue, 17 Aug 2010 22:52:08 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-RELEASE; KDE/4.4.5; amd64; ; ) References: <201008172026.o7HKQHUO044754@svn.freebsd.org> In-Reply-To: <201008172026.o7HKQHUO044754@svn.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201008172252.09064.max@love2party.net> X-Provags-ID: V02:K0:Dqvu+xy3V541Bv4TK5NL7XbqiU9aUQD2cjMrIw3OdzR iavu+rLHqsk32i9sqaJ1y70vx3fkQuHv8WFJTcZtqe0Bnjeh7r QbmVi1mdwyXUn+GtiGC+jEMC50Tm1Ivuiqtz+pprqEpLgO/QzZ SLKzE9rW9Fu9RnyyfzYN6pLNP7VAmuKL7ICy1yqOZiGkhclT6i 37SgLXg/g6TcBcZOE//ow== Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r211436 - head X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2010 21:04:48 -0000 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 "--------------------------------------------------------------"