6db4831e98
Android 14
53 lines
2.5 KiB
Makefile
53 lines
2.5 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.
|
|
#
|
|
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/dramc/$(MTK_PLATFORM)/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/power/$(MTK_PLATFORM)/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/base/power/include/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/base/power/include/leakage_table_v2/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/thermal/$(MTK_PLATFORM)/inc/mach/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/video/$(MTK_PLATFORM)/videox/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/video/$(MTK_PLATFORM)/dispsys/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/video/$(MTK_PLATFORM)/dispsys/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/cmdq/v3/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/cmdq/v3/$(MTK_PLATFORM)/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/lcm/inc/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/include/mt-plat/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/include/mt-plat/$(MTK_PLATFORM)/include/mach/
|
|
ccflags-y += -I$(srctree)/drivers/clk/mediatek/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/gpu/ged/include/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/base/power/eem_v2/$(MTK_PLATFORM)/inc/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/freqhopping/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/freqhopping/$(CONFIG_MTK_PLATFORM)
|
|
ccflags-y += -Wno-unused-variable
|
|
ccflags-y += -Wno-unused-function
|
|
|
|
ccflags-$(CONFIG_MTK_GPU_SPM_DVFS_SUPPORT) += -DMTK_GPU_SPM
|
|
|
|
ccflags-$(CONFIG_MTK_FREQ_HOPPING) += -DFHCTL_READY
|
|
#$(info *CONFIG_MTK_FREQ_HOPPING enable = $(CONFIG_MTK_FREQ_HOPPING))
|
|
|
|
obj-$(CONFIG_MACH_MT6768) += mtk_picachu.o
|
|
|
|
ifneq ($(CONFIG_FPGA_EARLY_PORTING), y)
|
|
obj-$(CONFIG_MACH_MT6768) += mtk_gpufreq_core.o
|
|
obj-$(CONFIG_MACH_MT6768) += mtk_gpu_log.o
|
|
ifeq ($(CONFIG_MTK_TINYSYS_SSPM_SUPPORT), y)
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/sspm/v1
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/sspm/$(CONFIG_MTK_PLATFORM)
|
|
ccflags-y += -I$(srctree)/drivers/devfreq/
|
|
ccflags-y += -DCONFIG_MTK_QOS_SUPPORT
|
|
obj-$(CONFIG_MACH_MT6768) += mtk_gpu_bw.o
|
|
endif
|
|
endif
|