On 29 July 2010 13:29, Vegard Nossum <vegard.nossum@xxxxxxxxx> wrote: >> 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. > > Hm, wow, thanks for the explanation, that helps a lot. > > There is still just one symbol "B", right, but it has two prompts? > (And each prompt/menu has a different set of dependencies.) > > Can the two prompts have different "depends on"-dependencies, or are > the following two definitions exactly equivalent? > > 1) > config C > depends on A > depends on B > > 2) > config C > depends on A > config C > depends on B I guess what I really meant was this: 1) config C bool "c" depends on A depends on B 2) config C bool "c1" depends on A config C bool "c2" depends on B (This version should actually create two different prompts instead of just adding dependencies to the same symbol.) 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