You are not logged in.

#1 2006-04-22 11:17:04

EAD
Member
Registered: 2006-03-11
Posts: 255

A little question about compiling my kernel

Hii, I want to take all the files from the Kernel-Beyond CVS and make my own config, so I have add the "make xconfig" line there, but after it loads the menu and I edit everything and save it, it doesn't save it for me, What can I do?

Offline

#2 2006-04-22 16:14:26

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: A little question about compiling my kernel

make xconfig will save your new config as $startdir/src/linux-2.6.16/.config. The original config from CVS will remain untouched in $startdir/src/config.

Does that help?

Offline

#3 2006-04-22 16:20:48

EAD
Member
Registered: 2006-03-11
Posts: 255

Re: A little question about compiling my kernel

amm, but when I do compile, I want to use my new config, that I have made with make xconfig, How can I do it?

Offline

#4 2006-04-22 16:31:04

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: A little question about compiling my kernel

$startdir/src/linux-2.6.16/.config is the right place for your config file - the only place, actually. If you take a close look at the beyond PKGBUILD, you will see that the config file in $startdir/src is copied to $startdir/src/linux-2.6.16/.config before the build actually starts. By adding make xconfig, you have simply added the facility to amend it before the build starts.

So you're already doing it right.

Offline

#5 2006-04-22 17:05:39

EAD
Member
Registered: 2006-03-11
Posts: 255

Re: A little question about compiling my kernel

So, what I was doing by checkin the config file that it download from the net, isn't the right one it will use?
and BTW, I dont understand everything on the config, Where can I find some more about things like all kinds of options there?

Offline

#6 2006-04-22 17:12:02

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: A little question about compiling my kernel

You need the config file from CVS as your starting point - trust me, you really don't want to configure the entire kernel from scratch.

If you want to read all about it, go to $startdir/src/linux-2.6.16/Documentation - and Google, of course. smile

Offline

#7 2006-04-22 17:50:17

EAD
Member
Registered: 2006-03-11
Posts: 255

Re: A little question about compiling my kernel

Tanx, you help me a lot:)

Offline

Board footer

Powered by FluxBB