From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262964AbVGHX3D (ORCPT ); Fri, 8 Jul 2005 19:29:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262980AbVGHX06 (ORCPT ); Fri, 8 Jul 2005 19:26:58 -0400 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:38917 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S262922AbVGHWR7 (ORCPT ); Fri, 8 Jul 2005 18:17:59 -0400 Date: Sat, 9 Jul 2005 00:17:56 +0200 From: Adrian Bunk To: Bodo Eggert <7eggert@gmx.de> Cc: linux-kernel@vger.kernel.org Subject: Re: Documentation mismatch in Documentation/kbuild/kconfig-language.txt Message-ID: <20050708221756.GM3671@stusta.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 04, 2005 at 04:59:18PM +0200, Bodo Eggert wrote: > --- Documentation/kbuild/kconfig-language.txt --- > - input prompt: "prompt" ["if" ] > 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