blob: 52f0cd3388a6c3ac5b1ac56975ad06372ef20b9d [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001From 0d5c0e9a75eca43667b0e29155b635e50622b66a Mon Sep 17 00:00:00 2001
Patrick Williamsb48b7b42016-08-17 15:04:38 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 27 Feb 2015 21:55:36 +0000
4Subject: [PATCH] Revert "media-ctl: Don't install libmediactl and
Andrew Geissler9aee5002022-03-30 16:27:02 +00005
Patrick Williamsb48b7b42016-08-17 15:04:38 -05006 libv4l2subdev"
7
8This reverts commit 0911dce53b08b0df3066be2c75f67e8a314d8729.
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11
12Conflicts:
13 utils/media-ctl/Makefile.am
Brad Bishop316dfdd2018-06-25 12:45:53 -040014
Patrick Williamsb48b7b42016-08-17 15:04:38 -050015---
Patrick Williams520786c2023-06-25 16:20:36 -050016Upstream-Status: Pending
17
Brad Bishop6e60e8b2018-02-01 10:27:11 -050018 utils/media-ctl/Makefile.am | 10 +++-------
19 1 file changed, 3 insertions(+), 7 deletions(-)
Patrick Williamsb48b7b42016-08-17 15:04:38 -050020
21diff --git a/utils/media-ctl/Makefile.am b/utils/media-ctl/Makefile.am
Andrew Geissler9aee5002022-03-30 16:27:02 +000022index c48c8d6..e255e16 100644
Patrick Williamsb48b7b42016-08-17 15:04:38 -050023--- a/utils/media-ctl/Makefile.am
24+++ b/utils/media-ctl/Makefile.am
Brad Bishop6e60e8b2018-02-01 10:27:11 -050025@@ -1,8 +1,7 @@
Patrick Williamsb48b7b42016-08-17 15:04:38 -050026-noinst_LTLIBRARIES = libmediactl.la libv4l2subdev.la
27-
28+lib_LTLIBRARIES = libmediactl.la libv4l2subdev.la
29 libmediactl_la_SOURCES = libmediactl.c mediactl-priv.h
30-libmediactl_la_CFLAGS = -static $(LIBUDEV_CFLAGS)
31-libmediactl_la_LDFLAGS = -static $(LIBUDEV_LIBS)
Patrick Williamsb48b7b42016-08-17 15:04:38 -050032+libmediactl_la_CFLAGS = $(LIBUDEV_CFLAGS)
33+libmediactl_la_LDFLAGS = $(LIBUDEV_LIBS)
Brad Bishop6e60e8b2018-02-01 10:27:11 -050034
35 media-bus-format-names.h: ../../include/linux/media-bus-format.h
Andrew Geissler9aee5002022-03-30 16:27:02 +000036 $(AM_V_GEN) sed -e '/#define MEDIA_BUS_FMT/ ! d; s/.*FMT_//; /FIXED/ d; s/\t.*//; s/.*/{ \"&\", MEDIA_BUS_FMT_& },/;' \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050037@@ -18,9 +17,6 @@ CLEANFILES = $(BUILT_SOURCES)
38 nodist_libv4l2subdev_la_SOURCES = $(BUILT_SOURCES)
Patrick Williamsb48b7b42016-08-17 15:04:38 -050039 libv4l2subdev_la_SOURCES = libv4l2subdev.c
40 libv4l2subdev_la_LIBADD = libmediactl.la
41-libv4l2subdev_la_CFLAGS = -static
42-libv4l2subdev_la_LDFLAGS = -static
43-
44 mediactl_includedir=$(includedir)/mediactl
45 noinst_HEADERS = mediactl.h v4l2subdev.h
46