summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2022-11-15 18:10:40 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2022-11-18 11:38:56 +0000
commit2876ad5de5a6ca0cc2a16af2228f10a8667db04d (patch)
tree0e3f6692f92fee444d3d6bafe254f4a4e09101df /recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
parent5af267b681f48c14780f3a1a61c4df25796d4a51 (diff)
downloadmeta-freescale-2876ad5de5a6ca0cc2a16af2228f10a8667db04d.tar.gz
imx-gpu-viv: update from 6.4.3.p4.2 to 6.4.3.p4.4
Update to the version used in lf5.15.52_2.1.0. Note that the the vulkan installable client driver is provided with a filename and soname that no longer clashes with the vulkan loader. Thus the rename and soname magic is dropped. License was updated to NXP EULA v39 August 2022. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 2ad610490aeb8ac723f1a796aaad56aec3872574)
Diffstat (limited to 'recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc')
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc15
1 files changed, 2 insertions, 13 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 5c4b68cc..169606c2 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
@@ -6,7 +6,7 @@
6DESCRIPTION = "GPU driver and apps for i.MX" 6DESCRIPTION = "GPU driver and apps for i.MX"
7SECTION = "libs" 7SECTION = "libs"
8LICENSE = "Proprietary" 8LICENSE = "Proprietary"
9LIC_FILES_CHKSUM = "file://COPYING;md5=d3c315c6eaa43e07d8c130dc3a04a011" 9LIC_FILES_CHKSUM = "file://COPYING;md5=5a0bf11f745e68024f37b4724a5364fe"
10 10
11DEPENDS += " \ 11DEPENDS += " \
12 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ 12 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \
@@ -177,9 +177,7 @@ IMX_SOC:mx8mq-nxp-bsp = "mx8mq"
177IMX_SOC:mx8mn-nxp-bsp = "mx8mn" 177IMX_SOC:mx8mn-nxp-bsp = "mx8mn"
178IMX_SOC:mx8ulp-nxp-bsp = "mx8ulp" 178IMX_SOC:mx8ulp-nxp-bsp = "mx8ulp"
179 179
180LIBVULKAN_VERSION_MAJOR = "1" 180LIBVULKAN_API_VERSION = "1.2.182"
181LIBVULKAN_VERSION = "${LIBVULKAN_VERSION_MAJOR}.2.1"
182LIBVULKAN_API_VERSION = "${LIBVULKAN_VERSION_MAJOR}.2.182"
183 181
184do_install () { 182do_install () {
185 install -d ${D}${libdir} 183 install -d ${D}${libdir}
@@ -258,15 +256,6 @@ do_install () {
258 fi 256 fi
259 257
260 if [ "${IS_MX8}" = "1" ]; then 258 if [ "${IS_MX8}" = "1" ]; then
261 # Rename the vulkan implementation library which is wrapped by the vulkan-loader
262 # library of the same name
263 MAJOR=${LIBVULKAN_VERSION_MAJOR}
264 FULL=${LIBVULKAN_VERSION}
265 mv ${D}${libdir}/libvulkan.so.$FULL ${D}${libdir}/libvulkan_VSI.so.$FULL
266 patchelf --set-soname libvulkan_VSI.so.$MAJOR ${D}${libdir}/libvulkan_VSI.so.$FULL
267 rm ${D}${libdir}/libvulkan.so.$MAJOR ${D}${libdir}/libvulkan.so
268 ln -s libvulkan_VSI.so.$FULL ${D}${libdir}/libvulkan_VSI.so.$MAJOR
269 ln -s libvulkan_VSI.so.$FULL ${D}${libdir}/libvulkan_VSI.so
270 if [ -z "${PACKAGES_VULKAN}" ]; then 259 if [ -z "${PACKAGES_VULKAN}" ]; then
271 set -f 260 set -f
272 for f in ${FILES:libvulkan-imx} ${FILES:libvulkan-imx-dev}; do 261 for f in ${FILES:libvulkan-imx} ${FILES:libvulkan-imx-dev}; do