Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1231512
| From | "Luis R. Rodriguez" <mcgrof@suse.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] kbuild: document recursive dependency limitation / resolution |
| Date | 2015-09-23 17:50 +0200 |
| Message-ID | <qbUsV-8tN-5@gated-at.bofh.it> (permalink) |
| References | <pRFPQ-1zd-19@gated-at.bofh.it> <pRGiS-27b-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Jul 29, 2015 at 01:34:50PM -0700, Randy Dunlap wrote: > On 07/29/15 13:09, Luis R. Rodriguez wrote: > > + > > +Kconfig recursive dependency limitations > > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > + > > +If you've hit the Kconfig error: "recursive dependency detected" you've run > > +into a recursive dependency issue with Kconfig. Kconfig does not do recursive > > +dependency resolution, this has a few implications for Kconfig file writers. In > > maybe s/,/;/ Fixed. > > +practice it means that for instance if a driver A selects a few kconfig symbols > > +another driver B which selects any of these symbols cannot negate any of the > > +symbols the driver A selected. Because of this current limitation developers > > +who run into this type of recursive dependency issue have two diverging > > +options: > > + > > + a) Either swap all "select FOO" to "depends on FOO" or, > > + b) Change the offending "depends on FOO" to "select FOO" > > + > > +Kconfig's limitations can be addressed by implementing a SAT solver for it, > > +but until then, Kconfig is limitted to require developers to use one of > > limited > I've re-written this section, thanks for the review. Luis -- 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/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] kbuild: document recursive dependency limitation / resolution "Luis R. Rodriguez" <mcgrof@suse.com> - 2015-09-23 17:50 +0200
csiph-web