From b88bf5bffcee9077f0aa2e24c1737f841ca5849a Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 20 Jul 2018 17:29:15 +0200 Subject: [PATCH] add btstack_audio to example/Makefile.inc instead of individual ports that include it --- example/Makefile.inc | 1 + port/libusb/Makefile | 2 +- port/max32630-fthr/example/template/Makefile | 1 + port/windows-h4/Makefile | 1 - port/windows-winusb/Makefile | 2 +- 5 files changed, 4 insertions(+), 3 deletions(-) diff --git a/example/Makefile.inc b/example/Makefile.inc index 370d58302..d50431115 100644 --- a/example/Makefile.inc +++ b/example/Makefile.inc @@ -35,6 +35,7 @@ COMMON += \ hci_dump.c \ l2cap.c \ l2cap_signaling.c \ + btstack_audio.c \ btstack_tlv.c \ btstack_crypto.c \ uECC.c \ diff --git a/port/libusb/Makefile b/port/libusb/Makefile index 63730bd06..085b076d1 100644 --- a/port/libusb/Makefile +++ b/port/libusb/Makefile @@ -4,7 +4,7 @@ BTSTACK_ROOT = ../.. CORE += main.c btstack_stdin_posix.c btstack_tlv_posix.c COMMON += hci_transport_h2_libusb.c btstack_run_loop_posix.c le_device_db_fs.c btstack_link_key_db_fs.c wav_util.c btstack_network_posix.c -COMMON += btstack_audio_portaudio.c btstack_audio.c +COMMON += btstack_audio_portaudio.c include ${BTSTACK_ROOT}/example/Makefile.inc diff --git a/port/max32630-fthr/example/template/Makefile b/port/max32630-fthr/example/template/Makefile index 1e1d850d1..bcaec7fd9 100644 --- a/port/max32630-fthr/example/template/Makefile +++ b/port/max32630-fthr/example/template/Makefile @@ -143,6 +143,7 @@ COMMON = \ hci_dump.o \ btstack_uart_block_embedded.o \ hal_flash_bank_mxc.o \ + btstack_audio.o \ btstack_tlv.o \ btstack_tlv_flash_bank.o \ btstack_stdin_embedded.o \ diff --git a/port/windows-h4/Makefile b/port/windows-h4/Makefile index ca015633f..0229a5505 100644 --- a/port/windows-h4/Makefile +++ b/port/windows-h4/Makefile @@ -16,7 +16,6 @@ COMMON += \ btstack_chipset_stlc2500d.c \ btstack_chipset_tc3566x.c \ btstack_chipset_bcm.c \ - btstack_audio.c \ wav_util.c \ # examples diff --git a/port/windows-winusb/Makefile b/port/windows-winusb/Makefile index b31f49084..54c50f417 100644 --- a/port/windows-winusb/Makefile +++ b/port/windows-winusb/Makefile @@ -3,7 +3,7 @@ BTSTACK_ROOT = ../.. CORE += main.c btstack_stdin_windows.c -COMMON += hci_transport_h2_winusb.c btstack_run_loop_windows.c le_device_db_fs.c btstack_link_key_db_fs.c wav_util.c btstack_audio.c +COMMON += hci_transport_h2_winusb.c btstack_run_loop_windows.c le_device_db_fs.c btstack_link_key_db_fs.c wav_util.c include ${BTSTACK_ROOT}/example/Makefile.inc