1# SPDX-License-Identifier: Apache-2.0 2 3if(NOT CONFIG_LOG_MINIMAL) 4 zephyr_sources_ifdef( 5 CONFIG_LOG 6 log_list.c 7 log_core.c 8 log_mgmt.c 9 log_msg.c 10 log_output.c 11 ) 12 13 zephyr_sources_ifdef( 14 CONFIG_LOG2 15 log_msg2.c 16 ) 17 18 19 zephyr_sources_ifdef( 20 CONFIG_LOG_BACKEND_UART 21 log_backend_uart.c 22 ) 23 24 zephyr_sources_ifdef( 25 CONFIG_LOG_BACKEND_FS 26 log_backend_fs.c 27 ) 28 29 zephyr_sources_ifdef( 30 CONFIG_LOG_CMDS 31 log_cmds.c 32 ) 33 34 zephyr_sources_ifdef( 35 CONFIG_LOG_BACKEND_NATIVE_POSIX 36 log_backend_native_posix.c 37 ) 38 39 zephyr_sources_ifdef( 40 CONFIG_LOG_BACKEND_XTENSA_SIM 41 log_backend_xtensa_sim.c 42 ) 43 44 zephyr_sources_ifdef( 45 CONFIG_LOG_BACKEND_NET 46 log_backend_net.c 47 ) 48 49 zephyr_sources_ifdef( 50 CONFIG_LOG_BACKEND_RTT 51 log_backend_rtt.c 52 ) 53 54 zephyr_sources_ifdef( 55 CONFIG_LOG_BACKEND_SWO 56 log_backend_swo.c 57 ) 58 59 zephyr_sources_ifdef( 60 CONFIG_LOG_MIPI_SYST_ENABLE 61 log_output_syst.c 62 ) 63 64 zephyr_sources_ifdef( 65 CONFIG_LOG_BACKEND_ADSP 66 log_backend_adsp.c 67 ) 68 69 if(CONFIG_LOG_BACKEND_SPINEL) 70 zephyr_library_include_directories( 71 ${ZEPHYR_BASE}/subsys/net/lib/openthread/platform/ 72 ) 73 endif() 74 75 zephyr_sources_ifdef( 76 CONFIG_LOG_BACKEND_SPINEL 77 log_backend_spinel.c 78 ) 79 80 if(CONFIG_LOG_DICTIONARY_SUPPORT) 81 zephyr_sources(log_output_dict.c) 82 endif() 83 84else() 85 zephyr_sources(log_minimal.c) 86endif() 87