Re: [PATCH 00/14] kconfig: streamline distro configs for testers

Steven Rostedt
2009-08-21T20:52:01Z

On Fri, 21 Aug 2009, Ingo Molnar wrote:
>
> ah - indeed, i forgot that it bases its decision off /proc/config,
> if available, right?

Here's the list in order of seach:

1. local .config file (in tree root)
2. /proc/config.gz
3. /boot/config-`uname -r`
4. /boot/vmlinuz-`uname -r` (extracts .config if configured in)
5. vmlinux (local built vmlinux if .config is configured in)
6. /lib/modules/`uname -r`/kernel/kernel/configs.ko
7. kernel/configs.ko
8. kernel/configs.o

I originally had /proc/config.gz but Andi Kleen correctly pointed out that
it would be more intuitive if we use the local .config first. This would
be something that I myself would expect. If you don't want the local
.config used, then simply delete it.

>
> Fair enough - forget my suggestion. It's good as-is.

Great!

Thanks,

-- Steve