From 6957a938079faf94051b78c2b0e0feedd6a1924e Mon Sep 17 00:00:00 2001 From: Daniel Baluta Date: Wed, 11 May 2022 15:26:19 +0300 Subject: [PATCH] zephyr: Fix compile error after switching to module_adapter naming There are few left paths and config names after switching from codec_adapter to module_adapter. Without this building codec modules fails Fixes: b4591ca8f464 ("codec_adapter: rename it to module_adapter and fix all includes") Signed-off-by: Daniel Baluta --- zephyr/CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/zephyr/CMakeLists.txt b/zephyr/CMakeLists.txt index d01b72a5d043..2f803eacedaf 100644 --- a/zephyr/CMakeLists.txt +++ b/zephyr/CMakeLists.txt @@ -610,14 +610,14 @@ zephyr_library_sources_ifdef(CONFIG_COMP_VOLUME ${SOF_AUDIO_PATH}/volume/volume.c ) -zephyr_library_sources_ifdef(CONFIG_COMP_CODEC_ADAPTER - ${SOF_AUDIO_PATH}/codec_adapter/codec_adapter.c - ${SOF_AUDIO_PATH}/codec_adapter/codec/generic.c +zephyr_library_sources_ifdef(CONFIG_COMP_MODULE_ADAPTER + ${SOF_AUDIO_PATH}/module_adapter/module_adapter.c + ${SOF_AUDIO_PATH}/module_adapter/module/generic.c ) -if (CONFIG_COMP_CODEC_ADAPTER) +if (CONFIG_COMP_MODULE_ADAPTER) zephyr_library_sources_ifdef(CONFIG_CADENCE_CODEC - ${SOF_AUDIO_PATH}/codec_adapter/codec/cadence.c + ${SOF_AUDIO_PATH}/module_adapter/module/cadence.c ) if (CONFIG_CADENCE_CODEC_MP3_DEC)