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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux