<div dir="ltr">You could look at the value of PREFERRED_PROVIDER_virtual/libgl but considering I've seen GL implementations being almost-mesa and providing gbm I suspect you should have a PACKAGECONFIG that you can set from your machine/distro configuration.<div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 25 February 2018 at 13:30, Carlos Rafael Giani <span dir="ltr"><<a href="mailto:dv@pseudoterminal.org" target="_blank">dv@pseudoterminal.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A recipe here has support for Mesa 3D GBM based EGL contexts (which is needed for rendering directly to KMS framebuffers). However, this also needs libdrm.<br>
I'd like to detect that the provider is Mesa3D, and if so, add libdrm to DEPENDS.<br>
Perhaps it is possible to detect that libgbm is available, and I can use that to decide whether or not I need to add libdrm to DEPENDS?<span class="HOEnZb"><font color="#888888"><br>
-- <br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openem<wbr>bedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</font></span></blockquote></div><br></div>