# Copyright (C) 2017 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.
#

subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/performance/perf_ioctl/ \
		    -I$(srctree)/drivers/misc/mediatek/performance/include/ \
		    -I$(srctree)/drivers/misc/mediatek/base/power/include/ \
		    -I$(srctree)/drivers/misc/mediatek/include/

ifeq ($(CONFIG_MACH_MT6739),y)
subdir-ccflags-y += -DMTK_MT6739_MTK_CPU_FREQ
endif

obj-y += perfmgr_main.o
obj-y += base/

obj-y += boost_ctrl/
