kernel-brax3-ubuntu-touch/sound/soc/mediatek/audio_scp/Makefile
erascape f319b992b1 kernel-5.15: Initial import brax3 UT kernel
* halium configs enabled

Signed-off-by: erascape <erascape@proton.me>
2025-09-23 15:17:10 +00:00

29 lines
1.1 KiB
Makefile

#
# Copyright (C) 2015 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.
#
# MTK Platform Support
# scp audio include path
subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/audio_ipi/include
subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/base/power/include
subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/scp/include
subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/scp/rv
# platform include path
subdir-ccflags-y += -I$(srctree)/sound/soc/mediatek/common
# object code
mtk-scp-audiocommon-objs := scp_audio_ipi.o audio_mbox.o
obj-$(CONFIG_MTK_SCP_AUDIO) += mtk-scp-audiocommon.o
mtk-scp-audio-objs := scp_audio_buf.o mtk-scp-audio-driver.o mtk-scp-audio-pcm.o mtk-scp-audio-mem-control.o
obj-$(CONFIG_MTK_SCP_AUDIO) += mtk-scp-audio.o