Date: Wed, 26 Apr 2006 07:30:17 GMT From: Robert Millan <rmh@aybabtu.com> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/96346: [PATCH] disable build of modules that are already in kernel image Message-ID: <200604260730.k3Q7UHTA026734@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/96346; it has been noted by GNATS. From: Robert Millan <rmh@aybabtu.com> To: "Andrey V. Elsukov" <bu7cher@yandex.ru> 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 09:27:12 +0200 On Wed, Apr 26, 2006 at 11:18:16AM +0400, Andrey V. Elsukov wrote: > Robert Millan wrote: > >>Description: > > Unless explicitly overriden, in a kernel build all modules are also > > built; > > even those that are already part of the kernel image. These modules > > are > > useless since they can't be loaded. My patch disables them. > > You can build a new kernel with -DNO_MODULES and reinstall it. In this > case you will lost modules, which you can have deleted from kernel. I don't understand. Does -DNO_MODULES disable all modules, or just those that are already built in kernel? And if it disables only those in kernel, why isn't this enabled by default? Thanks, -- Robert Millan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604260730.k3Q7UHTA026734>