summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc16
1 files changed, 11 insertions, 5 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 7ac339bf..0194cfc1 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
@@ -241,11 +241,17 @@ do_install () {
241 ln -sf libGLESv2.so.2.0.0 ${D}${libdir}/libGLESv2.so 241 ln -sf libGLESv2.so.2.0.0 ${D}${libdir}/libGLESv2.so
242 242
243 if [ "${IS_MX8}" = "1" ]; then 243 if [ "${IS_MX8}" = "1" ]; then
244 # Change libvulkon.so driver soname, so that it does not clash with the 244 # Rename the vulkan implementation library which is wrapped by the vulkan-loader
245 # vulkan-loader libvulkan.so 245 # library of the same name
246 patchelf --set-soname libvulkan_VSI.so.1 ${D}${libdir}/libvulkan-${backend}.so 246 MAJOR=1
247 mv ${D}${libdir}/libvulkan-${backend}.so ${D}${libdir}/libvulkan_VSI.so 247 FULL=$MAJOR.1.3
248 mv ${D}${libdir}/libvulkan-${backend}.so.$FULL ${D}${libdir}/libvulkan_VSI.so.$FULL
249 patchelf --set-soname libvulkan_VSI.so.$MAJOR ${D}${libdir}/libvulkan_VSI.so.$FULL
250 rm ${D}${libdir}/libvulkan.so.$MAJOR ${D}${libdir}/libvulkan.so
251 ln -s libvulkan_VSI.so.$FULL ${D}${libdir}/libvulkan_VSI.so.$MAJOR
252 ln -s libvulkan_VSI.so.$FULL ${D}${libdir}/libvulkan_VSI.so
248 fi 253 fi
254
249 for header in ${GLES3_HEADER_REMOVALS}; do 255 for header in ${GLES3_HEADER_REMOVALS}; do
250 rm -f ${D}${includedir}/GLES3/${header} 256 rm -f ${D}${includedir}/GLES3/${header}
251 done 257 done
@@ -310,7 +316,7 @@ FILES_libgbm-imx_mx8 = "${libdir}/libgbm*${SOLIBS}"
310FILES_libgbm-imx-dev_mx8 = "${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h ${libdir}/libgbm${SOLIBSDEV}" 316FILES_libgbm-imx-dev_mx8 = "${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h ${libdir}/libgbm${SOLIBSDEV}"
311RDEPENDS_libgbm-imx_append_mx8 = " libdrm" 317RDEPENDS_libgbm-imx_append_mx8 = " libdrm"
312 318
313FILES_libvulkan-imx = "${libdir}/libvulkan_VSI${SOLIBS} ${libdir}/libSPIRV_viv${SOLIBS}" 319FILES_libvulkan-imx = "${libdir}/libvulkan_VSI${REALSOLIBS} ${libdir}/libSPIRV_viv${SOLIBS}"
314FILES_libvulkan-imx-dev = "${includedir}/vulkan ${libdir}/libvulkan_VSI${SOLIBSDEV}" 320FILES_libvulkan-imx-dev = "${includedir}/vulkan ${libdir}/libvulkan_VSI${SOLIBSDEV}"
315 321
316FILES_libopenvx-imx = " \ 322FILES_libopenvx-imx = " \