drivers: bluetooth: build as static library
Instead of putting object files inside libzephyr.a, simply build a separate static library as most other driver types are doing this already. Note that the include to subsys/bluetooth has been moved from under drivers/bluetooth to subsys/bluetooth, as it is actually the subsystem's job to make sure the include directories are correct. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
23712842d1
commit
378ad046c8
3 changed files with 12 additions and 9 deletions
|
@ -14,3 +14,5 @@ add_subdirectory_ifdef(CONFIG_BT_AUDIO audio)
|
|||
if(CONFIG_BT_CTLR AND CONFIG_BT_LL_SW_SPLIT)
|
||||
add_subdirectory(controller)
|
||||
endif()
|
||||
|
||||
zephyr_include_directories(${ZEPHYR_BASE}/subsys/bluetooth)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue