Date: Tue, 17 Nov 2009 18:14:20 -0500 From: Ben Kelly <ben@wanderview.com> To: Gonzalo Nemmi <gnemmi@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: WITHOUT_MODULES, does it actually work? Message-ID: <41D86F39-D98A-4195-8345-765E0F742FAE@wanderview.com> In-Reply-To: <200911172021.16848.gnemmi@gmail.com> References: <200911172021.16848.gnemmi@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 17, 2009, at 5:21 PM, Gonzalo Nemmi wrote: > I've been playing around with it (RC3, i386) and got it to look like=20= > this (/etc/make.conf): >=20 > WITHOUT_MODULES=3D dev/firewire dev/bwi dev/bce dev/bfe dev/iwi = dev/iwn=20 > zfs sound/driver/ad1816 sound/driver/ai2s sound/driver/als4000=20 > sound/driver/atiixp sound/driver/audiocs sound/driver/cmi=20 > sound/driver/cs4281 sound/driver/cs4281 sound/driver/csa=20 > sound/driver/davbus sound/driver/ds1 sound/driver/emu10k1=20 > sound/driver/emu10kx sound/driver/envy24 sound/driver/envy24ht=20 > sound/driver/es137x sound/driver/ess sound/driver/fm801=20 > sound/driver/ich sound/driver/maestro3 sound/driver/mss=20 > sound/driver/neomagic sound/driver/sb16 sound/driver/sb8=20 > sound/driver/sbc sound/driver/solo sound/driver/spicds=20 > sound/driver/t4dwave sound/driver/uaudio sound/driver/via8233=20 > sound/driver/via82c686 sound/driver/vibes >=20 > Well .. I don't know what's wrong but no matter what, all of those=20 > modules and stuff still get built and end up under /boot/kernel ... I=20= > just need "sound" and "snd_hda"... >=20 > What am I doing wrong? > Any hint will help I think the contents of WITHOUT_MODULES should be the short names of the = directories in /usrc/src/sys/modules. So iwn instead of dev/iwn. Also, = it looks like you can only exclude modules at this top level directory = granularity. So you can exclude sound, but not a particular device = under sound. Anyway, thats based on a quick read of the Makefile. I could be wrong, = though. I've never actually used this feature. Hope that helps. - Ben=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41D86F39-D98A-4195-8345-765E0F742FAE>