diff options
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.inc | 7 |
1 files changed, 5 insertions, 2 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 872fef55..548394d1 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | |||
@@ -153,6 +153,9 @@ GLES3_HEADER_REMOVALS:mx8mm = "gl31.h gl32.h" | |||
153 | GLES3_HEADER_REMOVALS:mx8qxp = "" | 153 | GLES3_HEADER_REMOVALS:mx8qxp = "" |
154 | GLES3_HEADER_REMOVALS:mx8qm = "" | 154 | GLES3_HEADER_REMOVALS:mx8qm = "" |
155 | 155 | ||
156 | LIBVULKAN_VERSION_MAJOR = "1" | ||
157 | LIBVULKAN_VERSION = "${LIBVULKAN_VERSION_MAJOR}.1.6" | ||
158 | |||
156 | do_install () { | 159 | do_install () { |
157 | install -d ${D}${libdir} | 160 | install -d ${D}${libdir} |
158 | install -d ${D}${includedir} | 161 | install -d ${D}${includedir} |
@@ -224,8 +227,8 @@ do_install () { | |||
224 | if [ "${IS_MX8}" = "1" ]; then | 227 | if [ "${IS_MX8}" = "1" ]; then |
225 | # Rename the vulkan implementation library which is wrapped by the vulkan-loader | 228 | # Rename the vulkan implementation library which is wrapped by the vulkan-loader |
226 | # library of the same name | 229 | # library of the same name |
227 | MAJOR=1 | 230 | MAJOR=${LIBVULKAN_VERSION_MAJOR} |
228 | FULL=$MAJOR.1.6 | 231 | FULL=${LIBVULKAN_VERSION} |
229 | mv ${D}${libdir}/libvulkan.so.$FULL ${D}${libdir}/libvulkan_VSI.so.$FULL | 232 | mv ${D}${libdir}/libvulkan.so.$FULL ${D}${libdir}/libvulkan_VSI.so.$FULL |
230 | patchelf --set-soname libvulkan_VSI.so.$MAJOR ${D}${libdir}/libvulkan_VSI.so.$FULL | 233 | patchelf --set-soname libvulkan_VSI.so.$MAJOR ${D}${libdir}/libvulkan_VSI.so.$FULL |
231 | rm ${D}${libdir}/libvulkan.so.$MAJOR ${D}${libdir}/libvulkan.so | 234 | rm ${D}${libdir}/libvulkan.so.$MAJOR ${D}${libdir}/libvulkan.so |