Browse Source

python-nfc: needs toolchain with threads support

python-nfc uses libusb that requires a toolchain with threads support

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
gilles.talis@gmail.com 12 years ago
parent
commit
ee377acd87
1 changed files with 4 additions and 0 deletions
  1. 4 0
      package/python-nfc/Config.in

+ 4 - 0
package/python-nfc/Config.in

@@ -1,9 +1,13 @@
 config BR2_PACKAGE_PYTHON_NFC
 	bool "python-nfc"
 	depends on BR2_PACKAGE_PYTHON
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
 	select BR2_PACKAGE_LIBUSB
 	select BR2_PACKAGE_LIBUSB_COMPAT
 	help
 	  Python module for near field communication.
 
 	  https://launchpad.net/nfcpy
+
+comment "python-nfc requires a toolchain with threads support"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS