96eb686234
Openobex looks for libusb.pc provided by libusb-compat, not libusb-1.0.pc provided by libusb: https://github.com/zuckschwerdt/openobex/blob/master/acinclude.m4#L171 Openobex links against both libusb (libusb-1.0.so.0) and libusb-compat (libusb-0.1.so.4): $ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/ircp | grep NEEDED 0x0000000000000001 (NEEDED) Shared library: [libopenobex.so.1] 0x0000000000000001 (NEEDED) Shared library: [libusb-0.1.so.4] 0x0000000000000001 (NEEDED) Shared library: [libusb-1.0.so.0] [...] This patch changes the dependency in openobex.mk and also selects libusb-compat. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
config BR2_PACKAGE_OPENOBEX
|
|
bool "openobex"
|
|
help
|
|
Free open source implementation of the Object Exchange (OBEX)
|
|
protocol.
|
|
|
|
http://sourceforge.net/projects/openobex
|
|
|
|
if BR2_PACKAGE_OPENOBEX
|
|
|
|
config BR2_PACKAGE_OPENOBEX_BLUEZ
|
|
bool "enable bluez support"
|
|
depends on !BR2_STATIC_LIBS # bluez_utils
|
|
depends on BR2_USE_WCHAR # libglib2
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib, libglib2
|
|
depends on BR2_USE_MMU # dbus
|
|
select BR2_PACKAGE_BLUEZ_UTILS
|
|
|
|
comment "bluez support needs a toolchain w/ wchar, threads, dynamic library"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
|
|
|
config BR2_PACKAGE_OPENOBEX_LIBUSB
|
|
bool "enable libusb support"
|
|
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
|
|
|
|
config BR2_PACKAGE_OPENOBEX_APPS
|
|
bool "install test applications"
|
|
help
|
|
Also install the openobex test applications on target.
|
|
|
|
config BR2_PACKAGE_OPENOBEX_SYSLOG
|
|
bool "enable debugging to the system logger"
|
|
|
|
config BR2_PACKAGE_OPENOBEX_DUMP
|
|
bool "enable protocol dumping for debugging"
|
|
|
|
endif
|