Re: RFC: kconfig select warnings bogus?

From: Satyam Sharma
Date: Tue May 22 2007 - 13:13:36 EST


On 5/22/07, Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx> wrote:
Satyam Sharma wrote:
> On 5/20/07, Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx> wrote:
>> > On 5/20/07, Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx> wrote:
>> >> config A
>> >> bool-or-tristate "option A"
>> >> depends on !PLATFORM_X || HELPER_N_ON_PLATFORM_X
[...]
> Umm, if A requires helper code N (which is available only on platform X),
[And, I assumed, 'A' works without helper 'N' on all platforms except
'X'.
This is a synthetic example which might not have a real-world application.]

Well, it is not relevant / equivalent to any of the four symbols that caused the
warnings that this thread is about, at least.

> then why/how do we want A to depend on platforms _other_ than X?

The expression means: 'A' can be enabled on all platforms. Except on
platform_X, there it can only be enabled if helper_N is built too.
[...]
No. I meant "(X && N_ON_X) || Any_one_platform_other_than_X" above.

Yeah, and as I said, this was totally *not* the problem being discussed /
solved in this thread (and by that patch).
-
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/