Date: Wed, 26 Apr 2006 14:31:42 -0400 From: Kris Kennaway <kris@obsecurity.org> To: "Andrey V. Elsukov" <bu7cher@yandex.ru> Cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/96346: [PATCH] disable build of modules that are already in kernel image Message-ID: <20060426183142.GB43536@xor.obsecurity.org> In-Reply-To: <200604260810.k3Q8ALDC029566@freefall.freebsd.org> References: <200604260810.k3Q8ALDC029566@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@yandex.ru> > To: Robert Millan <rmh@aybabtu.com> > Cc: FreeBSD-gnats-submit@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. Kris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060426183142.GB43536>