kern/96346: [PATCH] disable build of modules that are already
in kernel image
rmh at aybabtu.com
Wed Apr 26 07:30:18 UTC 2006
The following reply was made to PR kern/96346; it has been noted by GNATS.
From: Robert Millan <rmh at aybabtu.com>
To: "Andrey V. Elsukov" <bu7cher at yandex.ru>
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 09:27:12 +0200
On Wed, Apr 26, 2006 at 11:18:16AM +0400, Andrey V. Elsukov wrote:
> Robert Millan wrote:
> > 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?
More information about the freebsd-bugs