From 7625eda9b036fffb2a3cda5480a21c10c5287f03 Mon Sep 17 00:00:00 2001 From: Allen-KH Cheng Date: Fri, 3 Sep 2021 18:01:01 +0800 Subject: [PATCH] platform: mtk: compile afe support for mt8195 The AFE is a audio hw interface on the mt8195 platform. This commit brings the compile support for the AFE. The audio front-end essentially consists of voice and audio data paths Signed-off-by: YC Hung Signed-off-by: Allen-KH Cheng --- src/drivers/mediatek/mt8195/CMakeLists.txt | 2 +- src/platform/mt8195/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/mediatek/mt8195/CMakeLists.txt b/src/drivers/mediatek/mt8195/CMakeLists.txt index d4fafaf25..a0b748083 100644 --- a/src/drivers/mediatek/mt8195/CMakeLists.txt +++ b/src/drivers/mediatek/mt8195/CMakeLists.txt @@ -1,6 +1,6 @@ # SPDX-License-Identifier: BSD-3-Clause add_local_sources(sof ipc.c timer.c - interrupt.c + interrupt.c uart.c afe-memif.c afe-dai.c afe-drv.c ) diff --git a/src/platform/mt8195/CMakeLists.txt b/src/platform/mt8195/CMakeLists.txt index 3d3806b32..1452f7ec4 100644 --- a/src/platform/mt8195/CMakeLists.txt +++ b/src/platform/mt8195/CMakeLists.txt @@ -2,5 +2,5 @@ add_subdirectory(lib) -add_local_sources(sof platform.c) +add_local_sources(sof platform.c printf.c afe-platform.c) target_include_directories(sof_options INTERFACE ${PROJECT_SOURCE_DIR}/src/platform/mt8195/include/platform)