kern/96346: [PATCH] disable build of modules that are already
in kernel image
kris at obsecurity.org
Wed Apr 26 18:31:49 UTC 2006
On Wed, Apr 26, 2006 at 08:10:21AM +0000, Andrey V. Elsukov wrote:
> The following reply was made to PR kern/96346; it has been noted by GNATS.
> From: "Andrey V. Elsukov" <bu7cher at yandex.ru>
> To: Robert Millan <rmh at aybabtu.com>
> Cc: FreeBSD-gnats-submit at FreeBSD.org
> Subject: Re: kern/96346: [PATCH] disable build of modules that are already
> in kernel image
> Date: Wed, 26 Apr 2006 12:08:23 +0400
> Robert Millan wrote:
> > I don't understand. Does -DNO_MODULES disable all modules, or just those that
> > are already built in kernel?
> No, NO_MODULES is a make option, that can made a kernel build much
> faster. And command `make buildkernel reinstallkernel -DNO_MODULES
> KERNCONF=SOMEKERNEL' can be used for the fast kernel reinstallation.
> You can remove some options from kernel and rebuild and reinstall it
> without building modules. With your patch you will lost some modules in
> this case.
> But i think that your option WITHOUT_MODULES can be usable for build of
> some smallest systems based on FreeBSD.
There is also "MODULES_OVERRIDE" which is a list of modules to build
with your kernel.
More information about the freebsd-bugs