Re: Automatic config file generator

From: Alexey Dobriyan
Date: Thu Oct 02 2008 - 13:33:06 EST


On Thu, Oct 02, 2008 at 12:53:37PM -0400, Stephen Clark wrote:
> Is there a utility that will examine your system and generate a tailored
> config file so I don't have to compile a zillion modules.
>
> Currently when I want to build the latest kernel I take the config file from
> my distro, (fedora), but it has every module in the world. So on my
> 1.8ghz core 2 duo laptop it takes about 30 min to build a new kernel.

Switch CONFIG_DEBUG_INFO off.

Anyway, trim your config once with big switch-offs like
CONFIG_INFINIBAND=n or CONFIG_ISDN=n (or something like that) then use
old mainline config when upgrading to new mainline kernel with
"make oldconfig". You'll answer small amount of questions every time because of
new options and developers try very hard to ensure oldconfig always
leaves valid working configuration.

Even more, turn on /proc/config.gz feature to never lose your config.
--
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/