aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/vulkan/vulkan-demos_git.bb
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2017-08-23 10:50:16 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-24 09:33:20 +0100
commit152b59e07aed76de158d553178a2710330bc4cc1 (patch)
treee66305b594930295889a64b2eb0433a65fbb7f95 /meta/recipes-graphics/vulkan/vulkan-demos_git.bb
parentdcb6cd19fb8c639cb844d116fb83827267f37421 (diff)
downloadopenembedded-core-contrib-152b59e07aed76de158d553178a2710330bc4cc1.tar.gz
vulkan: Only build when 'vulkan' distro flag is set
Only build with the vulkan distro flag is set. (References to this flag were found in the mesa recipe.) In addition, only set the RRECOMEMND to mesa, if 'opengl' flag is set. Mesa required opengl distro flag to build. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/vulkan/vulkan-demos_git.bb')
-rw-r--r--meta/recipes-graphics/vulkan/vulkan-demos_git.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-graphics/vulkan/vulkan-demos_git.bb b/meta/recipes-graphics/vulkan/vulkan-demos_git.bb
index 828ef501a7..0b8943508b 100644
--- a/meta/recipes-graphics/vulkan/vulkan-demos_git.bb
+++ b/meta/recipes-graphics/vulkan/vulkan-demos_git.bb
@@ -15,6 +15,8 @@ SRCREV = "18df00c7b4677b0889486e16977857aa987947e2"
UPSTREAM_CHECK_GITTAGREGEX = "These are not the releases you're looking for"
S = "${WORKDIR}/git"
+REQUIRED_DISTRO_FEATURES = 'vulkan'
+
inherit cmake distro_features_check
DEPENDS = "vulkan assimp"