aboutsummaryrefslogtreecommitdiff
path: root/package/bluez_utils/bluez_utils.mk
diff options
context:
space:
mode:
authorGravatar Alexandre Belloni <alexandre.belloni@free-electrons.com>2013-12-20 15:20:23 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2013-12-20 15:43:57 +0100
commit9dc1bbe5ea80f5a2f29f284f516bec7a7cab2952 (patch)
tree9e62d1bc2a3f7e2e2422b56242b76482b0fb7c88 /package/bluez_utils/bluez_utils.mk
parentcbb6cdc69cb3f0cfb8783c1fef7e878a43da8567 (diff)
downloadbuildroot-9dc1bbe5ea80f5a2f29f284f516bec7a7cab2952.tar.gz
buildroot-9dc1bbe5ea80f5a2f29f284f516bec7a7cab2952.tar.bz2
bluez-utils: Add GATT support
This allows to compile gatttool which can help use Bluetooth Low Energy devices. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/bluez_utils/bluez_utils.mk')
-rw-r--r--package/bluez_utils/bluez_utils.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/bluez_utils/bluez_utils.mk b/package/bluez_utils/bluez_utils.mk
index 7038638a07..4da2e6435c 100644
--- a/package/bluez_utils/bluez_utils.mk
+++ b/package/bluez_utils/bluez_utils.mk
@@ -37,6 +37,13 @@ BLUEZ_UTILS_CONF_OPT += \
--disable-audio
endif
+ifeq ($(BR2_PACKAGE_BLUEZ_UTILS_GATT),y)
+BLUEZ_UTILS_DEPENDENCIES += readline
+BLUEZ_UTILS_CONF_OPT += --enable-gatt
+else
+BLUEZ_UTILS_CONF_OPT += --disable-gatt
+endif
+
# USB support
ifeq ($(BR2_PACKAGE_BLUEZ_UTILS_USB),y)
BLUEZ_UTILS_DEPENDENCIES += libusb