[OE-core] [PATCH] base.bbclass: Add COMPATIBLE_DISTRO_FEATURES support

Phil Blundell pb at pbcl.net
Tue May 28 16:28:37 UTC 2013


On Tue, 2013-05-28 at 13:08 -0300, Otavio Salvador wrote:

> I dislike the 'required' my idea here was each item of the 'compat
> distro features' would be as an OR. Like
> 
> 
> COMPATIBLE_DISTRO_FEATURE = "x11 wayland"

Oh, right, I see.  Sorry, I misunderstood the intent of your original
patch.

Well, then, how about making each item be a regex and having:

REQUIRED_DISTRO_FEATURES = "x11|wayland qt|gtk"

or some such?

All that said, before spending too much more time debating the minutiae
of this particular feature, I'd kind of like to get a better
understanding of what problem it's actually solving.  How many recipes
would actually need to use this mechanism and why?

p.





More information about the Openembedded-core mailing list