Re: menuconfig displays dependencies [Was: select FW_LOADER -> depends HOTPLUG]

From: Adrian Bunk
Date: Sat Aug 14 2004 - 16:06:48 EST


On Sat, Aug 14, 2004 at 09:49:53AM +0200, Sam Ravnborg wrote:
> On Thu, Aug 12, 2004 at 01:05:47AM +0200, Roman Zippel wrote:
>
> > > It would be nice in menuconfig to see what config symbol
> > > that has dependencies and/or side effects.
> >
> > xconfig has something like this, if you enable 'Debug Info', although it
> > rather dumps the internal representation.
> > Adding something like this to menuconfig, would mean hacking lxdialog,
> > which is rather at the bottom of the list of things I want to do. :)
>
> Did a quick hack on this.
> When choosing help on "HCI BlueFRITZ! USB driver" menuconfig now displays:
>
> -------------------------------------------------
> Depends on (select to enable this option):
> BT & USB
> Selects (will be enabled by this option):
> FW_LOADER
>...

Unless I misunderstood Roman, FW_LOADER should be no longer selected.

But if the dependencies of BT_HCIBFUSB were
depends on BT && USB && FW_LOADER
the dependency information was useless since the option itself isn't
shown for FW_LOADER=n.

And even if the option was shown:
How should an average sysadmin configuring his own kernel know where on
earth the FW_LOADER option is he has to enable?

> Sam
>...

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/