Re: Quick build of stripped-down kernel

2011-11-26 Thread Thomas Mueller
from b. f. bf1...@googlemail.com: If the kernel versions were compatible, and the set of modules were the same, I suppose you could set MODULES_WITH_WORLD and KODIR=/boot/modules during buildworld and installworld, to build the modules as part of buildworld and install them in /boot/modules

Re: Quick build of stripped-down kernel

2011-11-25 Thread Alexander Best
On Fri Nov 25 11, Thomas Mueller wrote: from b. f. bf1...@googlemail.com: If you are going to build most of the modules, but only want to exclude a few, then add the directories of the modules to be excluded (relative to /usr/src/sys/modules) to WITHOUT_MODULES, for example in

RE: Quick build of stripped-down kernel

2011-11-25 Thread Brett Glass
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

Re: Quick build of stripped-down kernel

2011-11-25 Thread b. f.
On 11/25/11, Thomas Mueller mueller6...@bellsouth.net wrote: from b. f. bf1...@googlemail.com: If you are going to build most of the modules, but only want to exclude a few, then add the directories of the modules to be excluded (relative to /usr/src/sys/modules) to WITHOUT_MODULES, for

buildkernel not honoring WITH_MODULES from make.conf ? (was: Re: Quick build of stripped-down kernel)

2011-11-25 Thread Damien Fleuriot
On 11/24/11 4:17 PM, b. f. wrote: If you are going to build most of the modules, but only want to exclude a few, then add the directories of the modules to be excluded (relative to /usr/src/sys/modules) to WITHOUT_MODULES, for example in /etc/make.conf. If you are only going to build a few

RE: buildkernel not honoring WITH_MODULES from make.conf ? (was: Re: Quick build of stripped-down kernel)

2011-11-25 Thread Terrence Koeman
On Fri, 25 Nov 2011 at 19:27:54, Damien Fleuriot wrote: On 11/24/11 4:17 PM, b. f. wrote: If you are going to build most of the modules, but only want to exclude a few, then add the directories of the modules to be excluded (relative to /usr/src/sys/modules) to WITHOUT_MODULES, for example

Quick build of stripped-down kernel

2011-11-24 Thread Brett Glass
Everyone: Happy Thanksgiving! This week, I've been building FreeBSD 9.0-RC2 kernels for various machines, and on some of the older and slower ones it's been taking quite a long time. One of the reasons for this is that even if you strip 98% of the drivers out of the kernel, they are all

Re: Quick build of stripped-down kernel

2011-11-24 Thread Michael Powell
Brett Glass wrote: Everyone: Happy Thanksgiving! This week, I've been building FreeBSD 9.0-RC2 kernels for various machines, and on some of the older and slower ones it's been taking quite a long time. One of the reasons for this is that even if you strip 98% of the drivers out of the

Re: Quick build of stripped-down kernel

2011-11-24 Thread b. f.
Happy Thanksgiving! This week, I've been building FreeBSD 9.0-RC2 And to you, too. kernels for various machines, and on some of the older and slower ones it's been taking quite a long time. One of the reasons for this is that even if you strip 98% of the drivers out of the kernel, they are

Re: Quick build of stripped-down kernel

2011-11-24 Thread Thomas Mueller
from b. f. bf1...@googlemail.com: If you are going to build most of the modules, but only want to exclude a few, then add the directories of the modules to be excluded (relative to /usr/src/sys/modules) to WITHOUT_MODULES, for example in /etc/make.conf. If you are only going to build a few