Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

From
Grant Likely <hidden>
Date
2010-07-16 18:52:52
Also in
linux-arm-kernel, linux-kbuild, lkml
Reply to
Russell King - ARM Linux, 2010-07-16
On Fri, Jul 16, 2010 at 12:30 PM, Russell King - ARM Linux
[off-list ref] wrote:
On Fri, Jul 16, 2010 at 02:19:31PM -0400, Nicolas Pitre wrote:
quoted
For example, if I want CONFIG_MTD_CMDLINE_PARTS=3Dy, the system may be
smart enough to notice and automatically enable CONFIG_MTD and
CONFIG_MTD_PARTITIONS without having to carry those in the defconfig.
How do you sort out something like this:

config FOO
=A0 =A0 =A0 =A0bool "Foo"
=A0 =A0 =A0 =A0depends on (A && B) || C

Do you enable A and B, A, B and C or just C?

Bear in mind that A could be 'X86', 'M68K' or any other arch specific
symbol.

I prefer the warning method because it prompts you to investigate what's
changed and sort out the problem by ensuring that the appropriate symbols
are also selected. =A0The automatic selection of dependencies method carr=
ies
the risk that it'll do the wrong thing with the above scenario.
Good point.

g.
Thread (28 messages) 28 messages, 8 authors, last reply 2010-07-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help