Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2008 17:32:50 -0700 (PDT)
From:      Luke Dean <LukeD@pobox.com>
To:        freebsd-questions@freebsd.org
Subject:   Stop building all those kernel modules
Message-ID:  <20080517172701.F93636@border.lukas.is-a-geek.org>

next 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...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080517172701.F93636>