Re: How to access if/endif dependencies programmatically?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 29, 2010 at 11:01:43AM +0200, Vegard Nossum wrote:
> Hi,
> 
> Consider the following kconfig fragment:
> 
> config A
> 
> if A
> config B
> endif

The dependencies control the visibility.
The try to explain this consider this adopted
Kconfig file fragment:

config A
	bool "A"

config B
	bool "B"

if A
config B
	prompt "BB"
endif


See how B shows up in two places with different dependencies.
Therefore dependencies are an attribute of the menu - not the symbol.

So to properly inspect dependencies you need to traverse the menus,
not the symbols as they may be used in several places.

	Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux