summaryrefslogtreecommitdiff
path: root/package/libnfc/Config.in
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-06-27 22:35:25 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-30 21:27:10 +0200
commit09a29b6a897158070e87493935aba817a58c33fd (patch)
treeb9a35f8215d3c9f2d4c35df9abf9b7f7c3cd3f9d /package/libnfc/Config.in
parent99492e0dfacc53d1fbfa50ac10dac35630e120a1 (diff)
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>
Diffstat (limited to 'package/libnfc/Config.in')
-rw-r--r--package/libnfc/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libnfc/Config.in b/package/libnfc/Config.in
index 3d67d58f3..159578f6a 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