Messages in this thread | | | Subject | Re: [RFC v1] tree-wide: remove "select FW_LOADER" uses | From | Paul Bolle <> | Date | Mon, 25 May 2015 21:16:57 +0200 |
| |
On Mon, 2015-05-25 at 12:06 -0700, Josh Triplett wrote: > On Mon, May 25, 2015 at 08:25:35PM +0200, Paul Bolle wrote: > > On Mon, 2015-05-25 at 10:54 -0700, Josh Triplett wrote: > For clarity: "recursive dependency resolution" as in "recursive > resolution of dependencies", not "resolution of recursive dependencies".
I feel a headache coming up.
> For an initial solution, I'd suggest just recursing through "select" > dependencies; if C has "select B", and B has "select A", enabling C > should enable B and A. Since you can't "select A || D", that seems > straightforward enough. You can "select A if X", but for that, just > bail out if the value of the expression X is changed by any of the > select statements.
Actually, kconfig already recurses through select statements. (I haven't checked, but I'd expect it to handle the "select A if X" case correctly while doing the recursive select dance.)
Thanks,
Paul Bolle
| |