]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
libv4l: needs thread support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 28 May 2013 11:21:58 +0000 (11:21 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 28 May 2013 21:35:19 +0000 (23:35 +0200)
Fixes:

  http://autobuild.buildroot.org/results/c74/c741ca445a63ce9ab8b0e5b87f3126d7b6051009/build-end.log

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

index cb0f43c5e5039ecff4c1b532163cbf1ff035d21f..70f20ac56dc9483530d981dabde2223cfa332a24 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LIBV4L
        bool "libv4l"
        depends on BR2_LARGEFILE
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        select BR2_PACKAGE_JPEG
        help
          libv4l is an accompanying collection of libraries that adds a thin
@@ -58,5 +59,5 @@ comment "v4l2-dbg requires a toolchain with C++ support enabled"
 
 endif
 
-comment "libv4l requires a toolchain with LARGEFILE support"
-        depends on !BR2_LARGEFILE
+comment "libv4l requires a toolchain with LARGEFILE and thread support"
+        depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
index 55b86a07a338481a6fc3eef5de94db80c1807f1a..6a47ac59cf93a45fe9ad850137cc901db0110483 100644 (file)
@@ -182,12 +182,13 @@ config BR2_PACKAGE_OPENCV_WITH_TIFF
 config BR2_PACKAGE_OPENCV_WITH_V4L
        bool "v4l support"
        depends on BR2_LARGEFILE
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        select BR2_PACKAGE_LIBV4L
        help
          Enable Video 4 Linux support.
 
-comment "v4l support requires a toolchain with LARGEFILE support"
-       depends on !BR2_LARGEFILE
+comment "v4l support requires a toolchain with LARGEFILE and thread support"
+       depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
 
 comment "Install options"