summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Kauffmann <johanneskauffmann@hotmail.com>2025-03-04 14:29:06 +0100
committerSteve Sakoman <steve@sakoman.com>2025-03-08 06:35:36 -0800
commita3dc9e0f84e7f6ca70e97ff0d13f290c67c8c227 (patch)
tree06e6df7b9ba5af17104e9d49ab280728a0260526
parentcb4d8ec0335ef83f00bbfd54ca2b78b0f6169a70 (diff)
downloadpoky-a3dc9e0f84e7f6ca70e97ff0d13f290c67c8c227.tar.gz
mesa: Fix missing GLES3 headers in SDK sysroot
Building weston with core-image-weston SDK fails: ``` ../libweston/renderer-gl/gl-shader-config-color-transformation.c:29:10: fatal error: GLES3/gl3.h: No such file or directory 29 | #include <GLES3/gl3.h> | ^~~~~~~~~~~~~ ``` Both GLES2 and GLES3 implementations are contained in libGLESv2.so.2, which is packaged in libgles2-mesa. However, the headers are split between libgles2-mesa-dev and libgles3-mesa-dev, which is why the GLES3 headers end up missing in the SDK sysroot. Add a dependency so the GLES3 headers are properly associated with the GLES3 implementation. (From OE-Core rev: 7e1308ec413e69a8427ac5998431005d9e4b8033) (From OE-Core rev: 0d9f2fcc2058407eb138297d9f8f12595851b963) Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Johannes Kauffmann <johanneskauffmann@hotmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index afac8014fe..3c85a3ac55 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -191,6 +191,11 @@ RDEPENDS:${PN}-dev = ""
191# development package of libgles3. 191# development package of libgles3.
192RDEPENDS:libgles3-mesa-dev += "libgles2-mesa-dev" 192RDEPENDS:libgles3-mesa-dev += "libgles2-mesa-dev"
193 193
194# GLES2 and GLES3 implementations are packaged in a single library in libgles2-mesa.
195# Add a dependency so the GLES3 dev package is associated with its implementation.
196RDEPENDS:libgles2-mesa += "libgles3-mesa"
197ALLOW_EMPTY:libgles3-mesa = "1"
198
194RDEPENDS:libopencl-mesa += "${@bb.utils.contains('PACKAGECONFIG', 'opencl', 'libclc spirv-tools', '', d)}" 199RDEPENDS:libopencl-mesa += "${@bb.utils.contains('PACKAGECONFIG', 'opencl', 'libclc spirv-tools', '', d)}"
195 200
196PACKAGES =+ "libegl-mesa libegl-mesa-dev \ 201PACKAGES =+ "libegl-mesa libegl-mesa-dev \