> No, I'm just borderline sure that WITHOUT_MODULES works
> the same way as MODULES_OVERRIDE, that is it looks in
> top directory in /usr/src/sys/modules/ and ulpt is in
> /usr/src/sys/modules/usb/ulpt
> Speaking of RAM savings, things you would always load
> should be compiled in kernel, modules
> Sort of a dirty trick that you have to use usb/ulpt as
> opposed to ulpt, and a deficiency in the documentation.
No, I'm just borderline sure that WITHOUT_MODULES works
the same way as MODULES_OVERRIDE, that is it looks in
top directory in /usr/src/sys/modules/ and ulpt is in
/usr/src/sys/modul
from Polytropon :
> Yes, /etc/src.conf uses WITHOUT_* on a per-module basis, so you need
> to explicitely name the modules not to build.
> But you're right, there's only WITHOUT_USB (for not building the
> USB-related parts), so going with kernel configuration would be
> a good point to start --
and consider using MODULES_OVERRIDE if you will
precisely know your needs.
--
View this message in context:
http://freebsd.1045724.n5.nabble.com/WITHOUT-MODULES-in-etc-make-conf-doesn-t-work-tp5723832p5723883.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
Try with:
WITHOUT_MODULES= usb/ulpt
--
View this message in context:
http://freebsd.1045724.n5.nabble.com/WITHOUT-MODULES-in-etc-make-conf-doesn-t-work-tp5723832p5723880.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freeb
On Tue, 03 Jul 2012 04:54:05 -0400, Thomas Mueller wrote:
> from Polytropon :
>
> > 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" f
from Polytropon :
> 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 looked through "man
I think MODULES_OVERRIDE is for building only a few modules instead of a large
number of modules?
true. definitely works for me.
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.
devd.con
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
> WITHOUT_MODULES= ulpt
> in /etc/make.con
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 no
10 matches
Mail list logo