aboutsummaryrefslogtreecommitdiff
path: root/package/bluez5_utils/bluez5_utils.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/bluez5_utils/bluez5_utils.mk')
-rw-r--r--package/bluez5_utils/bluez5_utils.mk14
1 files changed, 13 insertions, 1 deletions
diff --git a/package/bluez5_utils/bluez5_utils.mk b/package/bluez5_utils/bluez5_utils.mk
index 2149614c56..6596516850 100644
--- a/package/bluez5_utils/bluez5_utils.mk
+++ b/package/bluez5_utils/bluez5_utils.mk
@@ -5,7 +5,7 @@
################################################################################
# Keep the version and patches in sync with bluez5_utils-headers
-BLUEZ5_UTILS_VERSION = 5.54
+BLUEZ5_UTILS_VERSION = 5.55
BLUEZ5_UTILS_SOURCE = bluez-$(BLUEZ5_UTILS_VERSION).tar.xz
BLUEZ5_UTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth
BLUEZ5_UTILS_INSTALL_STAGING = YES
@@ -110,6 +110,13 @@ else
BLUEZ5_UTILS_CONF_OPTS += --disable-test
endif
+# enable hid2hci tool
+ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_TOOLS_HID2HCI),y)
+BLUEZ5_UTILS_CONF_OPTS += --enable-hid2hci
+else
+BLUEZ5_UTILS_CONF_OPTS += --disable-hid2hci
+endif
+
# use udev if available
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
BLUEZ5_UTILS_CONF_OPTS += --enable-udev
@@ -126,4 +133,9 @@ else
BLUEZ5_UTILS_CONF_OPTS += --disable-systemd
endif
+define BLUEZ5_UTILS_INSTALL_INIT_SYSV
+ $(INSTALL) -m 0755 -D package/bluez5_utils/S40bluetooth \
+ $(TARGET_DIR)/etc/init.d/S40bluetooth
+endef
+
$(eval $(autotools-package))