summaryrefslogtreecommitdiffstats
path: root/package/libv4l/libv4l.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-08-21 22:55:14 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-08-24 23:26:29 +0200
commit3e69b4e9a638a367a9eb8d3e3f9cbc99cb29457a (patch)
tree571506bc294e51f4dacc93c3c6a901fcfc3a12a2 /package/libv4l/libv4l.mk
parent3a41c96a25a267db77455a668dd4c673a2a6fc39 (diff)
downloadbuildroot-3e69b4e9a638a367a9eb8d3e3f9cbc99cb29457a.tar.gz
buildroot-3e69b4e9a638a367a9eb8d3e3f9cbc99cb29457a.zip
libv4l: ensure libv4l gets built, fixes mediastreamer build
In commit f837251785e9389f53d695ddb8a094707865171b ("package/libv4l: allow build of v4l2 utilities on noMMU platforms"), Hugues Fruchet added a bunch of patches to libv4l in order to allow the v4l utilities to be built on noMMU platforms. However, as part of those patches, he entirely disabled the build of libv4l in static linking configurations, because libv4l uses dlopen(). Unfortunately, this breaks the build of applications like mediastreamer in static linking configurations, and generally makes our libv4l packages a little bit awkward: you can enable it, but it doesn't install anything (in static linking configurations). A closer look shows that dlopen() is only used by libv4l for plugin support, and libv4l only provides one single plugin, and its build is already conditional. Therefore, this commit adds yet another patch to libv4l, which re-enables the build of libv4l, but disables the plugin-related logic when plugin support is disabled (and it was already automatically disabled in static linking configurations). While at it, we update the comment in libv4l.mk that lists the patches that makes autoreconf necessary. Fixes the build of mediastreamer: http://autobuild.buildroot.net/results/af091cfd0508df9395778cdc796f77e95c168410/ Cc: Hugues Fruchet <hugues.fruchet@st.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libv4l/libv4l.mk')
-rw-r--r--package/libv4l/libv4l.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk
index 7b6e081ff2..9b2b417043 100644
--- a/package/libv4l/libv4l.mk
+++ b/package/libv4l/libv4l.mk
@@ -18,6 +18,8 @@ LIBV4L_CONF_OPTS = --disable-doxygen-doc
# 0007-configure.ac-add-disable-libv4l-option.patch
# 0008-configure.ac-fix-build-of-v4l-utils-on-uclinux.patch
# 0009-configure.ac-add-USE_LIBV4L-to-summary.patch
+# 0010-Build-libv4lconvert-helper-support-only-when-fork-is.patch
+# 0011-configure.ac-drop-disable-libv4l-disable-plugin-supp.patch
LIBV4L_AUTORECONF = YES
# host-gettext needed for autoreconf to work
LIBV4L_DEPENDENCIES += host-gettext
OpenPOWER on IntegriCloud