From a9643f63ee9304884ec3188bfbb26c69f467f529 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 11 Nov 2016 15:52:55 +0200 Subject: build: Add option to disable network profiles This adds --disable-network option to configure which make network plugin to not be build thus reducing the build time and binary size of bluetoothd in systems where those profiles are not supported. --- Makefile.plugins | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile.plugins') diff --git a/Makefile.plugins b/Makefile.plugins index c9bc50cb4..533922de7 100644 --- a/Makefile.plugins +++ b/Makefile.plugins @@ -47,12 +47,14 @@ builtin_sources += profiles/audio/control.h profiles/audio/control.c \ profiles/audio/player.h profiles/audio/player.c endif +if NETWORK builtin_modules += network builtin_sources += profiles/network/manager.c \ profiles/network/bnep.h profiles/network/bnep.c \ profiles/network/server.h profiles/network/server.c \ profiles/network/connection.h \ profiles/network/connection.c +endif builtin_modules += input builtin_sources += profiles/input/manager.c \ -- cgit v1.2.1