Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] libiio: Drop requirement of threading support in the toolchain
@ 2015-01-08  9:57 Paul Cercueil
  2015-01-08 20:13 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Cercueil @ 2015-01-08  9:57 UTC (permalink / raw)
  To: buildroot

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.

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
---
 package/libiio/Config.in | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/package/libiio/Config.in b/package/libiio/Config.in
index 292ca5a..680d5dc 100644
--- a/package/libiio/Config.in
+++ b/package/libiio/Config.in
@@ -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
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-08 20:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-08  9:57 [Buildroot] [PATCH] libiio: Drop requirement of threading support in the toolchain Paul Cercueil
2015-01-08 20:13 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox