logging: cleanup in CMakeLists.txt

log_output.c was added in two places: unconditionally when logging
is enabled and when CONFIG_LOG_OUTPUT is set. Cleaning up to add
source file only when module is enabled.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruscinski 2022-08-24 10:46:39 +02:00 committed by Carles Cufí
parent b0072e1cea
commit af31cad836

View file

@ -6,7 +6,6 @@ if(NOT CONFIG_LOG_MODE_MINIMAL)
log_core.c
log_mgmt.c
log_msg.c
log_output.c
)
zephyr_sources_ifdef(