Skip site navigation (1)Skip section navigation (2)
Date:      05 Jan 2002 12:46:04 -0500
From:      Joe Clarke <marcus@marcuscom.com>
To:        Joe & Fhe Barbish <barbish@a1poweruser.com>
Cc:        nils@tisys.org, Scott Mitchell <scott.mitchell@mail.com>, FBSD Questions <questions@FreeBSD.ORG>
Subject:   RE: removeing sound card from kernel binary
Message-ID:  <1010252764.25865.8.camel@shumai.marcuscom.com>
In-Reply-To: <LPBBIGIAAKKEOEJOLEGOAEGGCLAA.barbish@a1poweruser.com>
References:  <LPBBIGIAAKKEOEJOLEGOAEGGCLAA.barbish@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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