bluez: Install gatttool for Bluetooth Low Energy 1134/head
authorKevin Mehall <km@kevinmehall.net>
Thu, 29 Jan 2015 23:40:34 +0000 (23:40 +0000)
committerKevin Mehall <km@kevinmehall.net>
Fri, 10 Apr 2015 21:53:11 +0000 (14:53 -0700)
gatttool is not included in `make install`. The Debian package
similarly copies it out of the build directory.

Signed-off-by: Kevin Mehall <km@kevinmehall.net>
utils/bluez/Makefile

index d2bc8fab1237563107126b7bc310c3e88c22e02b..fdb442ca522f6546e082c12e60e16f5259f7e2e3 100644 (file)
@@ -111,6 +111,7 @@ define Package/bluez-utils/install
        $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/bluetooth/bluetoothd $(1)/usr/bin/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/bluetooth/obexd $(1)/usr/bin/
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/attrib/gatttool $(1)/usr/bin/
        $(INSTALL_DIR) $(1)/etc/config
        $(INSTALL_DATA) ./files/bluetooth.config $(1)/etc/config/bluetooth
        $(INSTALL_DIR) $(1)/etc/dbus-1/system.d/