libusb: needs thread support
PATCH v2 1/1 libusb: needs thread support
libusb needs thread support, and so do other packages that depend on it.
Signed-off-by Gustavo Zacarias <[email protected]>
--- package/bluez_utils/Config.in | 1 + package/libfreefare/Config.in | 4 ++++ package/libftdi/Config.in | 4 ++++ package/libhid/Config.in | 4 ++++ package/libiqrf/Config.in | 4 ++++ package/libnfc/Config.in | 4 ++++ package/libusb/Config.in | 4 ++++ package/openocd/Config.in | 4 ++++ package/usb_modeswitch/Config.in | 4 ++++ package/usbutils/Config.in | 4 ++++ 10 files changed, 37 insertions(+), 0 deletions(-)
package/bluez_utils/Config.in +1 -0
@@ -24,6 +24,7 @@ config BR2_PACKAGE_BLUEZ_UTILS_AUDIO config BR2_PACKAGE_BLUEZ_UTILS_USB bool "USB support" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb select BR2_PACKAGE_LIBUSB help USB support
package/libfreefare/Config.in +4 -0
@@ -1,8 +1,12 @@ config BR2_PACKAGE_LIBFREEFARE bool "libfreefare" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_LIBNFC help Library for high level manipulation of MIFARE cards. http://code.google.com/p/nfc-tools/wiki/libfreefare + +comment "libfreefare needs a toolchain with thread support" + depends on !BR2_TOOLCHAIN_HAS_THREADS
package/libftdi/Config.in +4 -0
@@ -1,5 +1,6 @@ config BR2_PACKAGE_LIBFTDI bool "libftdi" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb select BR2_PACKAGE_LIBUSB select BR2_PACKAGE_LIBUSB_COMPAT help
@@ -16,3 +17,6 @@ config BR2_PACKAGE_LIBTFDI_CPP C++ bindings for libftdi endif # BR2_PACKAGE_LIBFTDI + +comment "libftdi needs a toolchain with thread support" + depends on !BR2_TOOLCHAIN_HAS_THREADS
package/libhid/Config.in +4 -0
@@ -1,8 +1,12 @@ config BR2_PACKAGE_LIBHID bool "libhid" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb select BR2_PACKAGE_LIBUSB select BR2_PACKAGE_LIBUSB_COMPAT help Userspace library for accessing USB HID devices http://libhid.alioth.debian.org + +comment "libhid needs a toolchain with thread support" + depends on !BR2_TOOLCHAIN_HAS_THREADS
package/libiqrf/Config.in +4 -0
@@ -1,5 +1,6 @@ config BR2_PACKAGE_LIBIQRF bool "libiqrf" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb select BR2_PACKAGE_LIBUSB help This library implement specific protocol
@@ -8,3 +9,6 @@ config BR2_PACKAGE_LIBIQRF libusb library. https://github.com/nandra/libiqrf + +comment "libiqrf needs a toolchain with thread support" + depends on !BR2_TOOLCHAIN_HAS_THREADS
package/libnfc/Config.in +4 -0
@@ -1,5 +1,6 @@ config BR2_PACKAGE_LIBNFC bool "libnfc" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb select BR2_PACKAGE_LIBUSB select BR2_PACKAGE_LIBUSB_COMPAT help
@@ -11,3 +12,6 @@ config BR2_PACKAGE_LIBNFC_EXAMPLES bool "build libnfc examples" depends on BR2_PACKAGE_LIBNFC select BR2_PACKAGE_READLINE + +comment "libnfc needs a toolchain with thread support" + depends on !BR2_TOOLCHAIN_HAS_THREADS
package/libusb/Config.in +4 -0
@@ -1,6 +1,10 @@ config BR2_PACKAGE_LIBUSB bool "libusb" + depends on BR2_TOOLCHAIN_HAS_THREADS help Userspace library for accessing USB devices http://libusb.sourceforge.net/ + +comment "libusb needs a toolchain with thread support" + depends on !BR2_TOOLCHAIN_HAS_THREADS
package/openocd/Config.in +4 -0
@@ -1,5 +1,6 @@ config BR2_PACKAGE_OPENOCD bool "openocd" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb select BR2_PACKAGE_LIBUSB select BR2_PACKAGE_LIBUSB_COMPAT help
@@ -27,3 +28,6 @@ config BR2_PACKAGE_OPENOCD_VSLLINK bool "Versaloon-Link JTAG Programmr" endif # BR2_PACKAGE_OPENOCD + +comment "openocd needs a toolchain with thread support" + depends on !BR2_TOOLCHAIN_HAS_THREADS
package/usb_modeswitch/Config.in +4 -0
@@ -1,5 +1,6 @@ config BR2_PACKAGE_USB_MODESWITCH bool "usb_modeswitch" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb select BR2_PACKAGE_LIBUSB select BR2_PACKAGE_LIBUSB_COMPAT help
@@ -7,3 +8,6 @@ config BR2_PACKAGE_USB_MODESWITCH Used to switch mode on multiple-function devices http://www.draisberghof.de/usb_modeswitch/ + +comment "usb_modeswitch needs a toolchain with thread support" + depends on !BR2_TOOLCHAIN_HAS_THREADS
package/usbutils/Config.in +4 -0
@@ -1,5 +1,6 @@ config BR2_PACKAGE_USBUTILS bool "usbutils" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb select BR2_PACKAGE_LIBUSB help USB enumeration utilities
@@ -15,3 +16,6 @@ config BR2_PACKAGE_USBUTILS_ZLIB This makes the data file smaller if you're not using a compressed filesystem, but it also makes lsusb slower since it has to decompress the file every time it's run. + +comment "usbutils needs a toolchain with thread support" + depends on !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.7.3.4
Thomas Petazzoni
AppliedPATCH v2 1/1 libusb: needs thread support
Le Wed, 27 Jun 2012 22:35:25 -0300,
Gustavo Zacarias <[email protected]> a ?crit :
Quoted 3 lines
libusb needs thread support, and so do other packages that depend on it.
Signed-off-by Gustavo Zacarias <[email protected]>
Applied, thanks.
I have added the same dependency on the libnfc-llrp, which had been added in the mean time, and selects libnfc.
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com