copier-host: add new file copier_host.c to copier folder

This new file is used to maintain host related code that used
by copier.

Signed-off-by: Baofeng Tian <baofeng.tian@intel.com>
This commit is contained in:
Baofeng Tian 2023-05-17 09:53:59 +08:00 committed by Ranjani Sridharan
parent 77dad39cc4
commit 6024a26c90
3 changed files with 11 additions and 1 deletions

View File

@ -1,4 +1,4 @@
add_local_sources(sof copier.c copier_hifi.c copier_generic.c)
add_local_sources(sof copier.c copier_hifi.c copier_generic.c copier_host.c)
if(CONFIG_IPC4_GATEWAY)
add_local_sources(sof
copier_ipcgtw.c

View File

@ -0,0 +1,9 @@
// SPDX-License-Identifier: BSD-3-Clause
//
// Copyright 2023 Intel Corporation. All rights reserved.
//
// Author: Baofeng Tian <baofeng.tian@intel.com>
#include <sof/trace/trace.h>
LOG_MODULE_DECLARE(copier, CONFIG_SOF_LOG_LEVEL);

View File

@ -625,6 +625,7 @@ zephyr_library_sources_ifdef(CONFIG_COMP_COPIER
${SOF_AUDIO_PATH}/copier/copier_generic.c
${SOF_AUDIO_PATH}/copier/copier_hifi.c
${SOF_AUDIO_PATH}/copier/copier.c
${SOF_AUDIO_PATH}/copier/copier_host.c
)
zephyr_library_sources_ifdef(CONFIG_MAXIM_DSM