mirror of
https://github.com/physwizz/a155-U-u1.git
synced 2025-07-25 00:20:43 +00:00
27 lines
836 B
Makefile
27 lines
836 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
ifeq ($(CONFIG_MTK_GCOV_KERNEL),y)
|
|
GCOV_PROFILE := y
|
|
endif
|
|
DSP_VERSION := hifi3_v2
|
|
|
|
# adsp include path
|
|
subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/audio_ipi/include
|
|
subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/adsp/include
|
|
|
|
# common driver
|
|
obj-$(CONFIG_SND_SOC_MEDIATEK) += snd-soc-mtk-common.o
|
|
snd-soc-mtk-common-objs += mtk-afe-platform-driver.o mtk-afe-fe-dai.o mtk-mmap-ion.o
|
|
snd-soc-mtk-common-$(CONFIG_MTK_ECCCI_DRIVER) += mtk-usip.o
|
|
snd-soc-mtk-common-$(CONFIG_SND_SOC_MTK_SRAM) += mtk-sram-manager.o
|
|
snd-soc-mtk-common-$(CONFIG_SND_SOC_MTK_SMART_PHONE) += mtk-sp-pcm-ops.o mtk-afe-debug.o
|
|
|
|
# functions for external modules
|
|
obj-m += mtk-afe-external.o
|
|
|
|
# speaker dynamic detect
|
|
obj-m += mtk-sp-spk-amp.o
|
|
|
|
# BT CVSD driver
|
|
obj-$(CONFIG_SND_SOC_MTK_BTCVSD) += mtk-btcvsd.o
|