]> code.ossystems Code Review - openembedded-core.git/commitdiff
piglit: add opengl to REQUIRED_DISTRO_FEATURES
authorChristopher Larson <chris_larson@mentor.com>
Wed, 4 Jan 2017 22:57:51 +0000 (15:57 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Jan 2017 13:53:44 +0000 (13:53 +0000)
This recipe depend on virtual/libgl, whose providers require the opengl distro
feature.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/piglit/piglit_git.bb

index 82adcdeca17e437a5947c0aeec5654bef7a36b5a..b9cdce830754748cc9309ab53b5f0a768b5d4570 100644 (file)
@@ -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.