Date: Fri, 26 Mar 2004 19:43:19 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-questions@freebsd.org Subject: Re: Kernel configuration Message-ID: <20040326194319.GA28352@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20040326190349.GB1948@cs025_2k> References: <B36C365832C90E47A37F4FFCDDEFC46D3D5FF7@hkisrv08.tw.fi> <20040326183919.GB27638@happy-idiot-talk.infracaninophile.co.uk> <20040326190349.GB1948@cs025_2k>
next in thread | previous in thread | raw e-mail | index | archive | help
--WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [ kernel modules ] On Fri, Mar 26, 2004 at 11:03:49AM -0800, Joshua Lokken wrote: > * Matthew Seaman <m.seaman@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=20 >=20 > 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=3Dtrue 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=3D linux ipfw Not sure what happens if you configure those options in the kernel config, and also add them to the 'MODULES_OVERRIDE' list. =20 There's also 'MODULES_WITH_WORLD=3Dtrue' 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 --=20 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 --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAZIfXdtESqEQa7a0RAjltAKCJKspvs7AwPz9XPIzLRvMp6lwE/QCdHNTr Oy6FvWlbrC3AiYQBGhsFzTs= =zUTk -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040326194319.GA28352>