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

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

 



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