libusb: needs thread support

libusb needs thread support, and so do other packages that depend on it.

[thomas.petazzoni@free-electrons.com: adds threads dependency to
libnfc-llp, which selects libnfc.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Gustavo Zacarias 2012-06-27 22:35:25 -03:00 committed by Thomas Petazzoni
parent 99492e0dfa
commit 09a29b6a89
11 changed files with 38 additions and 0 deletions

View File

@ -25,6 +25,7 @@ config BR2_PACKAGE_BLUEZ_UTILS_AUDIO
config BR2_PACKAGE_BLUEZ_UTILS_USB config BR2_PACKAGE_BLUEZ_UTILS_USB
bool "USB support" bool "USB support"
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
select BR2_PACKAGE_LIBUSB select BR2_PACKAGE_LIBUSB
help help
USB support USB support

View File

@ -1,8 +1,12 @@
config BR2_PACKAGE_LIBFREEFARE config BR2_PACKAGE_LIBFREEFARE
bool "libfreefare" bool "libfreefare"
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_LIBNFC select BR2_PACKAGE_LIBNFC
help help
Library for high level manipulation of MIFARE cards. Library for high level manipulation of MIFARE cards.
http://code.google.com/p/nfc-tools/wiki/libfreefare http://code.google.com/p/nfc-tools/wiki/libfreefare
comment "libfreefare needs a toolchain with thread support"
depends on !BR2_TOOLCHAIN_HAS_THREADS

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_LIBFTDI config BR2_PACKAGE_LIBFTDI
bool "libftdi" bool "libftdi"
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
select BR2_PACKAGE_LIBUSB select BR2_PACKAGE_LIBUSB
select BR2_PACKAGE_LIBUSB_COMPAT select BR2_PACKAGE_LIBUSB_COMPAT
help help
@ -16,3 +17,6 @@ config BR2_PACKAGE_LIBTFDI_CPP
C++ bindings for libftdi C++ bindings for libftdi
endif # BR2_PACKAGE_LIBFTDI endif # BR2_PACKAGE_LIBFTDI
comment "libftdi needs a toolchain with thread support"
depends on !BR2_TOOLCHAIN_HAS_THREADS

View File

@ -1,8 +1,12 @@
config BR2_PACKAGE_LIBHID config BR2_PACKAGE_LIBHID
bool "libhid" bool "libhid"
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
select BR2_PACKAGE_LIBUSB select BR2_PACKAGE_LIBUSB
select BR2_PACKAGE_LIBUSB_COMPAT select BR2_PACKAGE_LIBUSB_COMPAT
help help
Userspace library for accessing USB HID devices Userspace library for accessing USB HID devices
http://libhid.alioth.debian.org http://libhid.alioth.debian.org
comment "libhid needs a toolchain with thread support"
depends on !BR2_TOOLCHAIN_HAS_THREADS

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_LIBIQRF config BR2_PACKAGE_LIBIQRF
bool "libiqrf" bool "libiqrf"
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
select BR2_PACKAGE_LIBUSB select BR2_PACKAGE_LIBUSB
help help
This library implement specific protocol This library implement specific protocol
@ -8,3 +9,6 @@ config BR2_PACKAGE_LIBIQRF
libusb library. libusb library.
https://github.com/nandra/libiqrf https://github.com/nandra/libiqrf
comment "libiqrf needs a toolchain with thread support"
depends on !BR2_TOOLCHAIN_HAS_THREADS

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_LIBNFC_LLCP config BR2_PACKAGE_LIBNFC_LLCP
bool "libnfc-llcp" bool "libnfc-llcp"
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
select BR2_PACKAGE_LIBNFC select BR2_PACKAGE_LIBNFC
help help
Library extending libnfc with support for Logical Link Control Library extending libnfc with support for Logical Link Control

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_LIBNFC config BR2_PACKAGE_LIBNFC
bool "libnfc" bool "libnfc"
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
select BR2_PACKAGE_LIBUSB select BR2_PACKAGE_LIBUSB
select BR2_PACKAGE_LIBUSB_COMPAT select BR2_PACKAGE_LIBUSB_COMPAT
help help
@ -11,3 +12,6 @@ config BR2_PACKAGE_LIBNFC_EXAMPLES
bool "build libnfc examples" bool "build libnfc examples"
depends on BR2_PACKAGE_LIBNFC depends on BR2_PACKAGE_LIBNFC
select BR2_PACKAGE_READLINE select BR2_PACKAGE_READLINE
comment "libnfc needs a toolchain with thread support"
depends on !BR2_TOOLCHAIN_HAS_THREADS

View File

@ -1,6 +1,10 @@
config BR2_PACKAGE_LIBUSB config BR2_PACKAGE_LIBUSB
bool "libusb" bool "libusb"
depends on BR2_TOOLCHAIN_HAS_THREADS
help help
Userspace library for accessing USB devices Userspace library for accessing USB devices
http://libusb.sourceforge.net/ http://libusb.sourceforge.net/
comment "libusb needs a toolchain with thread support"
depends on !BR2_TOOLCHAIN_HAS_THREADS

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_OPENOCD config BR2_PACKAGE_OPENOCD
bool "openocd" bool "openocd"
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
select BR2_PACKAGE_LIBUSB select BR2_PACKAGE_LIBUSB
select BR2_PACKAGE_LIBUSB_COMPAT select BR2_PACKAGE_LIBUSB_COMPAT
help help
@ -27,3 +28,6 @@ config BR2_PACKAGE_OPENOCD_VSLLINK
bool "Versaloon-Link JTAG Programmr" bool "Versaloon-Link JTAG Programmr"
endif # BR2_PACKAGE_OPENOCD endif # BR2_PACKAGE_OPENOCD
comment "openocd needs a toolchain with thread support"
depends on !BR2_TOOLCHAIN_HAS_THREADS

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_USB_MODESWITCH config BR2_PACKAGE_USB_MODESWITCH
bool "usb_modeswitch" bool "usb_modeswitch"
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
select BR2_PACKAGE_LIBUSB select BR2_PACKAGE_LIBUSB
select BR2_PACKAGE_LIBUSB_COMPAT select BR2_PACKAGE_LIBUSB_COMPAT
help help
@ -7,3 +8,6 @@ config BR2_PACKAGE_USB_MODESWITCH
Used to switch mode on multiple-function devices Used to switch mode on multiple-function devices
http://www.draisberghof.de/usb_modeswitch/ http://www.draisberghof.de/usb_modeswitch/
comment "usb_modeswitch needs a toolchain with thread support"
depends on !BR2_TOOLCHAIN_HAS_THREADS

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_USBUTILS config BR2_PACKAGE_USBUTILS
bool "usbutils" bool "usbutils"
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
select BR2_PACKAGE_LIBUSB select BR2_PACKAGE_LIBUSB
help help
USB enumeration utilities 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 This makes the data file smaller if you're not using a compressed
filesystem, but it also makes lsusb slower since it has filesystem, but it also makes lsusb slower since it has
to decompress the file every time it's run. to decompress the file every time it's run.
comment "usbutils needs a toolchain with thread support"
depends on !BR2_TOOLCHAIN_HAS_THREADS