2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2017-10-27 21:43:34 +08:00
|
|
|
zephyr_library()
|
|
|
|
zephyr_library_sources(
|
2018-01-04 18:44:50 +08:00
|
|
|
bt.c
|
2019-01-10 01:44:36 +08:00
|
|
|
hci.c
|
2018-01-04 18:44:50 +08:00
|
|
|
)
|
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_BT_CONN
|
|
|
|
gatt.c
|
|
|
|
)
|
2018-09-25 19:24:25 +08:00
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_BT_BREDR
|
|
|
|
bredr.c
|
|
|
|
)
|
2018-09-26 18:57:54 +08:00
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_BT_L2CAP_DYNAMIC_CHANNEL
|
|
|
|
l2cap.c
|
|
|
|
)
|
2018-09-25 22:08:15 +08:00
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_BT_RFCOMM
|
|
|
|
rfcomm.c
|
|
|
|
)
|
2019-09-03 17:01:00 +08:00
|
|
|
|
|
|
|
if(CONFIG_BT_CTLR)
|
|
|
|
if(CONFIG_BT_LL_SW_LEGACY OR CONFIG_BT_LL_SW_SPLIT)
|
|
|
|
zephyr_library_sources(
|
|
|
|
ll.c
|
|
|
|
ticker.c
|
|
|
|
)
|
|
|
|
zephyr_include_directories(
|
|
|
|
${ZEPHYR_BASE}/subsys/bluetooth/controller/ll_sw/nordic
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
endif()
|