Messages in this thread | | | Date | Sun, 15 Aug 2004 22:45:55 +0200 | From | Adrian Bunk <> | Subject | Re: menuconfig displays dependencies [Was: select FW_LOADER -> depends HOTPLUG] |
| |
On Sun, Aug 15, 2004 at 10:32:45PM +0200, Sam Ravnborg wrote: > On Sun, Aug 15, 2004 at 10:21:11PM +0200, Adrian Bunk wrote: > > > CONFIG_FOO > > > > > > Depends on: > > > CONFIG_BAR: [ ] "Prompt for BAR" > > > > > > Assuming I'm configuring a kernel for i386, what should I see when > > pressing 'd' on the following driver? > > > > > > config OAKNET > > tristate "National DP83902AV (Oak ethernet) support" > > depends on NET_ETHERNET && PPC && BROKEN > > select CRC32 > > > What about: > Depends on: > [ ] "Prompt for NET_ETHERNET" (CONFIG_NET_ETHERNET) > --- "Promt ..." (CONFIG_PPC) > --- " Prompt ... " (CONFIG_BROKEN)
CONFIG_BROKEN is available.
And in other cases, e.g. I2C_ALGOBIT might be a dependency, but depends itself on I2C which might be disabled.
> Selects > "Prompt for CRC32)" (CONFIG_CRC32) > > That would make sense to me at least.
Showing all !i386 drivers on i386 will make it harder for people to find the drivers they actually need.
> If I ever look into it I will touch upon the corner cases for sure.
Thanks.
BTW: "make oldconfig" will need a similar treatment before we can start changing selects to depends.
> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |