Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Nov 2011 01:10:38 -0700
From:      Brett Glass <brett@lariat.net>
To:        "Terrence Koeman" <terrence@mediamonks.net>, "freebsd-questions@FreeBSD.org" <freebsd-questions@FreeBSD.org>
Subject:   RE: Quick build of stripped-down kernel
Message-ID:  <201111251619.JAA18736@lariat.net>
In-Reply-To: <2a449d3a0a37ab479c97962b436bb95c@mediamonks.net>
References:  <201111241439.HAA07258@lariat.net> <2a449d3a0a37ab479c97962b436bb95c@mediamonks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At 10:39 AM 11/24/2011, Terrence Koeman wrote:

>Add
>
>makeoptions     NO_MODULES=yes
>
>to your KERNCONF.

Thank you (and thanks also to the other folks who responded in 
private e-mail). It also has a second advantage: besides disabling 
generation of the .ko files, it also suppresses compilation of 
drivers that are not going to be linked statically into the kernel. 
Build on an older Pentium II server took about 10-12% of the time! 
Worth knowing about.

--Brett Glass




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111251619.JAA18736>