diff options
| author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-12-01 23:00:29 +0100 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-12-18 22:40:35 +0100 |
| commit | 52ae86bcb6aeb96cd25bf901b82ed4dfd9c2ad61 (patch) | |
| tree | d6a6cecbfb38e0607567262958d99f70088210b3 /package/libv4l/Config.in | |
| parent | eda3c0570831efa9fed83a92aa751eae91777fcb (diff) | |
| download | buildroot-52ae86bcb6aeb96cd25bf901b82ed4dfd9c2ad61.tar.gz buildroot-52ae86bcb6aeb96cd25bf901b82ed4dfd9c2ad61.zip | |
libv4l: add patches to fix musl build issues, and enable on musl
This commit adds two patches to the libv4l package, the first one
fixes the __off_t usage and the second one fixes locale-related
function usage. Those two patches allow libv4l to build fine against
musl, so we remove the dependency of glibc || uclibc.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libv4l/Config.in')
| -rw-r--r-- | package/libv4l/Config.in | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/package/libv4l/Config.in b/package/libv4l/Config.in index 8d7eca1a68..4da00342a2 100644 --- a/package/libv4l/Config.in +++ b/package/libv4l/Config.in @@ -5,8 +5,6 @@ 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 - # 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 @@ -44,8 +42,7 @@ comment "libv4l-utils tools need a toolchain w/ locale" endif -comment "libv4l needs an uClibc or (e)glibc toolchain w/ threads, dynamic library, C++ and headers >= 3.0" +comment "libv4l needs a 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_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) + || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 |

