aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amdfalconx86
diff options
context:
space:
mode:
authorAhsan Hussain <ahsan_hussain@mentor.com>2017-09-22 07:45:55 +0500
committerAhsan Hussain <ahsan_hussain@mentor.com>2017-09-22 10:16:30 +0500
commitdbed12445d1d1c621c296b7dccf082afa0f8b4b6 (patch)
tree054b681b9b4243988ddf83ace527908675b3dca0 /meta-amdfalconx86
parentd7f533c87332abe0a0517c5c2fe533193500db7d (diff)
downloadmeta-amd-dbed12445d1d1c621c296b7dccf082afa0f8b4b6.tar.gz
meta-amd-dbed12445d1d1c621c296b7dccf082afa0f8b4b6.tar.bz2
meta-amd-dbed12445d1d1c621c296b7dccf082afa0f8b4b6.zip
vulkan-tools: Move the changes to original recipes
meta-steppeeagle and meta-seattle do not have a vulkan-tools recipe, so move the relevant changes to the original recipes for now. Signed-off-by: Ahsan Hussain <ahsan_hussain@mentor.com>
Diffstat (limited to 'meta-amdfalconx86')
-rw-r--r--meta-amdfalconx86/recipes-graphics/lunarg-sdk/vulkan-tools_1.0.26.bb12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-amdfalconx86/recipes-graphics/lunarg-sdk/vulkan-tools_1.0.26.bb b/meta-amdfalconx86/recipes-graphics/lunarg-sdk/vulkan-tools_1.0.26.bb
index b5c0b85c..ad324dce 100644
--- a/meta-amdfalconx86/recipes-graphics/lunarg-sdk/vulkan-tools_1.0.26.bb
+++ b/meta-amdfalconx86/recipes-graphics/lunarg-sdk/vulkan-tools_1.0.26.bb
@@ -53,3 +53,15 @@ do_install_append() {
cp -f ${S}/layersvt/${HOST_OS}/*.json ${D}${sysconfdir}/vulkan/explicit_layer.d
cp -f ${S}/vktrace/src/vktrace_layer/${HOST_OS}/*.json ${D}${sysconfdir}/vulkan/explicit_layer.d
}
+
+# Conditional building of vktraceviewer
+QTBITS ?= "${@bb.utils.contains('BBFILE_COLLECTIONS', 'qt5-layer', 'cmake_qt5', '',d)}"
+inherit ${QTBITS}
+DEPENDS += "${@base_conditional('QTBITS', '', '', 'libxcb', d)}"
+RDEPENDS_${PN}_append = " ${@base_conditional('QTBITS', '', '', 'qtsvg', d)}"
+do_install_append() {
+ if [ "${QTBITS}" != "" ]
+ then
+ install ${B}/vktrace/vktraceviewer ${D}${bindir}
+ fi
+}