Skip to content

Commit

Permalink
zephyr : import dts library
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
joechengxperi authored and cujomalainey committed Nov 14, 2023
1 parent f36af19 commit 98d492a
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions zephyr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -751,10 +751,15 @@ zephyr_library_sources_ifdef(CONFIG_COMP_GOOGLE_HOTWORD_DETECT
zephyr_library_sources_ifdef(CONFIG_DTS_CODEC
${SOF_AUDIO_PATH}/module_adapter/module/dts/dts.c
)

zephyr_library_sources_ifdef(CONFIG_DTS_CODEC_STUB
${SOF_AUDIO_PATH}/module_adapter/module/dts/dts_stub.c
)
if (CONFIG_DTS_CODEC)
if (CONFIG_DTS_CODEC_STUB)
zephyr_library_sources(
${SOF_AUDIO_PATH}/module_adapter/module/dts/dts_stub.c
)
else()
zephyr_library_import(DtsCodec ${SOF_AUDIO_PATH}/module_adapter/lib/release/libdts-sof-interface-i32.a)
endif()
endif()

zephyr_library_sources_ifdef(CONFIG_WAVES_CODEC
${SOF_AUDIO_PATH}/module_adapter/module/waves/waves.c
Expand Down

0 comments on commit 98d492a

Please sign in to comment.