Bluetooth: audio: Fix compilation issue with BT_AUDIO
Fix bluetooth audio compilation issue when BT_AUDIO is enabled but no Bluetooth host services has been enabled. This leads to an empty library file. Instead of creating a new library for audio add the sources to the parent library, similar to how bluetooth services are added. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
e1b840c4ab
commit
a9b4cae019
1 changed files with 0 additions and 3 deletions
|
@ -1,8 +1,5 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
zephyr_library()
|
|
||||||
zephyr_library_link_libraries(subsys__bluetooth)
|
|
||||||
|
|
||||||
if (CONFIG_BT_VOCS OR CONFIG_BT_VOCS_CLIENT)
|
if (CONFIG_BT_VOCS OR CONFIG_BT_VOCS_CLIENT)
|
||||||
zephyr_library_sources(vocs.c)
|
zephyr_library_sources(vocs.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue