From 482cb703fafe505b1c64832eb2bec275eeb4d0e5 Mon Sep 17 00:00:00 2001 From: Matt Hoosier Date: Thu, 16 Jul 2020 09:34:41 -0500 Subject: glmark2: don't build full OpenGL backends by default 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 Signed-off-by: Joshua Watt Signed-off-by: Khem Raj --- meta-oe/recipes-benchmark/glmark2/glmark2_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb index 6d20bbdaf1..82821ad63d 100644 --- a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb +++ b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb @@ -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" -- cgit v1.2.3-54-g00ecf