summaryrefslogtreecommitdiffstats
path: root/package/libv4l/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/libv4l/Config.in')
-rw-r--r--package/libv4l/Config.in11
1 files changed, 7 insertions, 4 deletions
diff --git a/package/libv4l/Config.in b/package/libv4l/Config.in
index 0437ba1872..d137613b9b 100644
--- a/package/libv4l/Config.in
+++ b/package/libv4l/Config.in
@@ -5,14 +5,16 @@ config BR2_PACKAGE_LIBV4L
depends on !BR2_STATIC_LIBS # dlopen()
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # media headers
- select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC
+ # wait for libv4l 1.7+ for musl compatibility
+ depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC
+ select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
libv4l is a collection of libraries which adds a thin abstraction
layer on top of video4linux2 devices. libv4l consists of 3 different
libraries: libv4lconvert, libv4l1 and libv4l2.
- http://freshmeat.net/projects/libv4l
+ http://linuxtv.org/wiki/index.php/V4l-utils
if BR2_PACKAGE_LIBV4L
@@ -29,7 +31,8 @@ config BR2_PACKAGE_LIBV4L_UTILS
endif
-comment "libv4l needs a toolchain w/ threads, dynamic library, C++ and headers >= 3.0"
+comment "libv4l needs an uClibc or (e)glibc toolchain w/ threads, dynamic library, C++ and headers >= 3.0"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
- || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
+ || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \
+ || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
OpenPOWER on IntegriCloud