diff mbox

[1/1] package/bluez5_utils: remove deprecated tool gatttool

Message ID 20170410011607.GA3042@tungsten.ozlabs.ibm.com
State Superseded
Headers show

Commit Message

Sam Bobroff April 10, 2017, 1:16 a.m. UTC
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

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
---
 package/bluez5_utils/bluez5_utils.mk | 8 --------
 1 file changed, 8 deletions(-)
diff mbox

Patch

diff --git a/package/bluez5_utils/bluez5_utils.mk b/package/bluez5_utils/bluez5_utils.mk
index d19afc39a..7d3b1edcb 100644
--- a/package/bluez5_utils/bluez5_utils.mk
+++ b/package/bluez5_utils/bluez5_utils.mk
@@ -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