[OE-core] [PATCH 2/6] piglit: add opengl to REQUIRED_DISTRO_FEATURES
Christopher Larson
kergoth at gmail.com
Wed Jan 4 22:57:51 UTC 2017
From: Christopher Larson <chris_larson at mentor.com>
This recipe depend on virtual/libgl, whose providers require the opengl distro
feature.
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
---
meta/recipes-graphics/piglit/piglit_git.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb
index 82adcde..b9cdce8 100644
--- a/meta/recipes-graphics/piglit/piglit_git.bb
+++ b/meta/recipes-graphics/piglit/piglit_git.bb
@@ -22,6 +22,9 @@ inherit cmake python3native distro_features_check bash-completion
# depends on virtual/libx11
REQUIRED_DISTRO_FEATURES = "x11"
+# depends on virtual/libgl
+REQUIRED_DISTRO_FEATURES += "opengl"
+
# The built scripts go into the temporary directory according to tempfile
# (typically /tmp) which can race if multiple builds happen on the same machine,
# so tell it to use a directory in ${B} to avoid overwriting.
--
2.8.0
More information about the Openembedded-core
mailing list