2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2019-09-23 07:44:43 +08:00
|
|
|
if(NOT CONFIG_LOG_MINIMAL)
|
|
|
|
zephyr_sources_ifdef(
|
|
|
|
CONFIG_LOG
|
|
|
|
log_list.c
|
|
|
|
log_core.c
|
|
|
|
log_msg.c
|
|
|
|
log_output.c
|
2018-05-16 14:50:33 +08:00
|
|
|
)
|
|
|
|
|
2019-09-23 07:44:43 +08:00
|
|
|
zephyr_sources_ifdef(
|
|
|
|
CONFIG_LOG_BACKEND_UART
|
|
|
|
log_backend_uart.c
|
2018-05-16 14:50:33 +08:00
|
|
|
)
|
2018-09-13 17:52:32 +08:00
|
|
|
|
2019-09-23 07:44:43 +08:00
|
|
|
zephyr_sources_ifdef(
|
|
|
|
CONFIG_LOG_CMDS
|
|
|
|
log_cmds.c
|
2018-09-13 17:52:32 +08:00
|
|
|
)
|
2018-09-24 16:26:42 +08:00
|
|
|
|
2019-09-23 07:44:43 +08:00
|
|
|
zephyr_sources_ifdef(
|
|
|
|
CONFIG_LOG_BACKEND_NATIVE_POSIX
|
|
|
|
log_backend_native_posix.c
|
2018-10-17 16:17:14 +08:00
|
|
|
)
|
|
|
|
|
2019-09-23 07:44:43 +08:00
|
|
|
zephyr_sources_ifdef(
|
|
|
|
CONFIG_LOG_BACKEND_XTENSA_SIM
|
|
|
|
log_backend_xtensa_sim.c
|
2019-03-04 09:16:08 +08:00
|
|
|
)
|
|
|
|
|
2019-09-23 07:44:43 +08:00
|
|
|
zephyr_sources_ifdef(
|
|
|
|
CONFIG_LOG_BACKEND_NET
|
|
|
|
log_backend_net.c
|
2018-10-12 22:31:57 +08:00
|
|
|
)
|
|
|
|
|
2019-09-23 07:44:43 +08:00
|
|
|
zephyr_sources_ifdef(
|
|
|
|
CONFIG_LOG_BACKEND_RTT
|
|
|
|
log_backend_rtt.c
|
|
|
|
)
|
2018-12-20 16:01:14 +08:00
|
|
|
|
2019-09-23 07:44:43 +08:00
|
|
|
zephyr_sources_ifdef(
|
|
|
|
CONFIG_LOG_BACKEND_SWO
|
|
|
|
log_backend_swo.c
|
|
|
|
)
|
2019-10-29 05:45:55 +08:00
|
|
|
|
|
|
|
zephyr_sources_ifdef(
|
|
|
|
CONFIG_LOG_MIPI_SYST_ENABLE
|
|
|
|
log_output_syst.c
|
|
|
|
)
|
2019-11-19 18:35:35 +08:00
|
|
|
|
|
|
|
zephyr_sources_ifdef(
|
2020-02-10 19:47:06 +08:00
|
|
|
CONFIG_LOG_BACKEND_RB
|
|
|
|
log_backend_rb.c
|
2019-11-19 18:35:35 +08:00
|
|
|
)
|
2019-09-23 07:44:43 +08:00
|
|
|
else()
|
|
|
|
zephyr_sources(log_minimal.c)
|
|
|
|
endif()
|