Skip to content

Commit 0ab255c

Browse files
committed
zephyr : import dts library
Importing DTS library here to ensure DTS library is built into SOF firmware as a static library. Signed-off-by: Joe Cheng <joe.cheng@xperi.com>
1 parent ab9fbfc commit 0ab255c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

zephyr/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,9 @@ zephyr_library_sources_ifdef(CONFIG_COMP_GOOGLE_HOTWORD_DETECT
711711
zephyr_library_sources_ifdef(CONFIG_DTS_CODEC
712712
${SOF_AUDIO_PATH}/module_adapter/module/dts/dts.c
713713
)
714+
if (CONFIG_DTS_CODEC)
715+
zephyr_library_import(DtsCodec ${SOF_AUDIO_PATH}/module_adapter/lib/release/libdts-sof-interface-i32.a)
716+
endif()
714717

715718
zephyr_library_sources_ifdef(CONFIG_DTS_CODEC_STUB
716719
${SOF_AUDIO_PATH}/module_adapter/module/dts/dts_stub.c

0 commit comments

Comments
 (0)