bluez: install kmod-bluetooth only w/ USB_SUPPORT
authorEneas U de Queiroz <redacted>
Fri, 17 May 2019 14:35:44 +0000 (11:35 -0300)
committerEneas U de Queiroz <redacted>
Fri, 17 May 2019 15:07:44 +0000 (12:07 -0300)
kmod-bluetooth depends on USB_SUPPORT.  If the dependency is not
checked here, it will cause recursive dependency in python packages.

Signed-off-by: Eneas U de Queiroz <redacted>
utils/bluez/Makefile

index 2c0a3dfc11a454f171344860f1508f4e802f1dc3..084481dc70b101ca5ae4f325659a48717c64141c 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=bluez
 PKG_VERSION:=5.50
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@KERNEL/linux/bluetooth/
@@ -47,7 +47,7 @@ $(call Package/bluez/Default)
   SECTION:=libs
   CATEGORY:=Libraries
   TITLE+= library
-  DEPENDS:=+libpthread +kmod-bluetooth
+  DEPENDS:=+libpthread +USB_SUPPORT:kmod-bluetooth
 endef
 
 define Package/bluez-utils
git clone https://git.99rst.org/PROJECT