bluez: install kmod-bluetooth only w/ USB_SUPPORT

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 <cote2004-github@yahoo.com>
This commit is contained in:
Eneas U de Queiroz 2019-05-17 11:35:44 -03:00
parent a81f47272a
commit e9d68ca60e
No known key found for this signature in database
GPG key ID: 1EB043ABD7ACF202

View 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