Re: Get .config from installed kernel?
On Sun, 09 Dec 2001 14:28:01 -0800
Kendall Shaw <queshaw@pacbell.net> wrote:
>
>
> Hi,
>
> I have kernel 2.2.16 installed which I never compiled from source, and I
> want to add a kernel module to support my sound card. Is there a way for me
> to generate the .config that matches my installed kernel so that I can
> easily recompile the kernel as it is, but with support for my sound card?
> Or, with the 2.2.16 source, is there an easy way for me to simply compile
> the sound card support as modules and install them? Or rather, what is the
> quickest route to adding support for my sound card?
>
Normally you should have a /boot/config-2.2.16 file, which you can copy to
/usr/src/linux/.config.
If your sound card is supported by the kernel (e.g. es1371) then just edit .config
and remove the line CONFIG_SOUND_ES1371 is not set.
Then run make oldconfig .If you have the source for 2.2.16 in /usr/src/linux ,
this will _only_ ask you to set CONFIG_SOUND_ES1371....
then choose m(for module) and finish compiling the kernel.
Reply to: