diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 5dee19fae9..3f09cfd4df 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -219,6 +219,10 @@ CFLAGS:append:armv6 = " -DMISSING_64BIT_ATOMICS" # Remove the mesa dependency on mesa-dev, as mesa is empty DEV_PKG_DEPENDENCY = "" +# Provide virtual names to allow selecting preferred rproviders +RPROVIDES:mesa-vulkan-drivers += "virtual-vulkan-icd" +RPROVIDES:libopencl-mesa += "virtual-opencl-icd" + # GLES2 and GLES3 implementations are packaged in a single library in libgles2-mesa. # Add a dependency so the GLES3 dev package is associated with its implementation. RPROVIDES:libgles2-mesa += "libgles3-mesa"