zephyr/subsys/bluetooth/shell/CMakeLists.txt
Asbjørn Sæbø b320dd7217 Bluetooth: Audio: Media control shell commands
This commit adds shell commands for the media control client, the
media player and the media proxy.  This is a part of the upmerge of
the le-audio media control files.

The commit is a pure copy of the files and content in the
topic-le-audio branch, with these exception:

- some include paths have been modified to correspond to new locations
  of files.
- some instances of the shell variable has been renamed to not be the
  same as the name of the shell struct tag.
- spaces have been replaced with TABs a couple of places
- remove cplusplus guards
- changed a debug dependency for MCC from MCS to MCC
- changed log name for the media controller shell

Signed-off-by: Asbjørn Sæbø <asbjorn.sabo@nordicsemi.no>

mcc.c shell - replace name of shell variable

tmp

f

shell
2021-11-11 15:31:37 +01:00

74 lines
1.2 KiB
CMake

# SPDX-License-Identifier: Apache-2.0
zephyr_library()
zephyr_library_sources(
bt.c
hci.c
)
zephyr_library_sources_ifdef(
CONFIG_BT_CONN
gatt.c
)
zephyr_library_sources_ifdef(
CONFIG_BT_BREDR
bredr.c
)
zephyr_library_sources_ifdef(
CONFIG_BT_L2CAP_DYNAMIC_CHANNEL
l2cap.c
)
zephyr_library_sources_ifdef(
CONFIG_BT_RFCOMM
rfcomm.c
)
zephyr_library_sources_ifdef(
CONFIG_BT_ISO
iso.c
)
zephyr_library_sources_ifdef(
CONFIG_BT_VCS
vcs.c
)
zephyr_library_sources_ifdef(
CONFIG_BT_VCS_CLIENT
vcs_client.c
)
zephyr_library_sources_ifdef(
CONFIG_BT_MICS
mics.c
)
zephyr_library_sources_ifdef(
CONFIG_BT_MICS_CLIENT
mics_client.c
)
zephyr_library_sources_ifdef(
CONFIG_BT_CSIS
csis.c
)
zephyr_library_sources_ifdef(
CONFIG_BT_CSIS_CLIENT
csis_client.c
)
zephyr_library_sources_ifdef(
CONFIG_BT_MCS
mpl.c
)
zephyr_library_sources_ifdef(
CONFIG_BT_MCC
mcc.c
)
zephyr_library_sources_ifdef(
CONFIG_BT_MCS
media_controller.c
)
if(CONFIG_BT_CTLR AND CONFIG_BT_LL_SW_SPLIT)
zephyr_library_sources(
ll.c
ticker.c
)
zephyr_include_directories(
${ZEPHYR_BASE}/subsys/bluetooth/controller/ll_sw/nordic
)
endif()