mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 16:42:39 +00:00
Ring buffer in memory backend does not depends on xtensa adsp board, so make it general: remove to log_backend_rb and remove dependency on up_squared_adsp. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
59 lines
942 B
CMake
59 lines
942 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if(NOT CONFIG_LOG_MINIMAL)
|
|
zephyr_sources_ifdef(
|
|
CONFIG_LOG
|
|
log_list.c
|
|
log_core.c
|
|
log_msg.c
|
|
log_output.c
|
|
)
|
|
|
|
zephyr_sources_ifdef(
|
|
CONFIG_LOG_BACKEND_UART
|
|
log_backend_uart.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
|
|
)
|
|
|
|
zephyr_sources_ifdef(
|
|
CONFIG_LOG_BACKEND_SWO
|
|
log_backend_swo.c
|
|
)
|
|
|
|
zephyr_sources_ifdef(
|
|
CONFIG_LOG_MIPI_SYST_ENABLE
|
|
log_output_syst.c
|
|
)
|
|
|
|
zephyr_sources_ifdef(
|
|
CONFIG_LOG_BACKEND_RB
|
|
log_backend_rb.c
|
|
)
|
|
else()
|
|
zephyr_sources(log_minimal.c)
|
|
endif()
|