summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc22
1 files changed, 13 insertions, 9 deletions
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
index dcfb049b..242ed758 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
@@ -212,15 +212,19 @@ do_install () {
212 cp ${S}/gpu-core/usr/lib/fb/libVDK.so.1.2.0 ${D}${libdir}/libVDK-fb.so.1.2.0 212 cp ${S}/gpu-core/usr/lib/fb/libVDK.so.1.2.0 ${D}${libdir}/libVDK-fb.so.1.2.0
213 fi 213 fi
214 if [ "${IS_MX8}" = "1" ]; then 214 if [ "${IS_MX8}" = "1" ]; then
215 # Rename the vulkan implementation library which is wrapped by the vulkan-loader 215 if [ -n "${PACKAGES_VULKAN}" ]; then
216 # library of the same name 216 # Rename the vulkan implementation library which is wrapped by the vulkan-loader
217 MAJOR=${LIBVULKAN_VERSION_MAJOR} 217 # library of the same name
218 FULL=${LIBVULKAN_VERSION} 218 MAJOR=${LIBVULKAN_VERSION_MAJOR}
219 mv ${D}${libdir}/libvulkan.so.$FULL ${D}${libdir}/libvulkan_VSI.so.$FULL 219 FULL=${LIBVULKAN_VERSION}
220 patchelf --set-soname libvulkan_VSI.so.$MAJOR ${D}${libdir}/libvulkan_VSI.so.$FULL 220 mv ${D}${libdir}/libvulkan.so.$FULL ${D}${libdir}/libvulkan_VSI.so.$FULL
221 rm ${D}${libdir}/libvulkan.so.$MAJOR ${D}${libdir}/libvulkan.so 221 patchelf --set-soname libvulkan_VSI.so.$MAJOR ${D}${libdir}/libvulkan_VSI.so.$FULL
222 ln -s libvulkan_VSI.so.$FULL ${D}${libdir}/libvulkan_VSI.so.$MAJOR 222 rm ${D}${libdir}/libvulkan.so.$MAJOR ${D}${libdir}/libvulkan.so
223 ln -s libvulkan_VSI.so.$FULL ${D}${libdir}/libvulkan_VSI.so 223 ln -s libvulkan_VSI.so.$FULL ${D}${libdir}/libvulkan_VSI.so.$MAJOR
224 ln -s libvulkan_VSI.so.$FULL ${D}${libdir}/libvulkan_VSI.so
225 else
226 rm -f ${D}${libdir}/libvulkan.so* ${D}${libdir}/libSPIRV_viv${SOLIBS}*
227 fi
224 fi 228 fi
225 229
226 # FIXME: MX6SL does not have 3D support; hack it for now 230 # FIXME: MX6SL does not have 3D support; hack it for now