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
73 changes: 5 additions & 68 deletions subsys/logging/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,90 +32,27 @@ if(NOT CONFIG_LOG_MODE_MINIMAL)
endif()
endif()

zephyr_sources_ifdef(
CONFIG_LOG_BACKEND_UART
log_backend_uart.c
)

zephyr_sources_ifdef(
CONFIG_LOG_BACKEND_FS
log_backend_fs.c
)

zephyr_sources_ifdef(
CONFIG_LOG_CMDS
log_cmds.c
)

zephyr_sources_ifdef(
CONFIG_LOG_BACKEND_NATIVE_POSIX
log_backend_native_posix.c
)

zephyr_sources_ifdef(
CONFIG_LOG_BACKEND_XTENSA_SIM
log_backend_xtensa_sim.c
)

zephyr_sources_ifdef(
CONFIG_LOG_BACKEND_NET
log_backend_net.c
)

zephyr_sources_ifdef(
CONFIG_LOG_BACKEND_RTT
log_backend_rtt.c
CONFIG_LOG_FRONTEND_DICT_UART
log_frontend_dict_uart.c
)

zephyr_sources_ifdef(
CONFIG_LOG_BACKEND_SWO
log_backend_swo.c
CONFIG_LOG_DICTIONARY_SUPPORT
log_output_dict.c
)

zephyr_sources_ifdef(
CONFIG_LOG_MIPI_SYST_ENABLE
log_output_syst.c
)

zephyr_sources_ifdef(
CONFIG_LOG_BACKEND_ADSP
log_backend_adsp.c
)

zephyr_sources_ifdef(
CONFIG_LOG_BACKEND_ADSP_HDA
log_backend_adsp_hda.c
)

zephyr_sources_ifdef(
CONFIG_LOG_BACKEND_ADSP_MTRACE
log_backend_adsp_mtrace.c
)

zephyr_sources_ifdef(
CONFIG_LOG_BACKEND_EFI_CONSOLE
log_backend_efi_console.c
)

if(CONFIG_LOG_BACKEND_SPINEL)
zephyr_library_include_directories(
${ZEPHYR_BASE}/subsys/net/lib/openthread/platform/
)
endif()

zephyr_sources_ifdef(
CONFIG_LOG_BACKEND_SPINEL
log_backend_spinel.c
)

zephyr_sources_ifdef(
CONFIG_LOG_FRONTEND_DICT_UART
log_frontend_dict_uart.c
)

if(CONFIG_LOG_DICTIONARY_SUPPORT)
zephyr_sources(log_output_dict.c)
endif()
add_subdirectory(backends)

else()
zephyr_sources(log_minimal.c)
Expand Down
2 changes: 1 addition & 1 deletion subsys/logging/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ rsource "Kconfig.formatting"

if !LOG_FRONTEND_ONLY

rsource "Kconfig.backends"
rsource "backends/Kconfig"

endif # !LOG_FRONTEND_ONLY

Expand Down
Loading