#
# 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 the
# GNU General Public License for more details.
#
ccflags-y += -I$(DEVICE_MODULES_PATH)/drivers/misc/mediatek/asrc
ccflags-y += -I$(DEVICE_MODULES_PATH)/drivers/misc/mediatek/asrc/common

#obj-$(CONFIG_MTK_AUDIO_ASRC) += $(subst ",,$(CONFIG_MTK_PLATFORM))/
#ifeq ($(CONFIG_MTK_AUDIO_ASRC),y)
#obj-$(CONFIG_SND_SOC_MT8532) += mt8532/
#endif

obj-$(CONFIG_AUDIO_ASRC_MT8532) += mt8532/
