aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2018-08-11 13:11:05 +0200
committerHans Verkuil <hans.verkuil@cisco.com>2018-08-11 13:11:05 +0200
commit08e4d723e05da954f688c79e72091b614e6bc1ed (patch)
tree8c1feec54297b3f1f4077bbac78218ad691e5870 /Makefile.am
parent2b8c21241ce1bb42f2cd95456e7cdff08d58db2f (diff)
Makefile.am: copy cec headers from usr/include
When syncing cec headers from a kernel, copy the installed headers, not the headers from uapi. This was done for all other headers, just not the cec headers. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index fc8f2f34..042da374 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -43,12 +43,12 @@ sync-with-kernel:
cp $(top_srcdir)/include/linux/dvb/frontend.h $(top_srcdir)/lib/include/libdvbv5/dvb-frontend.h
cp -a $(KERNEL_DIR)/usr/include/linux/dvb/dmx.h $(top_srcdir)/include/linux/dvb
cp -a $(KERNEL_DIR)/usr/include/linux/lirc.h $(top_srcdir)/include/linux
+ cp -a $(KERNEL_DIR)/usr/include/linux/cec.h $(top_srcdir)/include/linux
+ cp -a $(KERNEL_DIR)/usr/include/linux/cec-funcs.h $(top_srcdir)/include/linux
cp -a $(KERNEL_DIR)/drivers/media/common/v4l2-tpg/v4l2-tpg-core.c $(top_srcdir)/utils/common
cp -a $(KERNEL_DIR)/drivers/media/common/v4l2-tpg/v4l2-tpg-colors.c $(top_srcdir)/utils/common
cp -a $(KERNEL_DIR)/include/media/tpg/v4l2-tpg* $(top_srcdir)/utils/common
patch -p0 <$(top_srcdir)/utils/common/v4l2-tpg.patch
- cp -a $(KERNEL_DIR)/include/uapi/linux/cec.h $(top_srcdir)/include/linux
- cp -a $(KERNEL_DIR)/include/uapi/linux/cec-funcs.h $(top_srcdir)/include/linux
$(MAKE) -C utils/keytable $@
$(MAKE) -C lib/libdvbv5 $@

Privacy Policy