gadgetfs-test: requires thread support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 12 Dec 2012 08:44:22 +0000 (08:44 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 12 Dec 2012 20:48:16 +0000 (21:48 +0100)
Fixes:

  http://autobuild.buildroot.org/results/012914ed010eac94a2f7bfe18d8375cdb2fe9f06/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/gadgetfs-test/Config.in

index 276ec5402a82accf866826fb6464b575dcecc2f7..a582db61a399c46c3a3b9a85a3cdbf34d2628793 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_GADGETFS_TEST
        bool "gadgetfs-test"
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        help
          Test program for gadgetfs from linux-usb.org
 
@@ -10,3 +11,6 @@ config BR2_PACKAGE_GADGETFS_TEST_USE_AIO
        help
          Select this to have gadgetfs-test do asynchronous I/O using
          the libaio library.
+
+comment "gadgetfs-test requires thread support in toolchain"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS