piglit: add opengl to REQUIRED_DISTRO_FEATURES

This recipe depend on virtual/libgl, whose providers require the opengl distro
feature.

(From OE-Core rev: 009c088f6d0bf75ebb17825f6a3aba356a5b659d)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Christopher Larson 2017-01-04 15:57:51 -07:00 committed by Richard Purdie
parent 99ae8c0919
commit 9843d2227c
1 changed files with 3 additions and 0 deletions

View 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.