Re: Additional kconfig targets (cloneconfig, nonint_oldconfig etc)

Alexey Dobriyan
2008-05-22T18:10:34Z

On Wed, May 21, 2008 at 05:11:39PM -0400, Dave Jones wrote:
> On Wed, May 21, 2008 at 04:47:03PM -0400, Andres Salomon wrote:
>
> > > 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.
>
> It's something we've had in Fedora kernels forever, because
> when rebasing to a new upstream version the process becomes
>
> make newsymbolsconfig
> take list of symbols, and make decisions on them
> make oldconfig
>
>
> without it, the process would be..
>
> make oldconfig
> note new symbol, make decision
> make oldconfig
> note a 2nd new symbol, make decision
> make oldconfig
> note a 3rd new symbol..
> make oldconfig..
> you get the idea.

It's actually

make oldconfig
[note new symbol, make decision]
[note new symbol, make decision]
[note new symbol, make decision]
make

so the number of decisions and invocations are the same.

> The way we have it isn't perfect, (adding a new symbol may unhide
> another set of new symbols), but it reduces the number of iterations
> needed dramatically.