From 435b3be70eb796703a8da83096bf9db583854cfb Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 11 Nov 2016 16:02:06 +0200 Subject: 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. --- Makefile.plugins | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile.plugins') 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 \ -- cgit v1.2.1