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

Otavio Salvador otavio at ossystems.com.br
Tue May 28 16:33:47 UTC 2013


On Tue, May 28, 2013 at 1:28 PM, Phil Blundell <pb at pbcl.net> wrote:

> 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?
>

I did it initially using a regexp but I think it is too complexity for a
small thing. Besides the features has  a fixed value (different of machine
name and like) so a list would fit better.


> 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?
>

In meta-fsl-arm, for now, it'll be 4 (gpu-viv-bin, gpu-viv-wl-bin,
amd-gpu-bin and amd-gpu-x11-bin) but I think other layers has same need.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130528/2ba2fc09/attachment-0002.html>


More information about the Openembedded-core mailing list