kernel_samsung_a34x-permissive/drivers/misc/mediatek/vow/ver01/Makefile

28 lines
920 B
Makefile
Raw Normal View History

#
# Copyright (C) 2020 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.
#
ifeq ($(CONFIG_MTK_TINYSYS_SCP_SUPPORT),y)
ccflags-y += -I$(srctree)/drivers/misc/mediatek/scp/include
ifeq ($(CONFIG_MACH_MT6779),y)
ccflags-y += -I$(srctree)/drivers/misc/mediatek/audio_ipi/common_v1/framework
else
ccflags-y += -I$(srctree)/drivers/misc/mediatek/audio_ipi/common_v2/framework
endif
endif
ccflags-y += -I$(srctree)/drivers/misc/mediatek/vow
mtk-vow-objs := \
vow.o \
vow_scp.o
obj-$(CONFIG_MTK_VOW_SUPPORT) += mtk-vow.o