Kernel configuration

Matthew Seaman m.seaman at infracaninophile.co.uk
Fri Mar 26 11:43:26 PST 2004


[ kernel modules ]

On Fri, Mar 26, 2004 at 11:03:49AM -0800, Joshua Lokken wrote:
> * Matthew Seaman <m.seaman at infracaninophile.co.uk> [2004-03-26 10:56]:

> > What you don't compile into your kernel (by eg. 'options NFSCLIENT')
> > will generally be compiled as a loadable module instead -- here
> > nfsclient.ko

> I've wondered about this -- is that the significance of the 
> 
> NO_MODULES parameter in make.conf?  IOW, if one was to specify
> no_modules, would that build only the kernel modules that were
> specified in the conf?

If you put NO_MODULES=true into /etc/make.conf, then you'll only get
the kernel build.  You won't get any extra loadable modules.

Other than that, you can specify a list of modules to build if you
don't want all of them:

    MODULES_OVERRIDE=      linux ipfw

Not sure what happens if you configure those options in the kernel
config, and also add them to the 'MODULES_OVERRIDE' list.  

There's also 'MODULES_WITH_WORLD=true' which separates building kernel
modules from building the rest of the kernel.  This is solely for
backwards compatability -- I can't think of any good reason to use
this option otherwise.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- 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/20040326/c981b522/attachment.bin


More information about the freebsd-questions mailing list