Documentation mismatch in Documentation/kbuild/kconfig-language.txt

From: Bodo Eggert
Date: Mon Jul 04 2005 - 10:01:24 EST


--- Documentation/kbuild/kconfig-language.txt ---
- input prompt: "prompt" <prompt> ["if" <expr>]
Every menu entry can have at most one prompt, which is used to display
to the user. Optionally dependencies only for this prompt can be added
with "if".
---

This is misleading, since the "if" will not affect only the prompt, but
also the config option.

Therefore I can't use
config SGI_IOC4
tristate
prompt "SGI IOC4 Base IO support" if PROMPT_FOR_UNUSED_CORES
depends on (IA64_GENERIC || IA64_SGI_SN2) && MMTIMER
default n

to hide this option unless PROMPT_FOR_UNUSED_CORES is selected.

Since the "if" is useless, misleading and redundand with this behaviour, I
suggest stripping it out.

--
Top 100 things you don't want the sysadmin to say:
43. The backup procedure works fine, but the restore is tricky!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/