Deprecate BT_CTLR, and add a new HAS_BT_CTLR as a virtual option which specific users (like BT_LL_SW_SPLIT) select. This also means that we can remove all places that were forcefully enabling the BT_CTLR option, and instead we now depend on devicetree to get some local LL HCI driver enabled which in turn also enables the HAS_BT_CTLR option. Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
20 lines
570 B
CMake
20 lines
570 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
add_library(subsys__bluetooth INTERFACE)
|
|
|
|
target_include_directories(subsys__bluetooth INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
add_subdirectory(common)
|
|
add_subdirectory_ifdef(CONFIG_BT_HCI host)
|
|
add_subdirectory_ifdef(CONFIG_BT_CONN services)
|
|
add_subdirectory_ifdef(CONFIG_BT_MESH mesh)
|
|
add_subdirectory_ifdef(CONFIG_BT_AUDIO audio)
|
|
add_subdirectory_ifdef(CONFIG_BT_CRYPTO crypto)
|
|
|
|
if(CONFIG_BT_LL_SW_SPLIT)
|
|
add_subdirectory(controller)
|
|
endif()
|
|
|
|
zephyr_include_directories(${ZEPHYR_BASE}/subsys/bluetooth)
|
|
|
|
add_subdirectory(lib)
|