1# Copyright (c) 2022 Nordic Semicoductor ASA 2# SPDX-License-Identifier: Apache-2.0 3 4# Usage: 5# This template provides backwards compatibility for legacy kconfig symbols. 6# Do not add new uses of it. 7# 8# The following arguments are mandatory: 9# - module: 10# Name of the new log level kconfig. 11# Example: "BT_HCI_CORE" 12# - legacy-debug-sym: 13# An existing "legacy" kconfig bool. If that bool is selected, 14# the new kconfig is forced to max verbosity. 15# Example: "BT_DEBUG_HCI_CORE" 16 17config $(module)_LOG_LEVEL 18 default 4 if $(legacy-debug-sym) 19 20module := $(module) 21parent-module := BT 22source "subsys/logging/Kconfig.template.log_config_inherit" 23