#
# Copyright (C) 2019 MediaTek Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#

ifeq ($(CONFIG_GPU_VERSION_MALI_MIDGARD_R26P0),y)
	obj-$(CONFIG_GPU_VERSION_MALI_MIDGARD_R26P0) += midgard-r26p0/
else
	MTK_GPU_VERSION = $(subst ",,$(CONFIG_MTK_GPU_VERSION))
	obj-y += mali_$(word 2,$(MTK_GPU_VERSION))/
endif
