I do not understand kernel modules

Daniel Bye freebsd-questions at slightlystrange.org
Mon Jan 24 06:18:51 PST 2005

On Fri, Jan 21, 2005 at 03:57:35PM +0100, Colin J. Raven wrote:
> On Jan 21 at 08:42, Gardner Bell wrote:
> > On Fri, Jan 21, 2005 at 12:55:32AM +0100 Ramiro Aceves wrote:
> >> Jorn Argelo wrote:
> >>> On Thu, 20 Jan 2005 13:38:54 +0100, Ramiro Aceves wrote
> >>>
> >>
> >> Yes, I understand now. The problem is that my old pentium machine takes
> >> very long time to compile all the modules even if I am not going to use
> >> them. I would like to compile only the modules I use, to reduce
> >> compiling time. Is that possible?
> >>
> > Refer to the option MODULES_OVERRIDE in man make.conf(5) if you wish
> > to only compile certain modules.
> Thanks for this! I'm approaching a critical  "rite of passage" today 
> conincidentally, by recompiling my kernel and getting rid of stuff I 
> don't need.
> Doing what you suggest sounds eminently sensible, yet I have to ask a 
> followup question...
> How do you specify a particular make.conf that should *only* be used for 
> recompiling kernels?

As far as I know, there is no need to do so - some knobs are relevant
only to buildworld/buildkernel and others are only relevant to ports
builds, and some bits are relevant to both.  The build system is smart
enough to not contaminate environments with bits that shouldn't be

At least, this is my understanding of it...


Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050124/edecfa93/attachment.bin

More information about the freebsd-questions mailing list