Bluetooth: Audio: Separate Kconfig for MPL
Separate out the Kconfig for the media player. Also removes some unused MCS configs. The media player has been using MCS configs, while it should be the other way around. Also, this will make it easier to move the media player elsewhere, as has been discussed. Signed-off-by: Asbjørn Sæbø <asbjorn.sabo@nordicsemi.no>
This commit is contained in:
parent
8c01c69779
commit
e3a7ed4766
10 changed files with 283 additions and 205 deletions
|
@ -36,9 +36,14 @@ zephyr_library_sources_ifdef(CONFIG_BT_MCC mcc.c)
|
|||
|
||||
zephyr_library_sources_ifdef(CONFIG_BT_MCS mcs.c)
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_BT_MCS mpl.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_BT_MPL mpl.c)
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_BT_MCS media_proxy.c)
|
||||
if (CONFIG_BT_MCS OR CONFIG_BT_MPL)
|
||||
# TODO: Remove dependencies between mpl.c and mcs.c
|
||||
zephyr_library_sources(media_proxy.c)
|
||||
zephyr_library_sources(mpl.c)
|
||||
zephyr_library_sources(mcs.c)
|
||||
endif()
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_BT_ASCS ascs.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_BT_PACS pacs.c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue