Files
android/drivers/misc/mediatek/gpu/Makefile
T
threeeye bc1d038eac REVVL 6 Pro kernel bring-up: full working tree snapshot (2026-09-12)
Squashed backup commit (no shallow-clone history issues) of
xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream
commit 9eece662e) plus all fixes applied to get everpal_defconfig building
clean against a modern (GCC 15.2.0) toolchain -- see the previous commit
message on the lineage-23.2 branch (also in this repo history is not
available here since this is a squashed snapshot; full incremental history
lives in the local DL380 checkout and the upstream GitHub remote).

Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
2026-09-12 13:36:46 +00:00

42 lines
1.3 KiB
Makefile

#
# Copyright (C) 2015 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.
#
obj-y += ged/
obj-y += hal/
MTK_GPU_VERSION = $(subst ",,$(CONFIG_MTK_GPU_VERSION))
$(info MTK_GPU_VERSION 1 = $(word 1,$(MTK_GPU_VERSION)))
# GPU R5P0
ifeq ($(CONFIG_MTK_GPU_R5P0),y)
obj-y += $(subst ",,$(CONFIG_MTK_PLATFORM))/
else ifeq ($(CONFIG_MACH_MT6781),y)
$(info *direct build mali-r32p1 for CONFIG_MACH_MT6781)
obj-y += gpu_mali/mali_valhall/mali-r32p1/drivers/gpu/arm/midgard/
else ifneq ($(word 1,$(MTK_GPU_VERSION)),)
obj-y += gpu_$(word 1,$(MTK_GPU_VERSION))/
else
obj-y += $(subst ",,$(CONFIG_MTK_PLATFORM))/
endif
ifneq (,$(filter $(CONFIG_MTK_PLATFORM), "mt6785"))
obj-y += gpu_bm/
endif
obj-$(CONFIG_MACH_MT6885) += gpu_bm/
obj-$(CONFIG_MACH_MT6893) += gpu_bm/
obj-$(CONFIG_MACH_MT6873) += gpu_bm/
obj-$(CONFIG_MACH_MT6853) += gpu_bm/
obj-$(CONFIG_MACH_MT6833) += gpu_bm/
obj-$(CONFIG_MACH_MT6877) += gpu_bm/
obj-$(CONFIG_MACH_MT6781) += gpu_bm/