]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-gpu-viv: fix vulkan headers issue
authorGary Bisson <gary.bisson@boundarydevices.com>
Wed, 11 Jul 2018 10:22:17 +0000 (12:22 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 11 Jul 2018 17:19:08 +0000 (14:19 -0300)
They need to be removed in favor of the standard ones.
Otherwise GStreamer (or most likely other packages) throws this error:
"ERROR: The file /usr/include/vulkan/vk_sdk_platform.h is installed by
 both vulkan and imx-gpu-viv, aborting"

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
(cherry picked from commit 6b4da0b0a91637fe54f89d2389e43625ba1d753c)

recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc

index 2f0abef107d2352ca7a59ac8d573f7b73145c601..751584441eb14ec835029e5a5d2963f335731c62 100644 (file)
@@ -137,7 +137,7 @@ do_install () {
     cp -r ${S}/gpu-tools/gmem-info/usr/bin/* ${D}${bindir}
 
     # Use vulkan header from vulkan recipe to support vkmark
-    rm -rf ${D}${includedir}/vulkan/vulkan.h
+    rm -rf ${D}${includedir}/vulkan/
 
     install -d ${D}${libdir}/pkgconfig