Skip to contentSkip to conversation

hplip: needs toolchain with threads support

PATCH New Gilles Talis 2 participants 4 messages May 9, 2013 – May 10, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 hplip: needs toolchain with threads support

hplip uses libusb that requires a toolchain with threads support Fixes:
http://autobuild.buildroot.org/results/12fb9bb8c93c1cc1f93ba8e15558d1630f2e7c3d

---
 package/hplip/Config.in |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
package/hplip/Config.in +3 -2
index d8a1580..c496513 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_HPLIP
 	bool "hplip"
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
 	depends on BR2_PACKAGE_CUPS
 	select BR2_PACKAGE_LIBUSB
 	select BR2_PACKAGE_JPEG
@@ -14,5 +15,5 @@ config BR2_PACKAGE_HPLIP
 
 	  http://hplipopensource.com/
 
-comment "hplip requires a toolchain with C++ support enabled"
-	depends on !BR2_INSTALL_LIBSTDCPP
+comment "hplip requires a toolchain with threads and C++ support"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.7.4.1
#1 lore raw

PATCH 2/2 python-nfc: needs toolchain with threads support

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

---
 package/python-nfc/Config.in |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
package/python-nfc/Config.in +4 -0
index c928ba1..dc46d6c 100644
@@ -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
Signature · 1 line
1.7.4.1
#2 lore raw

PATCH 2/2 python-nfc: needs toolchain with threads support

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gilles" == Gilles Talis <[email protected]> writes:

Gilles> python-nfc uses libusb that requires a toolchain with threads support Gilles> Signed-off-by: Gilles Talis <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/2 hplip: needs toolchain with threads support

In reply to Gilles Talis
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gilles" == Gilles Talis <[email protected]> writes:

Gilles> hplip uses libusb that requires a toolchain with threads support Gilles> Fixes:
Gilles> http://autobuild.buildroot.org/results/12fb9bb8c93c1cc1f93ba8e15558d1630f2e7c3d

Sorry, I've already applied Gustavo's patch fixing the same issue.

Signature · 1 line
Bye, Peter Korsgaard