Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Jul 2012 22:59:44 -0400
From:      "Thomas Mueller" <mueller23@insightbb.com>
To:        freebsd-questions@freebsd.org
Subject:   WITHOUT_MODULES in /etc/make.conf doesn't work
Message-ID:  <C8.05.06836.02062FF4@smtp02.insight.synacor.com>

next in thread | raw e-mail | index | archive | help
How does one, when building the kernel, prevent building one or more modules?

I have
WITHOUT_MODULES= ulpt
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.

I think MODULES_OVERRIDE is for building only a few modules instead of a large number of modules?

I can't see any way one would use both MODULES_OVERRIDE and WITHOUT_MODULES at the same time.

Alternatively, how can I prevent ulpt.ko from automatically loading when I connect a USB printer (HP) that is supposed to work with ugen but not ulpt.

What would a FreeBSD user do in order to be able to be able to connect USB printers by either ugen or ulpt, might have two or more printers, using one at a time?

I have "device ulpt" line commented out in kernel config.

Tom



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