Commit 9dc1bbe5 authored by Alexandre Belloni's avatar Alexandre Belloni Committed by Peter Korsgaard
Browse files

bluez-utils: Add GATT support



This allows to compile gatttool which can help use Bluetooth Low Energy
devices.

Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent cbb6cdc6
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -36,6 +36,13 @@ config BR2_PACKAGE_BLUEZ_UTILS_USB
	help
	  USB support

config BR2_PACKAGE_BLUEZ_UTILS_GATT
	bool "GATT support"
	select BR2_PACKAGE_READLINE
	help
	  Generic Attribute Profile (GATT) support. This provides profile
	  discovery and description services for Bluetooth Low Energy.
	  This will install the gatttool utility.
endif

comment "bluez-utils needs a toolchain w/ wchar, threads"
+7 −0
Original line number Diff line number Diff line
@@ -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