Kernel Compiling

Alexander Dalloz ad+lists at uni-x.org
Wed Jun 29 22:45:22 UTC 2005


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 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050630/0941fe9b/attachment-0001.sig>


More information about the fedora-list mailing list