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

@@ -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