Re: [RFC v1] tree-wide: remove "select FW_LOADER" uses

James Bottomley
2015-05-25T19:07:55Z

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1661 bytes --]

On Mon, 2015-05-25 at 10:54 -0700, Josh Triplett wrote:
> On Mon, May 25, 2015 at 12:55:17PM +0200, Paul Bolle wrote:
> > On Fri, 2015-05-22 at 14:43 -0700, josh@joshtriplett.org wrote:
> > > Ideally, someone should teach Kconfig to handle recursive dependencies,
> >
> > I'm probably reading too much in this remark, but how should it handle
> > that other than returning an error because the configuration it's fed
> > makes it run in circles?
>
> I don't mean cyclic dependencies (for which Kconfig should just report
> an error, ideally including the full list of symbols forming the cycle).
>
> I mean that Kconfig should do recursive dependency resolution. If B
> depends on A, and C depends on B, I should be able to turn on C
> directly and have B and A enabled.

That's really hard in practise you have to make any symbol that selects
something depend on the dependencies of the selected symbol. You can't
do this without involving a SAT solver. A guy promised to do this a
couple of years ago, but the patches never materialised. However, they
may exist somewhere if someone wants to take a look at completing it.

James

> As an intermediate measure, it'd be *really* handy to be able to browse
> in the curses UI directly from a symbol to the symbols it depends on to
> quickly enable/disable them, rather than having to look at the list of
> dependencies of a symbol, search for that symbol, remember the path the
> search showed, and browse there manually.
>
> - Josh Triplett

ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éÝ¶\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dÊ‡Ú™ë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥