Quick build of stripped-down kernel

Brett Glass brett at lariat.net
Fri Nov 25 16:31:38 UTC 2011


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



More information about the freebsd-questions mailing list