2017-10-27 15:43:34 +02:00
|
|
|
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_SHELL shell)
|
2018-11-01 16:44:52 +01:00
|
|
|
add_subdirectory_ifdef(CONFIG_BT_CONN services)
|
2017-10-27 15:43:34 +02:00
|
|
|
|
2018-06-26 14:03:34 +02:00
|
|
|
if(CONFIG_BT_CTLR)
|
2018-12-18 05:48:20 +01:00
|
|
|
if(CONFIG_BT_LL_SW OR CONFIG_BT_LL_SW_SPLIT)
|
2018-06-26 14:03:34 +02:00
|
|
|
add_subdirectory(controller)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
2017-10-27 15:43:34 +02:00
|
|
|
target_link_libraries(subsys__bluetooth INTERFACE zephyr_interface)
|