<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">&lt;<a href="mailto:pb@pbcl.net" target="_blank">pb@pbcl.net</a>&gt;</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>
&gt; I dislike the &#39;required&#39; my idea here was each item of the &#39;compat<br>
&gt; distro features&#39; would be as an OR. Like<br>
&gt;<br>
&gt;<br>
&gt; COMPATIBLE_DISTRO_FEATURE = &quot;x11 wayland&quot;<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 = &quot;x11|wayland qt|gtk&quot;<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&#39;d kind of like to get a better<br>
understanding of what problem it&#39;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&#39;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>