• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/libv4l/0006-configure.ac-revisit-disable-libv4l-to-disable-dyn-l.patch
Hugues FruchetHugues Fruchet committed f837251785e09 Jun 2017
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From 73efcd77d17fe92750bf5f76896786ca8e147a9f Mon Sep 17 00:00:00 2001
2
From: Hugues Fruchet <hugues.fruchet@st.com>
3
Date: Wed, 17 May 2017 10:03:10 +0200
4
Subject: [PATCH] configure.ac: revisit --disable-libv4l to
5
 --disable-dyn-libv4l
6
​
7
--disable-libv4l is not disabling libv4l compilation, but only
8
dynamic library support of libv4l libraries.
9
​
10
Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com>
11
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
12
---
13
 configure.ac                  | 16 ++++++++--------
14
 lib/libv4l1/Makefile.am       |  2 +-
15
 lib/libv4l2/Makefile.am       |  2 +-
16
 lib/libv4l2rds/Makefile.am    |  2 +-
17
 lib/libv4lconvert/Makefile.am |  2 +-
18
 5 files changed, 12 insertions(+), 12 deletions(-)
19
​
20
diff --git a/configure.ac b/configure.ac
21
index 5f20fc8..8e536cc 100644
22
--- a/configure.ac
23
+++ b/configure.ac
24
@@ -371,11 +371,11 @@ AC_ARG_ENABLE(libdvbv5,
25
    esac]
26
 )
27
 
28
-AC_ARG_ENABLE(libv4l,
29
-  AS_HELP_STRING([--disable-libv4l], [disable dynamic libv4l compilation]),
30
+AC_ARG_ENABLE(dyn-libv4l,
31
+  AS_HELP_STRING([--disable-dyn-libv4l], [disable dynamic libv4l support]),
32
   [case "${enableval}" in
33
      yes | no ) ;;
34
-     *) AC_MSG_ERROR(bad value ${enableval} for --disable-libv4l) ;;
35
+     *) AC_MSG_ERROR(bad value ${enableval} for --disable-dyn-libv4l) ;;
36
    esac]
37
 )
38
 
39
@@ -427,11 +427,11 @@ AC_SEARCH_LIBS([backtrace], [execinfo], [
40
 AM_CONDITIONAL([WITH_LIBDVBV5],     [test x$enable_libdvbv5  != xno -a x$have_libudev = xyes])
41
 AM_CONDITIONAL([WITH_DVBV5_REMOTE], [test x$enable_libdvbv5  != xno -a x$have_libudev = xyes -a x$have_pthread = xyes])
42
 
43
-AM_CONDITIONAL([WITH_LIBV4L],       [test x$enable_libv4l    != xno])
44
+AM_CONDITIONAL([WITH_DYN_LIBV4L],   [test x$enable_dyn_libv4l != xno])
45
 AM_CONDITIONAL([WITH_V4LUTILS],        [test x$enable_v4l_utils != xno -a x$linux_os = xyes])
46
 AM_CONDITIONAL([WITH_QV4L2],       [test x${qt_pkgconfig} = xtrue -a x$enable_qv4l2 != xno])
47
-AM_CONDITIONAL([WITH_V4L_PLUGINS],  [test x$enable_libv4l != xno -a x$enable_shared != xno])
48
-AM_CONDITIONAL([WITH_V4L_WRAPPERS], [test x$enable_libv4l != xno -a x$enable_shared != xno])
49
+AM_CONDITIONAL([WITH_V4L_PLUGINS],  [test x$enable_dyn_libv4l != xno -a x$enable_shared != xno])
50
+AM_CONDITIONAL([WITH_V4L_WRAPPERS], [test x$enable_dyn_libv4l != xno -a x$enable_shared != xno])
51
 AM_CONDITIONAL([WITH_QTGL],        [test x${qt_pkgconfig_gl} = xtrue])
52
 AM_CONDITIONAL([WITH_GCONV],        [test x${enable_gconv} = xyes])
53
 AM_CONDITIONAL([WITH_V4L2_CTL_LIBV4L], [test x${enable_v4l2_ctl_libv4l} != xno])
54
@@ -455,7 +455,7 @@ AM_COND_IF([WITH_LIBDVBV5], [USE_LIBDVBV5="yes"], [USE_LIBDVBV5="no"])
55
 AM_COND_IF([WITH_DVBV5_REMOTE], [USE_DVBV5_REMOTE="yes"
56
                 AC_DEFINE([HAVE_DVBV5_REMOTE], [1], [Usage of DVBv5 remote enabled])],
57
                    [USE_DVBV5_REMOTE="no"])
58
-AM_COND_IF([WITH_LIBV4L], [USE_LIBV4L="yes"], [USE_LIBV4L="no"])
59
+AM_COND_IF([WITH_DYN_LIBV4L], [USE_DYN_LIBV4L="yes"], [USE_DYN_LIBV4L="no"])
60
 AM_COND_IF([WITH_V4LUTILS], [USE_V4LUTILS="yes"], [USE_V4LUTILS="no"])
61
 AM_COND_IF([WITH_QV4L2], [USE_QV4L2="yes"], [USE_QV4L2="no"])
62
 AM_COND_IF([WITH_V4L_PLUGINS], [USE_V4L_PLUGINS="yes"], [USE_V4L_PLUGINS="no"])
63
@@ -490,7 +490,7 @@ compile time options summary
64
 
65
     gconv                      : $USE_GCONV
66
 
67
-    dynamic libv4l             : $USE_LIBV4L
68
+    dynamic libv4l             : $USE_DYN_LIBV4L
69
     v4l_plugins                : $USE_V4L_PLUGINS
70
     v4l_wrappers               : $USE_V4L_WRAPPERS
71
     libdvbv5                   : $USE_LIBDVBV5
72
diff --git a/lib/libv4l1/Makefile.am b/lib/libv4l1/Makefile.am
73
index f768eaa..42cb3db 100644
74
--- a/lib/libv4l1/Makefile.am
75
+++ b/lib/libv4l1/Makefile.am
76
@@ -1,4 +1,4 @@
77
-if WITH_LIBV4L
78
+if WITH_DYN_LIBV4L
79
 lib_LTLIBRARIES = libv4l1.la
80
 include_HEADERS = ../include/libv4l1.h ../include/libv4l1-videodev.h
81
 pkgconfig_DATA = libv4l1.pc
82
diff --git a/lib/libv4l2/Makefile.am b/lib/libv4l2/Makefile.am
83
index 1314a99..811c45c 100644
84
--- a/lib/libv4l2/Makefile.am
85
+++ b/lib/libv4l2/Makefile.am
86
@@ -1,4 +1,4 @@
87
-if WITH_LIBV4L
88
+if WITH_DYN_LIBV4L
89
 lib_LTLIBRARIES = libv4l2.la
90
 include_HEADERS = ../include/libv4l2.h ../include/libv4l-plugin.h
91
 pkgconfig_DATA = libv4l2.pc
92
diff --git a/lib/libv4l2rds/Makefile.am b/lib/libv4l2rds/Makefile.am
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.