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

Re: [Sheflug] SuSE 7.2 kernel source



On Sunday 14 October 2001 21:52, you wrote:
> well, oddly enough I found an option in xconfig to store the options in
> the kernel, but it says nothing about how to get them out again.  

It saves the config to a file - usually, .config in the same directory as the 
source (/usr/local/src/linux/.config, for example). However, you can call it 
anything you please - just making sure that the file called .config (or 
symlink, whatever) is available for when you actually compile.

A common time-saver is to configure the kernel to your pleasing, and then 
saving the .config file somewhere safe. When you come to compile a new, 
later, version of Linux you can copy this file into your new source directory 
and do a 'make oldconfig'. This will then configure your kernel using the 
configuration you've provided, or using sensible defaults where your 
configuration is not up-to-date enough. So, it can be a one-shot deal for 
most common configurations :)

> I've
> enabled it and maybe will find out more later.  No doubt I shouldn't use
> xconfig :-) but I'm still a novice with a poor memory for acronyms.

xconfig is fine. I personally use 'make menuconfig', which is practically the 
same interface, just using text. It's actually much faster to tweak a kernel 
config in menuconfig/xconfig, which you will no doubt want to do when you get 
into kernel compiling and start playing with things.

Cheers,

				Alex.
___________________________________________________________________

Sheffield Linux User's Group - http://www.sheflug.co.uk . 
To unsubscribe from this list send mail to 
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.