Re: Kernel config

Tony Rein <[email protected]> 09 Oct 2002 10:14:37 -0400
Newsgroups gmane.linux.gentoo.newbies
Message-ID <1034172880.7378.13.camel@orville>
On Wed, 2002-10-09 at 03:26, Axel Bodemer wrote:
> Hi,
> 
> exist a option to save the .config as a default?
> I mean, I configured the kernel for a 2.4.17, and I want
> that the emerge use this .config for the 2.4.19.
> 
> 
> 
> Axel
> 
Gruess Axel!

Simply save the .config file somewhere else and then copy it back when
you need it for the new kernel. Something like:

cd /usr/src/linux-2.4.17
cp .config /home/axel/data/config-1

Then, later:

cd /usr/src/linux-2.4.19
cp /home/axel/data/config-1 .config

You will still have to go through the configuration and make sure that
things are set the way you like them (make menuconfig or make xconfig).
You may find that some options don't make sense for newer kernel
version, or more likely, there are new options in the newer version that
aren't set in the older .config file. You can take care of these during
the "make menuconfig" or "make xconfig" stage.

--Tony