From owner-freebsd-questions Sat Jan 5 9:46:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from creme-brulee.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id F127537B41D for ; Sat, 5 Jan 2002 09:46:17 -0800 (PST) Received: from shumai.marcuscom.com (marcus@shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.11.6/8.11.6) with ESMTP id g05HjPv40811; Sat, 5 Jan 2002 12:45:25 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: RE: removeing sound card from kernel binary From: Joe Clarke To: Joe & Fhe Barbish Cc: nils@tisys.org, Scott Mitchell , FBSD Questions In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0 (Preview Release) Date: 05 Jan 2002 12:46:04 -0500 Message-Id: <1010252764.25865.8.camel@shumai.marcuscom.com> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 2002-01-05 at 12:31, Joe & Fhe Barbish wrote: > I have all ready removed the sound card statements from > the kernel source and recompiled. But during compiles for > other thinks I see a lot of statements roll by for sound card > support during make and make install processing. > I though maybe there was some way to un-bundle load module > support for sound cards. > > Or let me ask this a different way. > > What is the sound card statements I see roll by during > make & make install referring too? Chances are they are the various snd_* modules that appear in /modules. Even if you don't have any sound support in your kernel, unless you do: make NO_MODULES=YES when building your kernel, klds will be built, which include all the sound drivers. I don't think you can just not build the sound support modules unless you hack the Makefiles. Joe > > > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Scott Mitchell > Sent: Saturday, January 05, 2002 11:48 AM > To: Joe & Fhe Barbish > Cc: FBSD Questions > Subject: Re: removeing sound card from kernel binary > > On Sat, Jan 05, 2002 at 11:24:30AM -0500, Joe & Fhe Barbish wrote: > > I am building a stand-a-lone firewall box. > > I have no need for sound card support. > > > > Is there a way to remove from the kernel to > > make the kernel binary smaller? > > Build a custom kernel without any audio drivers in it? The GENERIC kernel > config doesn't include any audio stuff anyway, so the customisation should > be trivial :-) > > That said, there's probably a lot of other cruft you can strip out of > GENERIC for this box, and you might want to have the firewall code compiled > in rather than loaded from modules, so building a custom kernel is a good > idea anyways. > > Scott > > -- > =========================================================================== > Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels > Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" > scott.mitchell@mail.com | 0xAA775B8B | -- Anon > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message