File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ if(zephyr) ### Zephyr ###
77 add_subdirectory (dts/llext ${PROJECT_BINARY_DIR} /dts_llext )
88 add_dependencies (app dts )
99
10- else (CONFIG_DTS_CODEC )
10+ elseif (CONFIG_DTS_CODEC)
1111 zephyr_library_sources (dts/dts.c )
1212 if (CONFIG_DTS_CODEC_STUB)
1313 zephyr_library_sources (dts/dts_stub.c )
Original file line number Diff line number Diff line change 22# SPDX-License-Identifier: Apache-2.0
33
44if (CONFIG_DTS_CODEC_STUB)
5- sof_llext_build ("dts"
6- SOURCES ../dts.c
7- ../dts_stub.c
8- )
9- target_include_directories (dts_llext_lib PRIVATE
10- "../../../../../third_party/include"
11- )
5+ sof_llext_build ("dts"
6+ SOURCES ../dts.c
7+ ../dts_stub.c
8+ )
9+ target_include_directories (dts_llext_lib PRIVATE
10+ "../../../../../third_party/include"
11+ )
12+ elseif (CONFIG_DTS_CODEC STREQUAL "m" )
13+ sof_llext_build ("dts"
14+ SOURCES ../dts.c
15+ INCLUDES "${sof_top_dir} /third_party/include"
16+ LIBS_PATH "${sof_top_dir} /third_party/lib/"
17+ LIBS dts-sof-interface-i32 m c gcc
18+ )
19+
1220else ()
1321message (FATAL_ERROR "Add library linking support in src/audio/codec/dts/llext/CMakeLists.txt" )
1422endif ()
Original file line number Diff line number Diff line change @@ -138,6 +138,10 @@ index = __COUNTER__
138138#include <audio/tdfb/tdfb.toml>
139139#endif
140140
141+ #if defined(CONFIG_DTS_CODEC ) || defined(LLEXT_FORCE_ALL_MODULAR )
142+ #include <audio/codec/dts/dts.toml>
143+ #endif
144+
141145#if defined(CONFIG_COMP_RTNR ) || defined(LLEXT_FORCE_ALL_MODULAR )
142146#include <audio/rtnr/rtnr.toml>
143147#endif
You can’t perform that action at this time.
0 commit comments