summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>2025-09-15 14:55:38 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-09-18 11:16:35 +0100
commit5d7cbf8afac47b1811fbfa9c1a4a2c0c1929e0b6 (patch)
tree1753a7bfe829e40afc36ddf048f88f99fed949f1 /meta
parenta8a01d2d19edb864b3dff2e91e37566c957b69a2 (diff)
downloadpoky-5d7cbf8afac47b1811fbfa9c1a4a2c0c1929e0b6.tar.gz
mesa: add PROVIDES for Vulkan and OpenCL ICDs
In order to let BSPs easily select OpenCL and Vulkan Installable Client Drivers, add two virtual package names: virtual-opencl-icd and virtual-vulkan-icd. (From OE-Core rev: 6f01f029ef6fed96e257d6a88de42edaa437de3e) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc4
1 files changed, 4 insertions, 0 deletions
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"
219# Remove the mesa dependency on mesa-dev, as mesa is empty 219# Remove the mesa dependency on mesa-dev, as mesa is empty
220DEV_PKG_DEPENDENCY = "" 220DEV_PKG_DEPENDENCY = ""
221 221
222# Provide virtual names to allow selecting preferred rproviders
223RPROVIDES:mesa-vulkan-drivers += "virtual-vulkan-icd"
224RPROVIDES:libopencl-mesa += "virtual-opencl-icd"
225
222# GLES2 and GLES3 implementations are packaged in a single library in libgles2-mesa. 226# GLES2 and GLES3 implementations are packaged in a single library in libgles2-mesa.
223# Add a dependency so the GLES3 dev package is associated with its implementation. 227# Add a dependency so the GLES3 dev package is associated with its implementation.
224RPROVIDES:libgles2-mesa += "libgles3-mesa" 228RPROVIDES:libgles2-mesa += "libgles3-mesa"