Merge pull request #3629 from chewitt/linux_lima_panfrost

linux: disable lima/panfrost when using libmali
This commit is contained in:
MilhouseVH 2019-07-03 16:41:56 +01:00 committed by GitHub
commit 9e5fe80e2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,6 +89,12 @@ post_patch() {
sed -i -e "s|^CONFIG_ISCSI_IBFT_FIND=.*$|# CONFIG_ISCSI_IBFT_FIND is not set|" $PKG_BUILD/.config
sed -i -e "s|^CONFIG_ISCSI_IBFT=.*$|# CONFIG_ISCSI_IBFT is not set|" $PKG_BUILD/.config
fi
# disable lima/panfrost if libmali is configured
if [ "$OPENGLES" = "libmali" ]; then
sed -e "s|^CONFIG_DRM_LIMA=.*$|# CONFIG_DRM_LIMA is not set|" -i $PKG_BUILD/.config
sed -e "s|^CONFIG_DRM_PANFROST=.*$|# CONFIG_DRM_PANFROST is not set|" -i $PKG_BUILD/.config
fi
}
make_host() {