libiio: test programs require threads
authorBaruch Siach <baruch@tkos.co.il>
Tue, 11 Aug 2015 04:54:39 +0000 (07:54 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 18 Aug 2015 20:45:48 +0000 (22:45 +0200)
Fixes:
http://autobuild.buildroot.net/results/228/228a32167d05337acf17b0e3689aa91e8a67d8fb/
http://autobuild.buildroot.net/results/86a/86adb968659fec56684ba80e1c4230230fd7a1c8/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libiio/Config.in

index 21496ed7c501bca38b31e10e232fa3a062eac424..99da4c1c10007297ab80ae43870a4559ad06b7f2 100644 (file)
@@ -37,9 +37,13 @@ config BR2_PACKAGE_LIBIIO_TESTS
        bool "Install test programs"
        select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND
        select BR2_PACKAGE_LIBIIO_NETWORK_BACKEND
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        help
          Install the test programs (iio_info, iio_genxml, iio_readdev).
 
+comment "IIO test programs need a toolchain w/ threads"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS
+
 config BR2_PACKAGE_LIBIIO_BINDINGS_CSHARP
        bool "Install C# bindings"
        depends on BR2_PACKAGE_MONO