summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/openobex/Config.in3
-rw-r--r--package/openobex/openobex.mk2
2 files changed, 3 insertions, 2 deletions
diff --git a/package/openobex/Config.in b/package/openobex/Config.in
index 2b8cf38208..ed1b81fe42 100644
--- a/package/openobex/Config.in
+++ b/package/openobex/Config.in
@@ -22,8 +22,9 @@ comment "bluez support needs a toolchain w/ wchar, threads, dynamic library"
config BR2_PACKAGE_OPENOBEX_LIBUSB
bool "enable libusb support"
- depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
select BR2_PACKAGE_LIBUSB
+ select BR2_PACKAGE_LIBUSB_COMPAT
comment "libusb support needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/openobex/openobex.mk b/package/openobex/openobex.mk
index b50dbb7fd3..6a1a10ba4f 100644
--- a/package/openobex/openobex.mk
+++ b/package/openobex/openobex.mk
@@ -36,7 +36,7 @@ OPENOBEX_CONF_OPTS += --disable-bluetooth
endif
ifeq ($(BR2_PACKAGE_OPENOBEX_LIBUSB),y)
-OPENOBEX_DEPENDENCIES += libusb
+OPENOBEX_DEPENDENCIES += libusb-compat
OPENOBEX_CONF_OPTS += --with-usb=$(STAGING_DIR)
else
OPENOBEX_CONF_OPTS += --disable-usb
OpenPOWER on IntegriCloud