Re: Additional kconfig targets (cloneconfig, nonint_oldconfig etc)

Andres Salomon
2008-05-21T20:42:10Z

On Fri, 2 May 2008 21:09:49 +0200
Sam Ravnborg <sam@ravnborg.org> 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.