summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/virglrenderer/virglrenderer_0.7.0.bb
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:12:26 +0000
commit02262c2a7b38c45a9e0ebb2dbfa53efae801c4d0 (patch)
tree1b388fc51f5b82cc7f8233f9edc3217a9963661a /meta/recipes-graphics/virglrenderer/virglrenderer_0.7.0.bb
parent9eb09f7af38850cd6a3e9a90d4240e4f42c6765a (diff)
downloadpoky-02262c2a7b38c45a9e0ebb2dbfa53efae801c4d0.tar.gz
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. (From OE-Core rev: 63c98d10231271135013e04749ac351247bd6546) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/virglrenderer/virglrenderer_0.7.0.bb')
-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 \
13 13
14S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
15 15
16inherit autotools pkgconfig 16inherit autotools pkgconfig distro_features_check
17 17
18BBCLASSEXTEND = "native nativesdk" 18BBCLASSEXTEND = "native nativesdk"
19 19
20REQUIRED_DISTRO_FEATURES = "opengl"
21REQUIRED_DISTRO_FEATURES_class-native = ""
22REQUIRED_DISTRO_FEATURES_class-nativesdk = ""