<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 28, 2013 at 1:28 PM, Phil Blundell <span dir="ltr"><<a href="mailto:pb@pbcl.net" target="_blank">pb@pbcl.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, 2013-05-28 at 13:08 -0300, Otavio Salvador wrote:<br>
<br>
> I dislike the 'required' my idea here was each item of the 'compat<br>
> distro features' would be as an OR. Like<br>
><br>
><br>
> COMPATIBLE_DISTRO_FEATURE = "x11 wayland"<br>
<br>
</div>Oh, right, I see. Sorry, I misunderstood the intent of your original<br>
patch.<br>
<br>
Well, then, how about making each item be a regex and having:<br>
<br>
REQUIRED_DISTRO_FEATURES = "x11|wayland qt|gtk"<br>
<br>
or some such?<br></blockquote><div><br></div><div style>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.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
All that said, before spending too much more time debating the minutiae<br>
of this particular feature, I'd kind of like to get a better<br>
understanding of what problem it's actually solving. How many recipes<br>
would actually need to use this mechanism and why?<br></blockquote><div><br></div><div style>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.</div>
<div style><br></div></div>-- <br>Otavio Salvador O.S. Systems<br><a href="http://www.ossystems.com.br" target="_blank">http://www.ossystems.com.br</a> <a href="http://projetos.ossystems.com.br" target="_blank">http://projetos.ossystems.com.br</a><br>
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750<br>
</div></div>