1# SPDX-License-Identifier: Apache-2.0
2
3zephyr_library()
4zephyr_library_sources(
5  bt.c
6  hci.c
7  )
8zephyr_library_sources_ifdef(
9  CONFIG_BT_CONN
10  gatt.c
11  )
12zephyr_library_sources_ifdef(
13  CONFIG_BT_CLASSIC
14  bredr.c
15  )
16zephyr_library_sources_ifdef(
17  CONFIG_BT_L2CAP_DYNAMIC_CHANNEL
18  l2cap.c
19  )
20zephyr_library_sources_ifdef(
21  CONFIG_BT_RFCOMM
22  rfcomm.c
23  )
24zephyr_library_sources_ifdef(
25  CONFIG_BT_A2DP
26  a2dp.c
27  )
28zephyr_library_sources_ifdef(
29  CONFIG_BT_ISO
30  iso.c
31  )
32zephyr_library_sources_ifdef(
33  CONFIG_BT_IAS
34  ias.c
35  )
36zephyr_library_sources_ifdef(
37  CONFIG_BT_IAS_CLIENT
38  ias_client.c
39  )
40
41if(CONFIG_BT_CTLR AND CONFIG_BT_LL_SW_SPLIT)
42  zephyr_library_sources(
43    ll.c
44    ticker.c
45    )
46  zephyr_include_directories(
47    ${ZEPHYR_BASE}/subsys/bluetooth/controller/ll_sw/nordic
48    )
49endif()
50