Skip to content

Commit

Permalink
llext: add modules to the main SOF library
Browse files Browse the repository at this point in the history
Add all supported modules to the main SOF library, loaded by default
at boot-time.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
  • Loading branch information
lyakh committed Dec 19, 2024
1 parent 247616c commit 404413e
Show file tree
Hide file tree
Showing 21 changed files with 26 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/audio/aria/llext/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ sof_llext_build("aria"
../aria_hifi5.c
../aria_hifi3.c
../aria_generic.c
LIB openmodules
)
1 change: 1 addition & 0 deletions src/audio/asrc/llext/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ sof_llext_build("asrc"
../asrc_farrow.c
../asrc_farrow_generic.c
../asrc_ipc4.c
LIB openmodules
)
1 change: 1 addition & 0 deletions src/audio/codec/dts/llext/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ if(CONFIG_DTS_CODEC_STUB)
sof_llext_build("dts"
SOURCES ../dts.c
../dts_stub.c
LIB openmodules
)
target_include_directories(dts_llext_lib PRIVATE
"../../../../../third_party/include"
Expand Down
1 change: 1 addition & 0 deletions src/audio/crossover/llext/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ sof_llext_build("crossover"
SOURCES ../crossover.c
../crossover_generic.c
../crossover_ipc4.c
LIB openmodules
)
1 change: 1 addition & 0 deletions src/audio/dcblock/llext/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ sof_llext_build("dcblock"
../dcblock_hifi3.c
../dcblock_hifi4.c
../dcblock_ipc4.c
LIB openmodules
)
1 change: 1 addition & 0 deletions src/audio/drc/llext/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ sof_llext_build("drc"
../drc_hifi3.c
../drc_hifi4.c
../drc_math_hifi3.c
LIB openmodules
)
9 changes: 5 additions & 4 deletions src/audio/eq_fir/llext/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@

sof_llext_build("eq_fir"
SOURCES ../eq_fir_hifi3.c
../eq_fir_hifi2ep.c
../eq_fir_generic.c
../eq_fir.c
../eq_fir_ipc4.c
../eq_fir_hifi2ep.c
../eq_fir_generic.c
../eq_fir.c
../eq_fir_ipc4.c
LIB openmodules
)
1 change: 1 addition & 0 deletions src/audio/eq_iir/llext/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ sof_llext_build("eq_iir"
SOURCES ../eq_iir.c
../eq_iir_ipc4.c
../eq_iir_generic.c
LIB openmodules
)
1 change: 1 addition & 0 deletions src/audio/google/llext_ctc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ sof_llext_build("google_ctc_audio_processing"
SOURCES ../google_ctc_audio_processing.c
../google_ctc_audio_processing_ipc4.c
../google_ctc_audio_processing_mock.c
LIB openmodules
)
target_include_directories(google_ctc_audio_processing_llext_lib PRIVATE
"${sof_top_dir}/third_party/include"
Expand Down
1 change: 1 addition & 0 deletions src/audio/google/llext_rtc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if(CONFIG_GOOGLE_RTC_AUDIO_PROCESSING_MOCK)
sof_llext_build("google_rtc_audio_processing"
SOURCES ../google_rtc_audio_processing.c
../google_rtc_audio_processing_mock.c
LIB openmodules
)
target_include_directories(google_rtc_audio_processing_llext_lib PRIVATE
"${sof_top_dir}/third_party/include"
Expand Down
1 change: 1 addition & 0 deletions src/audio/igo_nr/llext/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ if(CONFIG_DTS_CODEC_STUB)
sof_llext_build("igo_nr"
SOURCES ../igo_nr.c
../igo_nr_stub.c
LIB openmodules
)
target_include_directories(igo_nr_llext_lib PRIVATE
"../../../../third_party/include"
Expand Down
1 change: 1 addition & 0 deletions src/audio/mfcc/llext/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ sof_llext_build("mfcc"
../mfcc_generic.c
../mfcc_hifi3.c
../mfcc_hifi4.c
LIB openmodules
)
1 change: 1 addition & 0 deletions src/audio/mixin_mixout/llext/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ sof_llext_build("mixin_mixout"
../mixin_mixout_hifi3.c
../mixin_mixout_hifi5.c
../mixin_mixout_generic.c
LIB openmodules
)
1 change: 1 addition & 0 deletions src/audio/multiband_drc/llext/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ sof_llext_build("multiband_drc"
SOURCES ../multiband_drc.c
../multiband_drc_generic.c
../multiband_drc_ipc4.c
LIB openmodules
)
1 change: 1 addition & 0 deletions src/audio/mux/llext/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ sof_llext_build("mux"
SOURCES ../mux.c
../mux_generic.c
../mux_ipc4.c
LIB openmodules
)
1 change: 1 addition & 0 deletions src/audio/rtnr/llext/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ if(CONFIG_COMP_RTNR_STUB)
sof_llext_build("rtnr"
SOURCES ../rtnr.c
../rtnr_stub.c
LIB openmodules
)
else()
message(FATAL_ERROR "Add library linking support in src/audio/rtnr/llext/CMakeFiles.txt")
Expand Down
1 change: 1 addition & 0 deletions src/audio/selector/llext/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
sof_llext_build("selector"
SOURCES ../selector.c
../selector_generic.c
LIB openmodules
)
2 changes: 2 additions & 0 deletions src/audio/src/llext/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ sof_llext_build("src"
../src_common.c
../src_ipc4.c
../src_lite.c
LIB openmodules
)
else()
sof_llext_build("src"
Expand All @@ -21,5 +22,6 @@ sof_llext_build("src"
../src.c
../src_common.c
../src_ipc4.c
LIB openmodules
)
endif()
1 change: 1 addition & 0 deletions src/audio/tdfb/llext/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ sof_llext_build("tdfb"
../tdfb_hifiep.c
../tdfb_hifi3.c
../tdfb_ipc4.c
LIB openmodules
)
1 change: 1 addition & 0 deletions src/audio/volume/llext/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ sof_llext_build("volume"
../volume_hifi4_with_peakvol.c
../volume.c
../volume_ipc4.c
LIB openmodules
)
1 change: 1 addition & 0 deletions src/samples/audio/smart_amp_test_llext/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@

sof_llext_build("smart_amp_test"
SOURCES ../smart_amp_test_ipc4.c
LIB openmodules
)

0 comments on commit 404413e

Please sign in to comment.