Bluetooth: audio: Build PACS only if Sink or Source enabled
This fixes Kconfig that allowed to build PACS without support for sink or source PACS. Few conditionals that no longer apply were removed. Enabling ASCS support in specific direction enables related PACS support. Since PACS does `depends on` anything, it's safe to make use of `select` statement. Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
This commit is contained in:
parent
20f47505d0
commit
893f49ea88
4 changed files with 28 additions and 35 deletions
|
@ -20,7 +20,6 @@ config BT_AUDIO_UNICAST_SERVER
|
|||
select BT_ISO_PERIPHERAL
|
||||
select BT_GATT_DYNAMIC_DB
|
||||
select BT_GATT_CACHING
|
||||
select BT_PACS
|
||||
select BT_ASCS
|
||||
help
|
||||
This option enables support for Bluetooth Unicast Audio Server
|
||||
|
@ -185,13 +184,6 @@ config BT_AUDIO_BROADCAST_SNK_STREAM_COUNT
|
|||
endif # BT_AUDIO_BROADCAST_SINK
|
||||
|
||||
|
||||
config BT_DEBUG_PACS
|
||||
bool "Published Audio Capabilities Service debug"
|
||||
depends on BT_PACS
|
||||
help
|
||||
Use this option to enable Published Audio Capabilities Service debug
|
||||
logs for the Bluetooth Audio functionality.
|
||||
|
||||
config BT_AUDIO_DEBUG_STREAM
|
||||
bool "Bluetooth Audio Stream debug"
|
||||
depends on BT_AUDIO_STREAM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue