[RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig
torvalds at linux-foundation.org
Sat Jul 17 04:17:24 EST 2010
On Fri, Jul 16, 2010 at 11:07 AM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> I thought Linus' idea was to use:
> KBUILD_KCONFIG=file make allnoconfig
See an earlier reply - that is indeed what I suggested, and yes, it
avoids the need to be able to "unselect" things.
However, it turns out that even then you do want to extend the Kconfig
language with the ability to select particular values. Not for boolean
(or even tristate things), but for things that select an integer or
string value etc.
So the "select OPTION=xyz" syntax ends up being a good thing even for
the "-n" (allnoconfig) case too.
And while I think the allnoconfig model has some advantages (the
Kconfig input file ends up being independent of the default values),
that very fact ends up being a disadvantage too (the Kconfig input
file likely ends up being larger, since _hopefully_ the defaults are
So I'm not at all married to the "allnoconfig" model. It's one way of
doing things, but I think the argument that we should start with the
defaults and modify those instead is not an invalid one.
More information about the Linuxppc-dev