diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2017-09-05 14:04:49 -0500 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-09-13 11:08:45 +0200 |
commit | 1d6b6944597876b92bb93a2ff064252439001527 (patch) | |
tree | a54402407d186e53c2af14224020823ecee73cbd /meta-oe | |
parent | 8b991640f19f1d19b17db141c31bc56e26695a23 (diff) | |
download | meta-openembedded-contrib-1d6b6944597876b92bb93a2ff064252439001527.tar.gz |
glmark2: Set required distro features to opengl
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-benchmark/glmark2/glmark2_git.bb | 4 |
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)} \ |