On Wed, 9 Apr 2003, Robert P. J. Day wrote:
> the two options X86_VISWS and X86_VOYAGER are simple "bool"s
> representing the (radio-box) subarchitecture type.
>
> the first seems to represent a dependency of *neither* of those
> two listed options, while the second config *depends* on one of
> them.
>
> how exactly do you reconcile what looks like contradictory
> dependencies for the same config entry?
With config entries you mainly define menu prompts and defaults.
Dependencies are now properties of these prompts and defaults. With "if"
you can define dependencies which are only attached to these prompts or
defaults. Dependencies defined with "depends on" are attached to all of
them defined within this menu entry.
Internally this becomes a simple list:
config MCA
+- prompt "MCA support"
| +- depends on !(X86_VISWS || X86_VOYAGER)
+- default y
+- depends on X86_VOYAGER
If you enable the debug option of xconfig, this list is displayed with the
help text.
bye, Roman
-
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/