Date: Sun, 18 May 2008 09:49:59 +0200 (CEST) From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> To: Luke Dean <LukeD@pobox.com> Cc: freebsd-questions@freebsd.org Subject: Re: Stop building all those kernel modules Message-ID: <20080518094922.S34350@wojtek.tensor.gdynia.pl> In-Reply-To: <20080517172701.F93636@border.lukas.is-a-geek.org> References: <20080517172701.F93636@border.lukas.is-a-geek.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> I'm trying to use nanobsd to build a small kernel for an embedded system on > FreeBSD 7. > > In previous versions, I could modify GENERIC by just commenting out all the > devices and options that I wasn't interested in, and buildkernel > KERNCONF=myconf would happily ignore all the things I wasn't interested in. > > This no longer works. Now everything gets built, even things that are > broken/incompatible with other options I've chosen. > > I've tried setting NO_MODULES=YES, but the modules were still built. > I see documentation for WITHOUT_MODULES, but it wants me to list every module > I don't want to build? Come on! There must be a better way... > _______________________________________________ in kernel config put makeoptions MODULES_OVERRIDE="" or makeoptions NO_MODULES=yes
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080518094922.S34350>