> > > > Can the two prompts have different "depends on"-dependencies, or are > > the following two definitions exactly equivalent? > > > I guess what I really meant was this: > > 1) > config C > bool "c" > depends on A > depends on B Here symbol "C" has one prompt "c". And in the menu structure it depends on A && B. > > 2) > config C > bool "c1" > depends on A > config C > bool "c2" > depends on B Here symbol "C" has two prompts. Prompt "c1" depends on A - so this prompt is only shown when A is y (or m) Prompt "c2" depends on B - so it is only shown when B is y (or m) If both A and B is set then both prompts are visible. You will then see when you select one prompt the other will be selected too. This is very easy to test with a small config file to menuconfig. > (This version should actually create two different prompts instead of > just adding dependencies to the same symbol.) Correct. 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