From 0488ffee322375584ba02591c8278216192ca5ce Mon Sep 17 00:00:00 2001 From: Daniel Baluta Date: Tue, 6 Sep 2022 17:12:42 +0300 Subject: [PATCH] zephyr: Fix DRC module compilation Add DRC files to Zephyr compilation to avoid failures like this: sof/src/audio/drc/drc_generic.c:188: undefined reference to `drc_lin2db_fixed' Signed-off-by: Daniel Baluta --- zephyr/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zephyr/CMakeLists.txt b/zephyr/CMakeLists.txt index dce851330..2b49ad238 100644 --- a/zephyr/CMakeLists.txt +++ b/zephyr/CMakeLists.txt @@ -749,6 +749,9 @@ zephyr_library_sources_ifdef(CONFIG_COMP_CROSSOVER zephyr_library_sources_ifdef(CONFIG_COMP_DRC ${SOF_AUDIO_PATH}/drc/drc.c ${SOF_AUDIO_PATH}/drc/drc_generic.c + ${SOF_AUDIO_PATH}/drc/drc_math_generic.c + ${SOF_AUDIO_PATH}/drc/drc_hifi3.c + ${SOF_AUDIO_PATH}/drc/drc_math_hifi3.c ) zephyr_library_sources_ifdef(CONFIG_COMP_MULTIBAND_DRC