Bluetooth: Reorganize Kconfig options for BLE controller
Split meaning of BT_CTLR and BT_LL_SW, since they always are the same. This way BT_CTLR means that there an controller implemented, and BT_LL_SW refers to the specific implementation. This allows alternative controller implementations. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
c89a06dbc1
commit
c6dea9e068
3 changed files with 30 additions and 26 deletions
|
@ -4,7 +4,12 @@ target_include_directories(subsys__bluetooth INTERFACE ${CMAKE_CURRENT_SOURCE_DI
|
|||
|
||||
add_subdirectory(common)
|
||||
add_subdirectory_ifdef(CONFIG_BT_HCI host)
|
||||
add_subdirectory_ifdef(CONFIG_BT_CTLR controller)
|
||||
add_subdirectory_ifdef(CONFIG_BT_SHELL shell)
|
||||
|
||||
if(CONFIG_BT_CTLR)
|
||||
if(CONFIG_BT_LL_SW)
|
||||
add_subdirectory(controller)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
target_link_libraries(subsys__bluetooth INTERFACE zephyr_interface)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue