1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-01-12 01:20:20 +00:00

mesa-pvr: add PROVIDES for Vulkan and OpenCL ICDs

A recent change in oe-core [1] has created new virtual packages to pick
the driver packages for OpenCL and Vulkan Installable Client Drivers.
This patch just copies the same changes from oe-core into our copy of the
mesa package.

[1] https://git.openembedded.org/openembedded-core/commit/meta/recipes-graphics/mesa/mesa.inc?id=6f01f029ef6fed96e257d6a88de42edaa437de3e

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Andrew Davis <afd@ti.com>
This commit is contained in:
Ryan Eatmon
2025-09-18 13:49:14 -05:00
parent 3dad773982
commit 1d5ec7bb9e

View File

@@ -228,6 +228,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"