Skip to contentSkip to conversation

libiio: Drop requirement of threading support in the toolchain

PATCH New Paul Cercueil 2 participants 2 messages Jan 8, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libiio: Drop requirement of threading support in the toolchain

The libiio library will compile fine with a toolchain that doesn't support threads (tested with br-arm-full-nothread.config). Only the IIOD program requires support for threading.

---
 package/libiio/Config.in | 4 ----
 1 file changed, 4 deletions(-)
package/libiio/Config.in +0 -4
index 292ca5a..680d5dc 100644
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_LIBIIO
 	bool "libiio"
-	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND if !BR2_PACKAGE_LIBIIO_NETWORK_BACKEND
 	help
 	  Libiio is a library to ease the development of software
@@ -42,6 +41,3 @@ config BR2_PACKAGE_LIBIIO_TESTS
 	  Install the test programs (iio_info, iio_genxml, iio_readdev).
 
 endif
-
-comment "libiio needs a toolchain w/ threads"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 libiio: Drop requirement of threading support in the toolchain

Dear Paul Cercueil,

Quoted 8 lines · Paul Cercueil

The libiio library will compile fine with a toolchain that doesn't support threads (tested with br-arm-full-nothread.config). Only the IIOD program requires support for threading.

---
 package/libiio/Config.in | 4 ----
 1 file changed, 4 deletions(-)

Applied, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com