diff options
Diffstat (limited to 'meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-buildsystem-do-not-assume-building-in-source-tree.patch')
-rw-r--r-- | meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-buildsystem-do-not-assume-building-in-source-tree.patch | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-buildsystem-do-not-assume-building-in-source-tree.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-buildsystem-do-not-assume-building-in-source-tree.patch index 54161f90fc..12609d30e2 100644 --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-buildsystem-do-not-assume-building-in-source-tree.patch +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-buildsystem-do-not-assume-building-in-source-tree.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 806822f5acb756d5acda0f9063c84b28b38b3ffb Mon Sep 17 00:00:00 2001 | 1 | From 75372b8088c20474497b79ec6cf1e99f2d17f56d Mon Sep 17 00:00:00 2001 |
2 | From: Ismo Puustinen <ismo.puustinen@intel.com> | 2 | From: Ismo Puustinen <ismo.puustinen@intel.com> |
3 | Date: Mon, 3 Apr 2017 13:23:38 +0300 | 3 | Date: Mon, 3 Apr 2017 13:23:38 +0300 |
4 | Subject: [PATCH v4l-utils] buildsystem: do not assume building in source tree. | 4 | Subject: [PATCH] buildsystem: do not assume building in source tree. |
5 | 5 | ||
6 | Use $(top_srcdir) as reference for include paths and buildtime scripts. | 6 | Use $(top_srcdir) as reference for include paths and buildtime scripts. |
7 | Otherwise compilation outside of project root directory will fail | 7 | Otherwise compilation outside of project root directory will fail |
@@ -12,6 +12,7 @@ To reproduce: mkdir b; cd b; ../configure; make | |||
12 | Upstream-status: Accepted [https://git.linuxtv.org//v4l-utils.git/commit/?id=bd98c9a99bffc8d44c54859345e4dfee0ada4275] | 12 | Upstream-status: Accepted [https://git.linuxtv.org//v4l-utils.git/commit/?id=bd98c9a99bffc8d44c54859345e4dfee0ada4275] |
13 | 13 | ||
14 | Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> | 14 | Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> |
15 | |||
15 | --- | 16 | --- |
16 | utils/cec-compliance/Makefile.am | 2 +- | 17 | utils/cec-compliance/Makefile.am | 2 +- |
17 | utils/cec-ctl/Makefile.am | 2 +- | 18 | utils/cec-ctl/Makefile.am | 2 +- |
@@ -22,7 +23,7 @@ Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> | |||
22 | 6 files changed, 7 insertions(+), 7 deletions(-) | 23 | 6 files changed, 7 insertions(+), 7 deletions(-) |
23 | 24 | ||
24 | diff --git a/utils/cec-compliance/Makefile.am b/utils/cec-compliance/Makefile.am | 25 | diff --git a/utils/cec-compliance/Makefile.am b/utils/cec-compliance/Makefile.am |
25 | index ec5de51..8331aa0 100644 | 26 | index f05fe6c..f7d1535 100644 |
26 | --- a/utils/cec-compliance/Makefile.am | 27 | --- a/utils/cec-compliance/Makefile.am |
27 | +++ b/utils/cec-compliance/Makefile.am | 28 | +++ b/utils/cec-compliance/Makefile.am |
28 | @@ -7,7 +7,7 @@ cec_compliance_LDFLAGS = -lrt | 29 | @@ -7,7 +7,7 @@ cec_compliance_LDFLAGS = -lrt |
@@ -35,10 +36,10 @@ index ec5de51..8331aa0 100644 | |||
35 | cec-compliance.cpp: version.h | 36 | cec-compliance.cpp: version.h |
36 | 37 | ||
37 | diff --git a/utils/cec-ctl/Makefile.am b/utils/cec-ctl/Makefile.am | 38 | diff --git a/utils/cec-ctl/Makefile.am b/utils/cec-ctl/Makefile.am |
38 | index 0a7ef22..6afb6c9 100644 | 39 | index 4a6eae5..570a070 100644 |
39 | --- a/utils/cec-ctl/Makefile.am | 40 | --- a/utils/cec-ctl/Makefile.am |
40 | +++ b/utils/cec-ctl/Makefile.am | 41 | +++ b/utils/cec-ctl/Makefile.am |
41 | @@ -7,7 +7,7 @@ cec_ctl_LDFLAGS = -lrt | 42 | @@ -6,7 +6,7 @@ cec_ctl_SOURCES = cec-ctl.cpp |
42 | cec-ctl.cpp: cec-ctl-gen.h | 43 | cec-ctl.cpp: cec-ctl-gen.h |
43 | 44 | ||
44 | cec-ctl-gen.h: msg2ctl.pl ../../include/linux/cec.h ../../include/linux/cec-funcs.h | 45 | cec-ctl-gen.h: msg2ctl.pl ../../include/linux/cec.h ../../include/linux/cec-funcs.h |
@@ -48,7 +49,7 @@ index 0a7ef22..6afb6c9 100644 | |||
48 | clean-local: | 49 | clean-local: |
49 | -rm -vf cec-ctl-gen.h | 50 | -rm -vf cec-ctl-gen.h |
50 | diff --git a/utils/cec-follower/Makefile.am b/utils/cec-follower/Makefile.am | 51 | diff --git a/utils/cec-follower/Makefile.am b/utils/cec-follower/Makefile.am |
51 | index 538edb2..fdbf3d9 100644 | 52 | index d8ad292..e3553eb 100644 |
52 | --- a/utils/cec-follower/Makefile.am | 53 | --- a/utils/cec-follower/Makefile.am |
53 | +++ b/utils/cec-follower/Makefile.am | 54 | +++ b/utils/cec-follower/Makefile.am |
54 | @@ -7,12 +7,12 @@ cec_follower_LDFLAGS = -lrt | 55 | @@ -7,12 +7,12 @@ cec_follower_LDFLAGS = -lrt |
@@ -65,7 +66,7 @@ index 538edb2..fdbf3d9 100644 | |||
65 | + $(top_srcdir)/utils/cec-ctl/msg2ctl.pl 2 $(top_srcdir)/include/linux/cec.h $(top_srcdir)/include/linux/cec-funcs.h >$@ | 66 | + $(top_srcdir)/utils/cec-ctl/msg2ctl.pl 2 $(top_srcdir)/include/linux/cec.h $(top_srcdir)/include/linux/cec-funcs.h >$@ |
66 | 67 | ||
67 | version.h: | 68 | version.h: |
68 | @if git rev-parse HEAD >/dev/null 2>&1; then \ | 69 | @if git show-ref -s HEAD >/dev/null 2>&1; then \ |
69 | diff --git a/utils/qv4l2/Makefile.am b/utils/qv4l2/Makefile.am | 70 | diff --git a/utils/qv4l2/Makefile.am b/utils/qv4l2/Makefile.am |
70 | index fd58486..ccd1a2a 100644 | 71 | index fd58486..ccd1a2a 100644 |
71 | --- a/utils/qv4l2/Makefile.am | 72 | --- a/utils/qv4l2/Makefile.am |
@@ -80,7 +81,7 @@ index fd58486..ccd1a2a 100644 | |||
80 | if WITH_QTGL | 81 | if WITH_QTGL |
81 | qv4l2_CPPFLAGS += $(QTGL_CFLAGS) | 82 | qv4l2_CPPFLAGS += $(QTGL_CFLAGS) |
82 | diff --git a/utils/v4l2-compliance/Makefile.am b/utils/v4l2-compliance/Makefile.am | 83 | diff --git a/utils/v4l2-compliance/Makefile.am b/utils/v4l2-compliance/Makefile.am |
83 | index 03db8df..18b9892 100644 | 84 | index c2b5919..fb8d12e 100644 |
84 | --- a/utils/v4l2-compliance/Makefile.am | 85 | --- a/utils/v4l2-compliance/Makefile.am |
85 | +++ b/utils/v4l2-compliance/Makefile.am | 86 | +++ b/utils/v4l2-compliance/Makefile.am |
86 | @@ -5,7 +5,7 @@ DEFS := | 87 | @@ -5,7 +5,7 @@ DEFS := |
@@ -105,6 +106,3 @@ index 955647d..825e53f 100644 | |||
105 | 106 | ||
106 | if WITH_V4L2_CTL_LIBV4L | 107 | if WITH_V4L2_CTL_LIBV4L |
107 | v4l2_ctl_LDADD = ../../lib/libv4l2/libv4l2.la ../../lib/libv4lconvert/libv4lconvert.la -lrt -lpthread | 108 | v4l2_ctl_LDADD = ../../lib/libv4l2/libv4l2.la ../../lib/libv4lconvert/libv4lconvert.la -lrt -lpthread |
108 | -- | ||
109 | 2.9.3 | ||
110 | |||