Skip to contentSkip to conversation

package/bluez5_utils: remove deprecated tool gatttool

PATCH New Sam Bobroff 1 participant 1 message Apr 10, 2017 1 message not in the archive

lore
Share & tools
lore
#1 lore raw

PATCH 1/1 package/bluez5_utils: remove deprecated tool gatttool

In reply to a message not in the archive

Gatttool is no longer built by default, as it has been deprecated. Because the package file contains an explicit hook to install this tool, the build fails.

Rather than enabling deprecated features, remove the explicit hook from the package file so the tool isn't installed at all.

See
https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=b1eb2c4cd057624312e0412f6c4be000f7fc3617

Fixes:
http://autobuild.buildroot.net/results/ba3/ba30d20fc10a4d538a560d75e2a81e7121328dbc

---
 package/bluez5_utils/bluez5_utils.mk | 8 --------
 1 file changed, 8 deletions(-)
package/bluez5_utils/bluez5_utils.mk +0 -8
index d19afc39a..7d3b1edcb 100644
@@ -45,14 +45,6 @@ else
 BLUEZ5_UTILS_CONF_OPTS += --disable-sixaxis
 endif
 
-# install gatttool (For some reason upstream choose not to do it by default)
-ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_GATTTOOL),y)
-define BLUEZ5_UTILS_INSTALL_GATTTOOL
-	$(INSTALL) -D -m 0755 $(@D)/attrib/gatttool $(TARGET_DIR)/usr/bin/gatttool
-endef
-BLUEZ5_UTILS_POST_INSTALL_TARGET_HOOKS += BLUEZ5_UTILS_INSTALL_GATTTOOL
-endif
-
 # enable test
 ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_TEST),y)
 BLUEZ5_UTILS_CONF_OPTS += --enable-test
Signature · 1 line
2.12.1.382.gc0f9c7058