Re: Additional kconfig targets (cloneconfig, nonint_oldconfig etc)

From: Andres Salomon
Date: Wed May 21 2008 - 17:33:50 EST


On Wed, 21 May 2008 17:11:39 -0400
Dave Jones <davej@xxxxxxxxxxxxxxxxx> 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
>
>

Ah, I see. My process has always been:


cp arch/x86/configs/foo_defconfig .config
make oldconfig
make obvious decisions about new symbols, choose defaults if unknown
diff -u arch/x86/configs/foo_defconfig .config
figure out if any decisions or defaults are incorrect, change accordingly
make oldconfig (more decisions if there are new symbols exposed)
cp .config arch/x86/configs/foo_defconfig && commit


> 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.
>
> 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.
>
> Dave
>

My build has broken again, which is why I'm inquiring about the status
of this; I'm not going to bother fixing it if my patches are never going
to end up upstream..

--
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/