Re: how to handle indirect kconfig dependencies

From: Adrian Bunk
Date: Mon Nov 20 2006 - 13:14:41 EST


On Fri, Nov 17, 2006 at 02:55:09PM +0100, Stefan Richter wrote:
> Randy Dunlap wrote:
> > I have a (randconfig) build of 2.6.19-rc5-mm2 with:
> [...]
> > so the question is:
> > (How) can kconfig follow the dependency chain and either
> > - prevent this odd config combination or
> > - see that 'select DEBUG_FS' implies 'select SYSFS' and then enable SYSFS
> > ?
> >
> > I don't believe that the right answer is to add
> > depends on SYSFS
> > to DEBUG_READAHEAD.
>
> I know this doesn't concludingly answer your question, but: All of the
> various shipped tools to generate .config need to be fixed to recognize
> "select" to imply a dependency like "depends on" does.
>...

BTW:
"All of the various shipped tools ... need to be fixed" is a bit
misleading since one of the features of the 2.6 kconfig is that this
code is shared by all tools.

> Stefan Richter

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/