The `LOG_BACKEND_FORMAT_TIMESTAMP` Kconfig currently depends on a list of hardcoded backends. Let's modify it to depend on an intermediary Kconfig `LOG_BACKEND_SUPPORTS_FORMAT_TIMESTAMP` instead, which can be selected by a OOT log backend. Updated all exisitng supported backends to select this new Kconfig. Signed-off-by: Yong Cong Sin <ycsin@meta.com>
20 lines
483 B
Plaintext
20 lines
483 B
Plaintext
# Copyright (c) 2021 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config LOG_BACKEND_ADSP
|
|
bool "Intel ADSP buffer backend"
|
|
depends on SOC_FAMILY_INTEL_ADSP
|
|
select LOG_OUTPUT
|
|
select LOG_BACKEND_SUPPORTS_FORMAT_TIMESTAMP
|
|
help
|
|
Enable backend for the host trace protocol of the Intel ADSP
|
|
family of audio processors
|
|
|
|
if LOG_BACKEND_ADSP
|
|
|
|
backend = ADSP
|
|
backend-str = adsp
|
|
source "subsys/logging/Kconfig.template.log_format_config"
|
|
|
|
endif # LOG_BACKEND_ADSP
|