summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorIsmo Puustinen <ismo.puustinen@intel.com>2016-12-08 18:58:00 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-13 22:55:20 +0000
commita316b0b1975ced4c4a383169e63bccd9c1955374 (patch)
tree82c92b7fde840a4e462d3b7b6652edd6b49088aa /meta/recipes-graphics
parent934afbbf90ed07aafdf62bfc01129442b77f4ca8 (diff)
downloadpoky-a316b0b1975ced4c4a383169e63bccd9c1955374.tar.gz
libva: check for "opengl" feature
In case "opengl" is missing from DISTRO_FEATURES, libva fails to satisfy its dependencies. The dependency check is done by BitBake when meta-world-pkgdata gathers information about all available packages during image builds, even if libva isn't included in the build. This patch makes libva recipe be skipped if the "opengl" DISTRO_FEATURE isn't found. (From OE-Core rev: a78c420c4a2cf298e790b71b564a9f52949b966a) Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/libva/libva_1.7.3.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-graphics/libva/libva_1.7.3.bb b/meta/recipes-graphics/libva/libva_1.7.3.bb
index 9994158880..c7b723b06c 100644
--- a/meta/recipes-graphics/libva/libva_1.7.3.bb
+++ b/meta/recipes-graphics/libva/libva_1.7.3.bb
@@ -23,7 +23,9 @@ SRC_URI[sha256sum] = "22bc139498065a7950d966dbdb000cad04905cbd3dc8f3541f80d36c46
23 23
24DEPENDS = "libdrm virtual/mesa virtual/libgles1 virtual/libgles2 virtual/egl" 24DEPENDS = "libdrm virtual/mesa virtual/libgles1 virtual/libgles2 virtual/egl"
25 25
26inherit autotools pkgconfig 26inherit autotools pkgconfig distro_features_check
27
28REQUIRED_DISTRO_FEATURES = "opengl"
27 29
28EXTRA_OECONF = "--disable-dummy-driver" 30EXTRA_OECONF = "--disable-dummy-driver"
29 31