python-nfc: needs toolchain with threads support
authorgilles.talis@gmail.com <gilles.talis@gmail.com>
Thu, 9 May 2013 12:22:02 +0000 (12:22 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 10 May 2013 18:40:15 +0000 (20:40 +0200)
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>
package/python-nfc/Config.in

index c928ba1f3b4274fbca2f7c74e764b11ec1d1cb71..dc46d6c6d11d28047d9da6eb1d7524b0ac3f2cbe 100644 (file)
@@ -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