diff options
author | Hugues Fruchet <hugues.fruchet@st.com> | 2017-06-09 14:18:03 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-06-10 23:33:14 +0200 |
commit | f837251785e9389f53d695ddb8a094707865171b (patch) | |
tree | f6451e8e45c1a53043151e4b29824b6b16d46254 /package/libv4l/0008-configure.ac-fix-build-of-v4l-utils-on-uclinux.patch | |
parent | 0ea16a9fcf1f0748bd30183d9f937a3ea2f2fb27 (diff) | |
download | buildroot-f837251785e9389f53d695ddb8a094707865171b.tar.gz buildroot-f837251785e9389f53d695ddb8a094707865171b.zip |
package/libv4l: allow build of v4l2 utilities on noMMU platforms
This commit removes the dependencies on MMU and dynamic libraries.
In order to build v4l2 utilities such as compliancy tools like
v4l2-compliance or cec-compliance, v4-utils can now be built without
dynamic libraries support.
In that case the v4l-utils parts which depends on dynamic library
support are not built:
- libv4l & libv4lconvert libraries
- libv4l plugins
- rds-ctl utility
- contrib test utilities
The rest of the utilities are built.
Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libv4l/0008-configure.ac-fix-build-of-v4l-utils-on-uclinux.patch')
-rw-r--r-- | package/libv4l/0008-configure.ac-fix-build-of-v4l-utils-on-uclinux.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/libv4l/0008-configure.ac-fix-build-of-v4l-utils-on-uclinux.patch b/package/libv4l/0008-configure.ac-fix-build-of-v4l-utils-on-uclinux.patch new file mode 100644 index 0000000000..8f57ec9d19 --- /dev/null +++ b/package/libv4l/0008-configure.ac-fix-build-of-v4l-utils-on-uclinux.patch @@ -0,0 +1,30 @@ +From f66141af12fe45af4ef3bba26e8f300fb203203a Mon Sep 17 00:00:00 2001 +From: Hugues Fruchet <hugues.fruchet@st.com> +Date: Wed, 17 May 2017 10:03:12 +0200 +Subject: [PATCH] configure.ac: fix build of v4l-utils on uclinux + +Build of v4-utils is conditional to "linux_os=yes" which was +not set in case of uclinux, fix this. + +Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com> +Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index b9fc59a..8dc676e 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -149,7 +149,7 @@ AC_CHECK_FUNCS([__secure_getenv secure_getenv]) + + # Check host os + case "$host_os" in +- linux*) ++ *linux*) + linux_os="yes" + ;; + *freebsd*) +-- +1.9.1 + |