WITHOUT_MODULES in /etc/make.conf doesn't work

Polytropon freebsd at edvax.de
Tue Jul 3 03:08:30 UTC 2012

On Mon, 02 Jul 2012 22:59:44 -0400, Thomas Mueller wrote:
> How does one, when building the kernel, prevent building one or more modules?

Use the "new" means of /etc/src.conf (see "man src.conf" for
details) to prevent the building of modules.

> I have
> in /etc/make.conf
> but ulpt.ko always appears in /boot/kernel directory.
> For now, I want to build all modules except for this one, but
> perhaps I could keep everything in kernel config and not build modules.

Also a possibility - for "best control" case, combine both, e. g.
a custom kernel that only includes what you explicitely specity,
and src.conf to avoid building of modules you're intendedly not
going to need.

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list