summaryrefslogtreecommitdiff
path: root/Makefile.plugins
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-11-11 16:02:06 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-11-17 14:15:42 +0200
commit435b3be70eb796703a8da83096bf9db583854cfb (patch)
tree83058542983470d3763169d7ce30542fff66ecdc /Makefile.plugins
parenta9643f63ee9304884ec3188bfbb26c69f467f529 (diff)
downloadbluez-435b3be70eb796703a8da83096bf9db583854cfb.tar.gz
build: Add option to disable HID profile
This adds --disable-hid option to configure which make input plugin to not be build thus reducing the build time and binary size of bluetoothd in systems where HID profile is 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 533922de7..c6951b1e6 100644
--- a/Makefile.plugins
+++ b/Makefile.plugins
@@ -56,11 +56,13 @@ builtin_sources += profiles/network/manager.c \
profiles/network/connection.c
endif
+if HID
builtin_modules += input
builtin_sources += profiles/input/manager.c \
profiles/input/server.h profiles/input/server.c \
profiles/input/device.h profiles/input/device.c \
profiles/input/hidp_defs.h
+endif
builtin_modules += hog
builtin_sources += profiles/input/hog.c profiles/input/uhid_copy.h \