Fix broken Vulkan on S922X.
This commit is contained in:
parent
a216aecac5
commit
354361ea00
2 changed files with 11 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue