Re: Cloning arch-independant KConfig

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sam Ravnborg
Date: Thursday, August 12, 2010 - 6:20 pm

On Thu, Aug 12, 2010 at 04:38:37PM -0700, Joel Becker wrote:

Today there are a few ways you can do so already.
Say that you have saved away the known good one as "good", which is
a direct copy of your .config.

Then you can do for example:
KCONFIG_ALLCONFIG=good make alldefconfig

This will produce a config wich is almost equal to what you had before,
and with defaults for all new stuff.
I tested it where I used a sparc defconfig as input to a i386
config and it just worked.

Another possibility:
If you already have configured your kernel, but want to use
"good" but keep the settings for all the new stuff.
Then you can do:

cat .config good > new
mv new .config
make menuconfig

This will trigger a lot of override warnings - which you just ignore.
Resulting config is then mostly from "good".

We do not have a way to say "copy only non-arch specific settings".
So I hope the above is OK.

	Sam
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Cloning arch-independant KConfig, Joel Becker, (Thu Aug 12, 4:38 pm)
Re: Cloning arch-independant KConfig, Sam Ravnborg, (Thu Aug 12, 6:20 pm)
Re: Cloning arch-independant KConfig, Joel Becker, (Thu Aug 12, 6:30 pm)