Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 2009 20:46:38 -0200
From:      Gonzalo Nemmi <gnemmi@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Re: WITHOUT_MODULES, does it actually work?
Message-ID:  <200911172046.38561.gnemmi@gmail.com>
In-Reply-To: <20091117222923.GA63610@citylink.fud.org.nz>
References:  <200911172021.16848.gnemmi@gmail.com> <20091117222923.GA63610@citylink.fud.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 17 November 2009 8:29:23 pm Andrew Thompson wrote:
> On Tue, Nov 17, 2009 at 08:21:16PM -0200, 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
>
> I think you are looking for MODULES_OVERRIDE and it can go in your
> kernel config file or /etc/make.conf
>
> # MODULES_OVERRIDE can be used to limit modules built to a specific
> list makeoptions    MODULES_OVERRIDE="sound/sound sound/driver/hda"
>
>
> Andrew

Hi Andrew!
Well, as I already told Boris, I did try that but it didn't work out 
quite as expected ... leaving me with only two modules :s
There was no if_ modules, no wlan_, no zlib, no nothing .. except sound 
and snd_hda ... :s
-- 
Blessings
Gonzalo Nemmi



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