Re: Additional kconfig targets (cloneconfig, nonint_oldconfig etc)

From: Andres Salomon
Date: Wed May 21 2008 - 16:42:27 EST


On Fri, 2 May 2008 21:09:49 +0200
Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:

> With the attached patch you can do:
>
> make K=my_favourite_config defconfig
>
> kconfig will read all config values form 'my_favourite_config'
> and set all other symbols to their default value.
> The output is now dense like this:
> # configuration is based on 'my_favourite_config'
> #
> # configuration written to .config
> #
>


Is this slated for 2.6.27?


>
> The K= notations works for the usual suspects:
> allnoconfig, allyesconfig, allmodconfig, randconfig and defconfig

Since this is aconf (automated), if we run 'make K=foo defconfig' and
'foo' doesn't contain one of the necessary values.. the build will fail,
right?

[...]
>
> What is missing:
> 1) No support for .gz input file
> But aconf.sh should be easy to adjust to this
>
> 2) We hardcode that files name *_defconfig are found
> in arch/$ARCH/configs/*
>
> 3) Implement newsymbolsconfig (any better name?)
> Shall list all new symbols and shall not write
> any config
>

I'm not sure I see the point of #3.
--
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/