glmark2: don't build full OpenGL backends by default
PATCH 1/1 glmark2: don't build full OpenGL backends by default
From: Matt Hoosier <[email protected]>
Most embedded GPU's implementations OpenGL include only the OpenGL ES APIs. Attempting to compile the {x11,wayland,drm}-gl variants of GLMark fail in those cases.
Signed-off-by Matt Hoosier <[email protected]>
Signed-off-by Joshua Watt <[email protected]>
--- meta-oe/recipes-benchmark/glmark2/glmark2_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta-oe/recipes-benchmark/glmark2/glmark2_git.bb +3 -3
@@ -24,9 +24,9 @@ inherit waf pkgconfig features_check REQUIRED_DISTRO_FEATURES += "opengl" -PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11-gl x11-gles2', '', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', 'wayland-gl wayland-gles2', '', d)} \ - drm-gl drm-gles2" +PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11-gles2', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', 'wayland-gles2', '', d)} \ + drm-gles2" PACKAGECONFIG[x11-gl] = ",,virtual/libgl virtual/libx11" PACKAGECONFIG[x11-gles2] = ",,virtual/libgles2 virtual/libx11"
Signature · 1 line
2.27.0