From owner-freebsd-current@FreeBSD.ORG Wed Nov 18 00:14:06 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 366DB1065696 for ; Wed, 18 Nov 2009 00:14:06 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id AFB228FC16 for ; Wed, 18 Nov 2009 00:14:05 +0000 (UTC) Received: by bwz5 with SMTP id 5so733015bwz.3 for ; Tue, 17 Nov 2009 16:14:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=JvCvH6OjxFPqTLO9Q9sYjld5xY+V8TDhECkXKqIdPCY=; b=Ak1RotoW6oM0xu9Ln50l6rzWq/eIKmDCZTu/P7moZ21uTPz9EXPj3IxV2Q7H0EHEXN fXvIcWtee0v5+0hOMTPAMWaOFxh2QxgSV1Vgu/hB58TGEEwT1oQRo/ZDsxq3xn6RZ5sQ OuZlT5U2UBhgDFsFzEB3dGgi+0bffKh1zZahA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=wIjLctAUreiDjw0RSyzSUbsW6jCRaDilvmGiEPFxiVNpFAZ0IhZFSruEX8hWLbPErS 5KS3eZhltJnD9x/ygSYyoYLVkgAFGYa1SLp72KvkTkVsaAYHQKn2CAfIesOYQrnkUkro 0WlHdd8M1bReBkrsU2y1Ho9MBCxQwX2hhZgAU= MIME-Version: 1.0 Received: by 10.103.87.26 with SMTP id p26mr35041mul.44.1258503244529; Tue, 17 Nov 2009 16:14:04 -0800 (PST) In-Reply-To: <41D86F39-D98A-4195-8345-765E0F742FAE@wanderview.com> References: <200911172021.16848.gnemmi@gmail.com> <41D86F39-D98A-4195-8345-765E0F742FAE@wanderview.com> Date: Tue, 17 Nov 2009 21:14:04 -0300 Message-ID: <19e9a5dc0911171614l42f4c90ci2abce9982727ef61@mail.gmail.com> From: Gonzalo Nemmi To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: WITHOUT_MODULES, does it actually work? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 00:14:06 -0000 On Tue, Nov 17, 2009 at 8:14 PM, Ben Kelly wrote: > > 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 > > 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 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 Hi Ben! It could be that .. will try as soon as I can .. I didn't try before because most examples I found on google use it like that .. even the FreeBSD handbook: http://www.freebsd.org/doc/en/books/handbook/kernelconfig-building.html(take a look at the second "tip" in point 8.5). Thanks for your advise Ben ! Best Regards Gonzalo Nemmi