libiio: Drop requirement of threading support in the toolchain
authorPaul Cercueil <paul.cercueil@analog.com>
Thu, 8 Jan 2015 09:57:51 +0000 (10:57 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 8 Jan 2015 18:21:17 +0000 (19:21 +0100)
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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libiio/Config.in

index 292ca5a5e36e886f09f6c33aa9f815f400282902..680d5dcc8c6d7771a0a6faa6bd3699fa13cc406a 100644 (file)
@@ -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