zephyr/subsys/bluetooth/host/CMakeLists.txt
Anas Nashif 3ae52624ff license: cleanup: add SPDX Apache-2.0 license identifier
Update the files which contain no license information with the
'Apache-2.0' SPDX license identifier.  Many source files in the tree are
missing licensing information, which makes it harder for compliance
tools to determine the correct license.

By default all files without license information are under the default
license of Zephyr, which is Apache version 2.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-04-07 08:45:22 -04:00

59 lines
1.3 KiB
CMake

# SPDX-License-Identifier: Apache-2.0
zephyr_library()
zephyr_library_link_libraries(subsys__bluetooth)
zephyr_library_sources_ifdef(CONFIG_BT_HCI_RAW hci_raw.c)
zephyr_library_sources_ifdef(CONFIG_BT_DEBUG_MONITOR monitor.c)
zephyr_library_sources_ifdef(CONFIG_BT_TINYCRYPT_ECC hci_ecc.c)
zephyr_library_sources_ifdef(CONFIG_BT_A2DP a2dp.c)
zephyr_library_sources_ifdef(CONFIG_BT_AVDTP avdtp.c)
zephyr_library_sources_ifdef(CONFIG_BT_RFCOMM rfcomm.c)
zephyr_library_sources_ifdef(CONFIG_BT_TESTING testing.c)
zephyr_library_sources_ifdef(CONFIG_BT_SETTINGS settings.c)
zephyr_library_sources_ifdef(
CONFIG_BT_BREDR
keys_br.c
l2cap_br.c
sdp.c
)
zephyr_library_sources_ifdef(
CONFIG_BT_HFP_HF
hfp_hf.c
at.c
)
if(CONFIG_BT_HCI_HOST)
zephyr_library_sources(
uuid.c
hci_core.c
)
zephyr_library_sources_ifdef(
CONFIG_BT_HOST_CRYPTO
crypto.c
)
if(CONFIG_BT_CONN)
zephyr_library_sources(
conn.c
l2cap.c
att.c
gatt.c
)
if(CONFIG_BT_SMP)
zephyr_library_sources(
smp.c
keys.c
)
else()
zephyr_library_sources(
smp_null.c
)
endif()
endif()
endif()
add_subdirectory_ifdef(CONFIG_BT_MESH mesh)