Kevin Brosius on Mon, 3 Mar 2003 10:01:05 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] how kernel compiling works


Paul wrote:
> 
> Kevin Brosius wrote:
> 
> >'make oldconfig' will import an '.config' file from a different kernel
> >source version to the present one.  Use it when the .config is from a
> >different version, or when you are unsure.
> >
> >
> Does that mean that I could copy my 2.4.18 ".config" file to my 2.4.20
> directory and run "make oldconfig" to bring the settings over to the new
> kernel?
> 
> Would that work when moving from a RedHat kernel to a generic kernel?
> 
> I just had a kernel adventure.  I'm now running 2.4.18 (I was heading
> for .20.) with the preemt patch and two Win4Lin patches.  I had to
> compile many times to get everything running.  It would have been nice
> to pull a working configuration into the new kernel as a starting point.
> 

Yes.  'make oldconfig' will prompt you for the differences with the
standard (y/m/n) selections for items that changed.

I used it to build a 2.5.x kernel with the same config as the SuSE
2.4.18 stock kernel.  (Although there are a lot of differences, so you
spend a while answering questions.)

-- 
Kevin Brosius
_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug