2.6: kconfig handling of recursive dependencies could be improved

From: Adrian Bunk
Date: Fri Aug 08 2003 - 10:02:15 EST


Hi Roman,

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

"make *config" says
Warning! Found recursive dependency: A C A
Warning! Found recursive dependency: C A C B

and handles it a bit strange.

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.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

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