Boot Linux faster!

Check our new training course

Boot Linux faster!

Check our new training course
and Creative Commons CC-BY-SA
lecture and lab materials

Bootlin logo

Elixir Cross Referencer

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)
add_subdirectory_ifdef(CONFIG_BT_CONN services)

if(CONFIG_BT_CTLR)
  if(CONFIG_BT_LL_SW OR CONFIG_BT_LL_SW_SPLIT)
    add_subdirectory(controller)
  endif()
endif()

target_link_libraries(subsys__bluetooth INTERFACE zephyr_interface)