Re: Kernel Compiling

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

 



Am Do, den 30.06.2005 schrieb Robby Tanner um 0:15:

> > On Wed, 2005-06-29 at 15:16 -0600, Robby Tanner wrote:
> > > I've just started to get my feet wet by downloading kernel 
> > sources and 
> > > compiling my first kernel.
> > > 
> > > I'm using FC3-i386 and downloaded the latest SRPMS.
> > > 
> > > A few questions:
> 
> > make oldconfig
> > make menuconfig
> > make all
> > make modules_install
> > make install
> 
> I did all that, as well as make clean and make mrproper.  I didn't do
> "make all" but I did do "make" which I think is the same by default.

The kernel compilation steps and commands are explained in documents
inside the Documentation directory of the kernel source tree. After
configuration "make" and "make install" are enough.

> I changed the EXTRAVERSION to something else.  I did get a running
> kernel and most of these questions come from running that.
> 
> What does make oldconfig do?  Where are the config files for previously
> built kernels?

"make oldconfig" reads in an existing .config file and checks whether
the compiling user has to give instructions for settings which are in
the kernel source but not covered by the existing .config. It is good to
run "make oldconfig" twice to make sure the .config is really processed
completely.
Inside the deflated kernel source tree there is a "configs" directory
containing the configurations an rpmbuild process would use for building
the kernel RPM(s).

> Rob

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 00:36:38 up 4 days, 7:28, load average: 0.17, 0.28, 0.25 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux