summaryrefslogtreecommitdiff
path: root/Makefile.plugins
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-11-11 16:05:40 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-11-17 14:15:42 +0200
commit523b6fb52f247d491b51d4d8a0a3d30b0090d59b (patch)
tree68163b54b00038c762977f36a8f22fa014e9bbba /Makefile.plugins
parent435b3be70eb796703a8da83096bf9db583854cfb (diff)
downloadbluez-523b6fb52f247d491b51d4d8a0a3d30b0090d59b.tar.gz
build: Add option to disable HoG profile
This adds --disable-hog option to configure which make HoG plugin to not be build thus reducing the build time and binary size of bluetoothd in systems where HID over GATT 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 c6951b1e6..ba5851868 100644
--- a/Makefile.plugins
+++ b/Makefile.plugins
@@ -64,6 +64,7 @@ builtin_sources += profiles/input/manager.c \
profiles/input/hidp_defs.h
endif
+if HOG
builtin_modules += hog
builtin_sources += profiles/input/hog.c profiles/input/uhid_copy.h \
profiles/input/hog-lib.c profiles/input/hog-lib.h \
@@ -73,6 +74,7 @@ builtin_sources += profiles/input/hog.c profiles/input/uhid_copy.h \
profiles/input/suspend.h profiles/input/suspend-none.c
EXTRA_DIST += profiles/input/suspend-dummy.c
+endif
if EXPERIMENTAL
builtin_modules += health