From owner-freebsd-current@FreeBSD.ORG Tue Nov 17 22:41:00 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 D3298106566C for ; Tue, 17 Nov 2009 22:41:00 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: from mail-yw0-f197.google.com (mail-yw0-f197.google.com [209.85.211.197]) by mx1.freebsd.org (Postfix) with ESMTP id 898CC8FC08 for ; Tue, 17 Nov 2009 22:41:00 +0000 (UTC) Received: by ywh35 with SMTP id 35so530297ywh.7 for ; Tue, 17 Nov 2009 14:41:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=n9MQmAe5I/5BSIhT9qjd4y4FBrxxMHUsbQNGy1VfDX8=; b=ZW5nt7ZYOo94PQHEShxh4dY2CgALgV3KOFEYsRph3NLILBWorP9dKXEzlK/1dHB4p/ ecz0DjuVD8bGHd0N4pRQO9ZKiLIUfhbWBQl9M+rt4auWRCAyx4p58y2SC9Nx2kNjMApl E/bbHEpuhAWFPO6NRyrhMvMz7Rav4/wP3ogGE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=PFbVAhZT0IAmdYOIMlsDfRG1S1aM8zdxPIWJChJy9s/PtzaeNmNCxv6O3X9KlDiSKB fJOASCWkxn0Myx1+KXnaxVD38MBtDU70WPJqh6p6PRxontH5M/Kj4oTodJkXVP620/WG oJTK4FYVJppss1PgplsPwcHOrk7cpt9GNKQL8= Received: by 10.101.167.27 with SMTP id u27mr2509061ano.199.1258497659006; Tue, 17 Nov 2009 14:40:59 -0800 (PST) Received: from ?192.168.1.101? ([190.177.192.49]) by mx.google.com with ESMTPS id 9sm518959yxf.41.2009.11.17.14.40.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 17 Nov 2009 14:40:58 -0800 (PST) From: Gonzalo Nemmi To: freebsd-current@freebsd.org Date: Tue, 17 Nov 2009 20:40:55 -0200 User-Agent: KMail/1.9.10 References: <200911172021.16848.gnemmi@gmail.com> <4B032328.3050309@acm.poly.edu> In-Reply-To: <4B032328.3050309@acm.poly.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911172040.55421.gnemmi@gmail.com> 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: Tue, 17 Nov 2009 22:41:00 -0000 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