Fix broken Vulkan on S922X.

This commit is contained in:
fewtarius 2023-08-28 14:48:42 +00:00
parent a216aecac5
commit 354361ea00
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
2 changed files with 11 additions and 0 deletions

View file

@ -20,4 +20,7 @@ makeinstall_target() {
tar -xvJf ${PKG_BUILD}/mali.tar.xz -C ${INSTALL} tar -xvJf ${PKG_BUILD}/mali.tar.xz -C ${INSTALL}
mv ${INSTALL}/lib/${TARGET_ARCH}-linux-gnu/* ${INSTALL}/usr/lib mv ${INSTALL}/lib/${TARGET_ARCH}-linux-gnu/* ${INSTALL}/usr/lib
rm -r ${INSTALL}/lib rm -r ${INSTALL}/lib
tar -xvJf ${PKG_BUILD}/rootfs_additions.tar.xz -C ${INSTALL}/usr/share
mv ${INSTALL}/usr/share/etc/vulkan/* ${INSTALL}/usr/share/vulkan/
rm -r ${INSTALL}/usr/share/etc
} }

View file

@ -99,3 +99,11 @@ if [ "${VULKAN_SUPPORT}" = "yes" ]; then
else else
PKG_MESON_OPTS_TARGET+=" -Dvulkan-drivers=" PKG_MESON_OPTS_TARGET+=" -Dvulkan-drivers="
fi fi
post_makeinstall_target() {
case ${DEVICE} in
S922X)
rm -f ${INSTALL}/usr/lib/libvulkan_panfrost.so ${INSTALL}/usr/share/vulkan/icd.d/panfrost_icd.aarch64.json
;;
esac
}