Bluetooth: Add legacy warning to Kconfig.template.log_config_bt

Add documentation to tell people to not use the file for new stuff.

Signed-off-by: Théo Battrel <theo.battrel@nordicsemi.no>
This commit is contained in:
Théo Battrel 2022-11-28 16:14:26 +01:00 committed by Carles Cufí
commit f739f0b87c

View file

@ -1,6 +1,19 @@
# Copyright (c) 2022 Nordic Semicoductor ASA
# SPDX-License-Identifier: Apache-2.0
# Usage:
# This template provides backwards compatibility for legacy kconfig symbols.
# Do not add new uses of it.
#
# The following arguments are mandatory:
# - module:
# Name of the new log level kconfig.
# Example: "BT_HCI_CORE"
# - legacy-debug-sym:
# An existing "legacy" kconfig bool. If that bool is selected,
# the new kconfig is forced to max verbosity.
# Example: "BT_DEBUG_HCI_CORE"
parent-module = BT
choice "$(module)_LOG_LEVEL_CHOICE"