lkml.org 
[lkml]   [2003]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.6: kconfig handling of recursive dependencies could be improved
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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