[OE-core] [PATCH v3] distro_features_check.bbclass: Allow checking of required/conflicting features

Chris Larson clarson at kergoth.com
Fri Aug 2 21:16:58 UTC 2013


On Thu, Aug 1, 2013 at 3:13 PM, Otavio Salvador <otavio at ossystems.com.br>wrote:

> This add support to list required/confliting distro features for a
> recipe; this avoids user mistake when building recipes/images which
> would not work depending on DISTRO_FEATURES option set.
>
> Adding:
>
> ,----[ Use example ]
> | inherit distro_features_check
> |
> | REQUIRED_DISTRO_FEATURES = "x11"
> | CONFLICT_DISTRO_FEATURES_mx6 = "wayland"
>

I wonder if it would be worth doing this like PNBLACKLIST to let the recipe
provide its reasoning as a message, or if that would add too much overhead.
I don't know enough about this use case, but something to consider if it
hasn't been already.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130802/a593ca70/attachment-0002.html>


More information about the Openembedded-core mailing list