aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2017-09-05 14:04:49 -0500
committerMartin Jansa <Martin.Jansa@gmail.com>2017-09-13 11:08:45 +0200
commit1d6b6944597876b92bb93a2ff064252439001527 (patch)
treea54402407d186e53c2af14224020823ecee73cbd /meta-oe/recipes-benchmark
parent8b991640f19f1d19b17db141c31bc56e26695a23 (diff)
downloadmeta-openembedded-1d6b6944597876b92bb93a2ff064252439001527.tar.gz
glmark2: Set required distro features to opengl
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta-oe/recipes-benchmark')
-rw-r--r--meta-oe/recipes-benchmark/glmark2/glmark2_git.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
index d3766d916f..b72ced06ad 100644
--- a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
+++ b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
@@ -23,7 +23,9 @@ SRCREV = "ed20c633f1926d1dd78e3e89043c85a81302cbe6"
S = "${WORKDIR}/git"
-inherit waf pkgconfig
+inherit waf pkgconfig distro_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)} \