lkml.org 
[lkml]   [2005]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Documentation mismatch in Documentation/kbuild/kconfig-language.txt
On Mon, Jul 04, 2005 at 04:59:18PM +0200, Bodo Eggert wrote:
> --- 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.

"if" is valuable in "default y" cases.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

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

\
 
 \ /
  Last update: 2005-07-09 01:33    [W:0.072 / U:1.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site