30 lines
1.1 KiB
Makefile
30 lines
1.1 KiB
Makefile
#
|
|
# 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 http://www.gnu.org/licenses/gpl-2.0.html for more details.
|
|
#
|
|
|
|
ccflags-y += -I$(srctree)/include/
|
|
ccflags-y += -I$(srctree)/drivers/gpu/mediatek/gpufreq_v1/include/
|
|
ccflags-y += -I$(srctree)/drivers/gpu/mediatek/mt-plat/
|
|
ccflags-y += -I$(srctree)/drivers/gpu/mediatek/ged/include/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/aee/aed/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/include/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/include/mt-plat/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/power_throttling/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/sda/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/pbm/
|
|
|
|
obj-$(CONFIG_MTK_GPU_SUPPORT) += mtk_gpufreq.o
|
|
|
|
mtk_gpufreq-y += \
|
|
mtk_gpufreq_common.o \
|
|
$(MTK_PLATFORM)/mtk_gpufreq_plat.o
|
|
|