Date: Wed, 26 Apr 2006 08:10:21 GMT From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/96346: [PATCH] disable build of modules that are already in kernel image Message-ID: <200604260810.k3Q8ALDC029566@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: "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. > And if it disables only those in kernel, why isn't this enabled by default? It disables all modules. -- WBR, Andrey V. Elsukov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604260810.k3Q8ALDC029566>