[lkml]   [2003]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.6: kconfig handling of recursive dependencies could be improved

On Fri, 8 Aug 2003, Adrian Bunk wrote:

> I tried to implement a "select at least one of these options" using the
> following Kconfig snippet:
> config A
> bool "a"
> config B
> bool "b"
> config C
> bool
> default y if A=n && B=n
> select A
> select B

This sort of dependency would be better handled with another choice
option, but this is not really 2.6 material.

> Yes, there is a limited recursion, but it's a finite recursion and I
> don't know of any other way to express this in the current kconfig
> language.

It's not really possible. You can show a comment if nothing is selected
and use a reasonable default.

bye, Roman

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:47    [W:0.066 / U:30.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site