Re: WITHOUT_MODULES, does it actually work?

From: Gonzalo Nemmi <gnemmi_at_gmail.com>
Date: Tue, 17 Nov 2009 20:40:55 -0200
On Tuesday 17 November 2009 8:26:48 pm Boris Kochergin wrote:
> Gonzalo Nemmi wrote:
> > I've been playing around with it (RC3, i386) and got it to look
> > like this (/etc/make.conf):
> >
> > WITHOUT_MODULES= dev/firewire dev/bwi dev/bce dev/bfe dev/iwi
> > dev/iwn zfs sound/driver/ad1816 sound/driver/ai2s
> > sound/driver/als4000 sound/driver/atiixp sound/driver/audiocs
> > sound/driver/cmi
> > sound/driver/cs4281 sound/driver/cs4281 sound/driver/csa
> > sound/driver/davbus sound/driver/ds1 sound/driver/emu10k1
> > sound/driver/emu10kx sound/driver/envy24 sound/driver/envy24ht
> > sound/driver/es137x sound/driver/ess sound/driver/fm801
> > sound/driver/ich sound/driver/maestro3 sound/driver/mss
> > sound/driver/neomagic sound/driver/sb16 sound/driver/sb8
> > sound/driver/sbc sound/driver/solo sound/driver/spicds
> > sound/driver/t4dwave sound/driver/uaudio sound/driver/via8233
> > sound/driver/via82c686 sound/driver/vibes
> >
> > Well .. I don't know what's wrong but no matter what, all of those
> > modules and stuff still get built and end up under /boot/kernel ...
> > I just need "sound" and "snd_hda"...
> >
> > What am I doing wrong?
> > Any hint will help
> >
> > BTW: where is Bluetooth located so I can also get rid of it?
>
> While the documentation does seem to indicate that what you're doing
> should work, I think you'd have an easier time just doing this:
>
> MODULES_OVERRIDE=sound sound/driver/hda
>
> -Boris

Hi Boris !
I did that, but the result was that the only moules that got built were 
those two!
wc -l /boot/kernel yielded: 2 !
There was no more modules than those that I had expressly specified in 
MODULES_OVERRIDE .. that's why I resorted to WITHOUT_MODULES (as 
awkward as it may be ..).

Thanks for your reply Boris !
-- 
Blessings
Gonzalo Nemmi
Received on Tue Nov 17 2009 - 21:41:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:58 UTC