kern/96346: [PATCH] disable build of modules that are already in kernel image

Andrey V. Elsukov bu7cher at yandex.ru
Wed Apr 26 08:10:22 UTC 2006


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.
 
 > And if it disables only those in kernel, why isn't this enabled by default?
 
 It disables all modules.
 
 -- 
 WBR, Andrey V. Elsukov
 


More information about the freebsd-bugs mailing list