public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Bodo Eggert <7eggert@gmx.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Documentation mismatch in Documentation/kbuild/kconfig-language.txt
Date: Sat, 9 Jul 2005 00:17:56 +0200	[thread overview]
Message-ID: <20050708221756.GM3671@stusta.de> (raw)
In-Reply-To: <Pine.LNX.4.58.0507041639500.24224@be1.lrz>

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


  reply	other threads:[~2005-07-08 23:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-04 14:59 Documentation mismatch in Documentation/kbuild/kconfig-language.txt Bodo Eggert
2005-07-08 22:17 ` Adrian Bunk [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050708221756.GM3671@stusta.de \
    --to=bunk@stusta.de \
    --cc=7eggert@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox