How to access if/endif dependencies programmatically?

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

 



Hi,

Consider the following kconfig fragment:

config A

if A
config B
endif

Here, it would seem that B depends on A. But how can I access this
information programmatically? The struct symbol for B doesn't seem to
contain any properties at all, since it has no prompt or defaults.

If it had any properties, I would get this information from
prop->menu->dep, since prop->menu seems to be the same across all
properties, even if the option doesn't have a prompt. Can we put a
pointer to this menu directly in struct symbol? Or can I add another
property to the symbol containing this information? Any hints for the
best way to do this would be appreciated.

Thanks,


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