From 1e9ab1dab72d8d6cb29867dde9275306d2157091 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 11 Nov 2016 15:40:54 +0200 Subject: build: Add option to disable A2DP profile This adds --disable-a2dp option to configure which make A2DP plugin to not be build thus reducing the build time and binary size of bluetoothd in systems where A2DP is not supported. --- Makefile.plugins | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile.plugins') diff --git a/Makefile.plugins b/Makefile.plugins index 39eb3a050..e69ffab87 100644 --- a/Makefile.plugins +++ b/Makefile.plugins @@ -27,6 +27,7 @@ noinst_LIBRARIES += profiles/sap/libsap.a profiles_sap_libsap_a_SOURCES = profiles/sap/sap.h profiles/sap/sap-u8500.c endif +if A2DP builtin_modules += a2dp builtin_sources += profiles/audio/source.h profiles/audio/source.c \ profiles/audio/sink.h profiles/audio/sink.c \ @@ -35,6 +36,7 @@ builtin_sources += profiles/audio/source.h profiles/audio/source.c \ profiles/audio/media.h profiles/audio/media.c \ profiles/audio/transport.h profiles/audio/transport.c \ profiles/audio/a2dp-codecs.h +endif builtin_modules += avrcp builtin_sources += profiles/audio/control.h profiles/audio/control.c \ -- cgit v1.2.1