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

From: Adrian Bunk
Date: Sat Jul 09 2005 - 04:39:18 EST


On Sat, Jul 09, 2005 at 09:37:48AM +0200, Bodo Eggert wrote:
> On Sat, 9 Jul 2005, Adrian Bunk wrote:
> > On Mon, Jul 04, 2005 at 04:59:18PM +0200, Bodo Eggert wrote:
>
> ...
> > > 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
> ...
> > > Since the "if" is useless, misleading and redundand with this behaviour, I
> > > suggest stripping it out.
> >
> > "if" is valuable in "default y" cases.
>
> It should be, but either it's really applied to the config instead of the
> prompt (in which can also be added to the depends on list) or the
> menuconfig '/' function has bogus output.

config FUTEX
bool "Enable futex support" if EMBEDDED
default y

This option is always "y" if EMBEDDED=n.
This option is uservisible if EMBEDDED=y.

I don't understand what's not working for you in this case.

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