Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/audio/aria/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause

if(CONFIG_COMP_ARIA STREQUAL "m")
if(CONFIG_COMP_ARIA STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(llext ${PROJECT_BINARY_DIR}/aria_llext)
add_dependencies(app aria)
else()
Expand Down
2 changes: 1 addition & 1 deletion src/audio/asrc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause

if(CONFIG_COMP_ASRC STREQUAL "m")
if(CONFIG_COMP_ASRC STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(llext ${PROJECT_BINARY_DIR}/asrc_llext)
add_dependencies(app asrc)
return()
Expand Down
2 changes: 1 addition & 1 deletion src/audio/codec/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
is_zephyr(zephyr)
if(zephyr) ### Zephyr ###

if(CONFIG_DTS_CODEC STREQUAL "m")
if(CONFIG_DTS_CODEC STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(dts/llext ${PROJECT_BINARY_DIR}/dts_llext)
add_dependencies(app dts)

Expand Down
2 changes: 1 addition & 1 deletion src/audio/crossover/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause

if(CONFIG_COMP_CROSSOVER STREQUAL "m")
if(CONFIG_COMP_CROSSOVER STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(llext ${PROJECT_BINARY_DIR}/crossover_llext)
add_dependencies(app crossover)
return()
Expand Down
2 changes: 1 addition & 1 deletion src/audio/dcblock/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if(CONFIG_COMP_DCBLOCK STREQUAL "m")
if(CONFIG_COMP_DCBLOCK STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(llext ${PROJECT_BINARY_DIR}/dcblock_llext)
add_dependencies(app dcblock)
return()
Expand Down
2 changes: 1 addition & 1 deletion src/audio/drc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause

if(CONFIG_COMP_DRC STREQUAL "m")
if(CONFIG_COMP_DRC STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(llext ${PROJECT_BINARY_DIR}/drc_llext)
add_dependencies(app drc)
else()
Expand Down
2 changes: 1 addition & 1 deletion src/audio/eq_fir/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause

if(CONFIG_COMP_FIR STREQUAL "m")
if(CONFIG_COMP_FIR STREQUAL "m" AND DEFINED CONFIG_LLEXT)

add_subdirectory(llext ${PROJECT_BINARY_DIR}/eq_fir_llext)
add_dependencies(app eq_fir)
Expand Down
2 changes: 1 addition & 1 deletion src/audio/eq_iir/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause

if(CONFIG_COMP_IIR STREQUAL "m")
if(CONFIG_COMP_IIR STREQUAL "m" AND DEFINED CONFIG_LLEXT)

add_subdirectory(llext ${PROJECT_BINARY_DIR}/eq_iir_llext)
add_dependencies(app eq_iir)
Expand Down
4 changes: 2 additions & 2 deletions src/audio/google/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if(zephyr) ### Zephyr ###
google_hotword_detect.c
)

if(CONFIG_COMP_GOOGLE_RTC_AUDIO_PROCESSING STREQUAL "m")
if(CONFIG_COMP_GOOGLE_RTC_AUDIO_PROCESSING STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(llext_rtc
${PROJECT_BINARY_DIR}/google_rtc_audio_processing_llext)
add_dependencies(app google_rtc_audio_processing)
Expand All @@ -37,7 +37,7 @@ if(zephyr) ### Zephyr ###
endif()
endif()

if(CONFIG_COMP_GOOGLE_CTC_AUDIO_PROCESSING STREQUAL "m")
if(CONFIG_COMP_GOOGLE_CTC_AUDIO_PROCESSING STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(llext_ctc
${PROJECT_BINARY_DIR}/google_ctc_audio_processing_llext)
add_dependencies(app google_ctc_audio_processing)
Expand Down
2 changes: 1 addition & 1 deletion src/audio/igo_nr/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause

if(CONFIG_COMP_IGO_NR STREQUAL "m")
if(CONFIG_COMP_IGO_NR STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(llext ${PROJECT_BINARY_DIR}/igo_nr_llext)
add_dependencies(app igo_nr)
return()
Expand Down
2 changes: 1 addition & 1 deletion src/audio/level_multiplier/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause

if(CONFIG_COMP_LEVEL_MULTIPLIER STREQUAL "m")
if(CONFIG_COMP_LEVEL_MULTIPLIER STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(llext ${PROJECT_BINARY_DIR}/level_multiplier_llext)
add_dependencies(app level_multiplier)
else()
Expand Down
2 changes: 1 addition & 1 deletion src/audio/mfcc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause

if(CONFIG_COMP_MFCC STREQUAL "m")
if(CONFIG_COMP_MFCC STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(llext ${PROJECT_BINARY_DIR}/mfcc_llext)
add_dependencies(app mfcc)
else()
Expand Down
2 changes: 1 addition & 1 deletion src/audio/mixin_mixout/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause

if(CONFIG_COMP_MIXIN_MIXOUT STREQUAL "m")
if(CONFIG_COMP_MIXIN_MIXOUT STREQUAL "m" AND DEFINED CONFIG_LLEXT)

add_subdirectory(llext ${PROJECT_BINARY_DIR}/mixin_mixout_llext)
add_dependencies(app mixin_mixout)
Expand Down
2 changes: 1 addition & 1 deletion src/audio/module_adapter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ if(zephyr) ### Zephyr ###

if(CONFIG_WAVES_CODEC)
set(WAVES_DIR module/waves)
if(CONFIG_WAVES_CODEC STREQUAL "m")
if(CONFIG_WAVES_CODEC STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(${WAVES_DIR}/llext ${PROJECT_BINARY_DIR}/waves_llext)
add_dependencies(app waves)
else()
Expand Down
2 changes: 1 addition & 1 deletion src/audio/multiband_drc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause

if(CONFIG_COMP_MULTIBAND_DRC STREQUAL "m")
if(CONFIG_COMP_MULTIBAND_DRC STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(llext ${PROJECT_BINARY_DIR}/multiband_drc_llext)
add_dependencies(app multiband_drc)
else()
Expand Down
2 changes: 1 addition & 1 deletion src/audio/mux/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause

if(CONFIG_COMP_MUX STREQUAL "m")
if(CONFIG_COMP_MUX STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(llext ${PROJECT_BINARY_DIR}/mux_llext)
add_dependencies(app mux)
else()
Expand Down
2 changes: 1 addition & 1 deletion src/audio/rtnr/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause

if(CONFIG_COMP_RTNR STREQUAL "m")
if(CONFIG_COMP_RTNR STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(llext ${PROJECT_BINARY_DIR}/rtnr_llext)
add_dependencies(app rtnr)
return()
Expand Down
2 changes: 1 addition & 1 deletion src/audio/selector/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause

if(CONFIG_COMP_SEL STREQUAL "m")
if(CONFIG_COMP_SEL STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(llext ${PROJECT_BINARY_DIR}/selector_llext)
add_dependencies(app selector)
return()
Expand Down
2 changes: 1 addition & 1 deletion src/audio/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sof_list_append_ifdef(CONFIG_COMP_SRC_LITE base_files src_lite.c)
is_zephyr(zephyr)
if(zephyr) ### Zephyr ###

if(CONFIG_COMP_SRC STREQUAL "m")
if(CONFIG_COMP_SRC STREQUAL "m" AND DEFINED CONFIG_LLEXT)

add_subdirectory(llext ${PROJECT_BINARY_DIR}/src_llext)
add_dependencies(app src)
Expand Down
2 changes: 1 addition & 1 deletion src/audio/tdfb/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause

if(CONFIG_COMP_TDFB STREQUAL "m")
if(CONFIG_COMP_TDFB STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(llext ${PROJECT_BINARY_DIR}/tdfb_llext)
add_dependencies(app tdfb)
else()
Expand Down
2 changes: 1 addition & 1 deletion src/audio/template/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause

if(CONFIG_COMP_TEMPLATE STREQUAL "m")
if(CONFIG_COMP_TEMPLATE STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(llext ${PROJECT_BINARY_DIR}/template_llext)
add_dependencies(app template)
else()
Expand Down
2 changes: 1 addition & 1 deletion src/audio/tensorflow/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

# are we building the llext module ?
if(CONFIG_COMP_TENSORFLOW STREQUAL "m")
if(CONFIG_COMP_TENSORFLOW STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(llext ${PROJECT_BINARY_DIR}/tflm_llext)
add_dependencies(app tflm)
return()
Expand Down
2 changes: 1 addition & 1 deletion src/audio/volume/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause

if(CONFIG_COMP_VOLUME STREQUAL "m")
if(CONFIG_COMP_VOLUME STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(llext ${PROJECT_BINARY_DIR}/volume_llext)
add_dependencies(app volume)
else()
Expand Down
2 changes: 1 addition & 1 deletion src/debug/tester/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set(base_files
is_zephyr(zephyr)
if(zephyr) ### Zephyr ###

if(CONFIG_COMP_TESTER STREQUAL "m")
if(CONFIG_COMP_TESTER STREQUAL "m" AND DEFINED CONFIG_LLEXT)

add_subdirectory(llext ${PROJECT_BINARY_DIR}/tester_llext)
add_dependencies(app tester)
Expand Down
4 changes: 2 additions & 2 deletions src/math/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if(CONFIG_BINARY_LOGARITHM_FIXED)
list(APPEND base_files base2log.c)
endif()

if(CONFIG_MATH_FIR STREQUAL "m")
if(CONFIG_MATH_FIR STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(fir_llext ${PROJECT_BINARY_DIR}/aux1_fir_llext)
add_dependencies(app aux1_fir)
elseif(CONFIG_MATH_FIR)
Expand All @@ -54,7 +54,7 @@ if(CONFIG_MATH_FFT)
add_subdirectory(fft)
endif()

if(CONFIG_MATH_IIR STREQUAL "m")
if(CONFIG_MATH_IIR STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(iir_llext ${PROJECT_BINARY_DIR}/aux1_iir_llext)
add_dependencies(app aux1_iir)
elseif(CONFIG_MATH_IIR)
Expand Down
2 changes: 1 addition & 1 deletion src/probe/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause

if(CONFIG_PROBE STREQUAL "m")
if(CONFIG_PROBE STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(llext ${PROJECT_BINARY_DIR}/probe_llext)
add_dependencies(app probe)
elseif(CONFIG_PROBE)
Expand Down
2 changes: 1 addition & 1 deletion src/samples/audio/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ elseif(CONFIG_IPC_MAJOR_4)
set(ipc_suffix ipc4)
endif()

if(CONFIG_SAMPLE_SMART_AMP STREQUAL "m")
if(CONFIG_SAMPLE_SMART_AMP STREQUAL "m" AND DEFINED CONFIG_LLEXT)
add_subdirectory(smart_amp_test_llext ${PROJECT_BINARY_DIR}/smart_amp_test_llext)
add_dependencies(app smart_amp_test)
elseif(CONFIG_SAMPLE_SMART_AMP)
Expand Down
Loading