aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2019-03-11 21:22:45 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-18 11:09:55 +0000
commit63c98d10231271135013e04749ac351247bd6546 (patch)
tree11cfc081b47196270a3a55cad59e1cc1933c6e75 /meta
parent9e13dad6ea76dd036098ef62427804e4138bf83b (diff)
downloadopenembedded-core-contrib-63c98d10231271135013e04749ac351247bd6546.tar.gz
openembedded-core-contrib-63c98d10231271135013e04749ac351247bd6546.tar.bz2
openembedded-core-contrib-63c98d10231271135013e04749ac351247bd6546.zip
virglrenderer: requires distro feature opengl
virglrenderer depends on 2 packages: * mesa: requires one of distro features opengl or vulkan * libepoxy: requires distro feature opengl So make virglrenderer requires distro feature opengl. Otherwise it fails to build world if 'opengl' doesn't exist in DISTRO_FEATURES. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/virglrenderer/virglrenderer_0.7.0.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-graphics/virglrenderer/virglrenderer_0.7.0.bb b/meta/recipes-graphics/virglrenderer/virglrenderer_0.7.0.bb
index 500ed4f2d8..225a0b8b0c 100644
--- a/meta/recipes-graphics/virglrenderer/virglrenderer_0.7.0.bb
+++ b/meta/recipes-graphics/virglrenderer/virglrenderer_0.7.0.bb
@@ -13,7 +13,10 @@ SRC_URI = "git://anongit.freedesktop.org/virglrenderer \
S = "${WORKDIR}/git"
-inherit autotools pkgconfig
+inherit autotools pkgconfig distro_features_check
BBCLASSEXTEND = "native nativesdk"
+REQUIRED_DISTRO_FEATURES = "opengl"
+REQUIRED_DISTRO_FEATURES_class-native = ""
+REQUIRED_DISTRO_FEATURES_class-nativesdk = ""