From b5bab5ea0e3cef4444d8d26d4f7e69789d210b70 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 11 Nov 2016 15:47:25 +0200 Subject: build: Add option to disable AVRCP profile This adds --disable-avrcp option to configure which make AVRCP plugin to not be build thus reducing the build time and binary size of bluetoothd in systems where AVRCP is not supported. --- Makefile.plugins | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile.plugins') diff --git a/Makefile.plugins b/Makefile.plugins index e69ffab87..c9bc50cb4 100644 --- a/Makefile.plugins +++ b/Makefile.plugins @@ -38,11 +38,14 @@ builtin_sources += profiles/audio/source.h profiles/audio/source.c \ profiles/audio/a2dp-codecs.h endif + +if AVRCP builtin_modules += avrcp builtin_sources += profiles/audio/control.h profiles/audio/control.c \ profiles/audio/avctp.h profiles/audio/avctp.c \ profiles/audio/avrcp.h profiles/audio/avrcp.c \ profiles/audio/player.h profiles/audio/player.c +endif builtin_modules += network builtin_sources += profiles/network/manager.c \ -- cgit v1.2.1