linux: disable lima/panfrost when using libmali

This commit is contained in:
chewitt 2019-06-16 05:33:48 +00:00 committed by Christian Hewitt
parent 90d5d54614
commit 58941b464f

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() {