From: Gustavo Zacarias Date: Thu, 28 Jun 2012 01:35:25 +0000 (-0300) Subject: libusb: needs thread support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=09a29b6a897158070e87493935aba817a58c33fd;p=buildroot.git 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 Signed-off-by: Thomas Petazzoni --- diff --git a/package/bluez_utils/Config.in b/package/bluez_utils/Config.in index f5a02d6a4b..d63284d26b 100644 --- a/package/bluez_utils/Config.in +++ b/package/bluez_utils/Config.in @@ -25,6 +25,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 diff --git a/package/libfreefare/Config.in b/package/libfreefare/Config.in index 13a8630d34..68770002ee 100644 --- a/package/libfreefare/Config.in +++ b/package/libfreefare/Config.in @@ -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 diff --git a/package/libftdi/Config.in b/package/libftdi/Config.in index e334d14279..48e9ceb235 100644 --- a/package/libftdi/Config.in +++ b/package/libftdi/Config.in @@ -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 diff --git a/package/libhid/Config.in b/package/libhid/Config.in index 73ff4b7498..093b98fcb9 100644 --- a/package/libhid/Config.in +++ b/package/libhid/Config.in @@ -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 diff --git a/package/libiqrf/Config.in b/package/libiqrf/Config.in index aa25010979..7222536607 100644 --- a/package/libiqrf/Config.in +++ b/package/libiqrf/Config.in @@ -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 diff --git a/package/libnfc-llcp/Config.in b/package/libnfc-llcp/Config.in index d59976a696..f557926715 100644 --- a/package/libnfc-llcp/Config.in +++ b/package/libnfc-llcp/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_LIBNFC_LLCP bool "libnfc-llcp" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb select BR2_PACKAGE_LIBNFC help Library extending libnfc with support for Logical Link Control diff --git a/package/libnfc/Config.in b/package/libnfc/Config.in index 3d67d58f32..159578f6a1 100644 --- a/package/libnfc/Config.in +++ b/package/libnfc/Config.in @@ -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 diff --git a/package/libusb/Config.in b/package/libusb/Config.in index 7f7276fed8..2eed3fa963 100644 --- a/package/libusb/Config.in +++ b/package/libusb/Config.in @@ -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 diff --git a/package/openocd/Config.in b/package/openocd/Config.in index f67c0a8412..4ea66a5b9a 100644 --- a/package/openocd/Config.in +++ b/package/openocd/Config.in @@ -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 diff --git a/package/usb_modeswitch/Config.in b/package/usb_modeswitch/Config.in index ae10a55501..a27b3ee43e 100644 --- a/package/usb_modeswitch/Config.in +++ b/package/usb_modeswitch/Config.in @@ -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 diff --git a/package/usbutils/Config.in b/package/usbutils/Config.in index 23004d9528..fd9926c4bd 100644 --- a/package/usbutils/Config.in +++ b/package/usbutils/Config.in @@ -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