summaryrefslogtreecommitdiff
path: root/Makefile.plugins
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-11-11 15:52:55 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-11-17 14:15:42 +0200
commita9643f63ee9304884ec3188bfbb26c69f467f529 (patch)
tree76dc6e7636703595a4880da8ccc29245e2983f02 /Makefile.plugins
parentb5bab5ea0e3cef4444d8d26d4f7e69789d210b70 (diff)
downloadbluez-a9643f63ee9304884ec3188bfbb26c69f467f529.tar.gz
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.
Diffstat (limited to 'Makefile.plugins')
-rw-r--r--Makefile.plugins2
1 files changed, 2 insertions, 0 deletions
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 \