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.
Ross On 25 February 2018 at 13:30, Carlos Rafael Giani <[email protected]> wrote: > 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. > I'd like to detect that the provider is Mesa3D, and if so, add libdrm to > DEPENDS. > 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? > -- > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core >
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
