aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/eglinfo/eglinfo.inc
diff options
context:
space:
mode:
authorWenzong Fan <wenzong.fan@windriver.com>2015-10-21 04:23:55 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-16 11:14:38 +0000
commit3edf08b38b0af93cef0933b061349264dc86d54c (patch)
tree2f99a5328a7663ef410def2023903b2b2d4f230c /meta/recipes-graphics/eglinfo/eglinfo.inc
parenta3310eb5a447864e82a38cb7852f30c17c0b91bb (diff)
downloadopenembedded-core-contrib-3edf08b38b0af93cef0933b061349264dc86d54c.tar.gz
recipes: add distro_features_check for some packages
* The packages that depends on gtk+3 require any of distro features from ${GTK3DISTROFEATURES} * The packages that depends on virtual/egl, virtual/libgl ... require distro feature 'opengl' Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-graphics/eglinfo/eglinfo.inc')
-rw-r--r--meta/recipes-graphics/eglinfo/eglinfo.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-graphics/eglinfo/eglinfo.inc b/meta/recipes-graphics/eglinfo/eglinfo.inc
index b87688af72..fb891755db 100644
--- a/meta/recipes-graphics/eglinfo/eglinfo.inc
+++ b/meta/recipes-graphics/eglinfo/eglinfo.inc
@@ -11,7 +11,9 @@ SRCREV = "4b317648ec6cf39556a9e5d8078f605bc0edd5de"
S = "${WORKDIR}/git"
-inherit waf
+inherit waf distro_features_check
+# depends on virtual/egl
+REQUIRED_DISTRO_FEATURES ?= "opengl"
# BSP layers should add .bbappend files for the -x11 and -fb .bb recipes, which
# append the respective EGL/OpenGLES/OpenVG libraries to DEPENDS and set