zephyr/subsys/logging/backends/Kconfig.efi_console
Krzysztof Chruściński 8652e8e413 logging: Fix LOG_OUTPUT dependency
When CONFIG_LOG_OUTPUT is set, it indicates that logging strings
are formatted by the application (using log_output module). It is
not needed when backend works in the dictionary mode. So far
LOG_OUTPUT was set also when dictionary mode was used and that
prevented removing of the logging strings from binary which is
an important feature of the dictionary logging.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2024-10-09 18:37:49 +01:00

18 lines
432 B
Plaintext

# Copyright (c) 2021 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config LOG_BACKEND_EFI_CONSOLE
bool "EFI_CONSOLE backend"
depends on X86_EFI_CONSOLE
default y if !UART_CONSOLE
help
When enabled backend is using EFI CONSOLE to output logs.
if LOG_BACKEND_EFI_CONSOLE
backend = EFI_CON
backend-str = efi_console
source "subsys/logging/Kconfig.template.log_format_config"
endif # LOG_BACKEND_EFI_CONSOLE