summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/libv4l/Config.in5
-rw-r--r--package/opencv/Config.in5
2 files changed, 6 insertions, 4 deletions
diff --git a/package/libv4l/Config.in b/package/libv4l/Config.in
index cb0f43c5e..70f20ac56 100644
--- a/package/libv4l/Config.in
+++ b/package/libv4l/Config.in
@@ -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
diff --git a/package/opencv/Config.in b/package/opencv/Config.in
index 55b86a07a..6a47ac59c 100644
--- a/package/opencv/Config.in
+++ b/package/opencv/Config.in
@@ -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"