diff mbox

[2/2] python-nfc: needs toolchain with threads support

Message ID 1368138122-5950-2-git-send-email-gilles.talis@gmail.com
State Accepted
Commit ee377acd8713330e54ef62babbc0b4a5c040446a
Headers show

Commit Message

Gilles Talis May 9, 2013, 10:22 p.m. UTC
python-nfc uses libusb that requires a toolchain with threads support

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
---
 package/python-nfc/Config.in |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Comments

Peter Korsgaard May 10, 2013, 6:40 p.m. UTC | #1
>>>>> "Gilles" == Gilles Talis <gilles.talis@gmail.com> writes:

 Gilles> python-nfc uses libusb that requires a toolchain with threads support
 Gilles> Signed-off-by: Gilles Talis <gilles.talis@gmail.com>

Committed, thanks.
diff mbox

Patch

diff --git a/package/python-nfc/Config.in b/package/python-nfc/Config.in
index c928ba1..dc46d6c 100644
--- a/package/python-nfc/Config.in
+++ b/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