public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Documentation mismatch in Documentation/kbuild/kconfig-language.txt
@ 2005-07-04 14:59 Bodo Eggert
  2005-07-08 22:17 ` Adrian Bunk
  0 siblings, 1 reply; 6+ messages in thread
From: Bodo Eggert @ 2005-07-04 14:59 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-07-09 21:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-04 14:59 Documentation mismatch in Documentation/kbuild/kconfig-language.txt Bodo Eggert
2005-07-08 22:17 ` Adrian Bunk
2005-07-09  7:37   ` Bodo Eggert
2005-07-09  9:36     ` Adrian Bunk
2005-07-09 21:14       ` Bodo Eggert
2005-07-09 13:24     ` Roman Zippel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox