Re: [PATCH 7/7] kconfig: search for a config to base the local(mod|yes)config on

From: Alan Jenkins
Date: Thu Apr 30 2009 - 18:04:33 EST


On 4/30/09, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> From: Steven Rostedt <srostedt@xxxxxxxxxx>
>
> Instead of using the .config in the local directory. This patch
> changes streamline_config.pl to search various locations for a config.
>
> Here's the list and order of search:
>
> /proc/config.gz
> /boot/vmlinuz-`uname -r`
> vmlinux # local to the directory
> /lib/modules/`uname -r`/kernel/kernel/configs.ko
> kernel/configs.ko
> kernel/configs.o
> .config
>
> Once it finds a file that contains a config (it checks if the binary
> objects have configs first) it then uses it to create the .config
> with minimum modules needed.

Maybe this has already been discussed, but is there some reason for
omitting /boot/config-`uname -r`? My understanding as a user of a
specific distribution was that kernel packages provide these files,
and therefore do not feel the need to enable CONFIG_IKCONFIG.

Regards
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/