zephyr/drivers/bluetooth/Kconfig
Torsten Rasmussen 6ebe0b8425 drivers: create BT_DRIVERS Kconfig entry
Fixes: #38403

Changing Bluetooth drivers from being a menu into a menuconfig.
This aligns the Bluetooth driver configuration with other driver
configurations as well as provides a setting which identifies if
Bluetooth drivers has been enable.

This further helps to avoid empty Zephyr libraries for bluetooth
samples.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2021-09-28 12:13:23 +02:00

28 lines
542 B
Plaintext

# Bluetooth LE driver configuration options
# Copyright (c) 2015-2016 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
# Bluetooth options
#
# Controller support is an HCI driver in itself, so these HCI driver
# options are only applicable if controller support hasn't been enabled.
menuconfig BT_DRIVERS
bool "Bluetooth Drivers"
default y
depends on BT && !BT_CTLR
if BT_DRIVERS
if BT_HCI
source "drivers/bluetooth/hci/Kconfig"
endif
if BT_CUSTOM
# Insert here any custom (non-HCI) offload drives
endif
endif # BT_DRIVERS