aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-13 16:34:19 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-13 16:53:26 -0300
commit09658f345575f63b40cf6d8a677b29e03698ecc2 (patch)
treeaf290e3d49aa2a54a5c5ad78dc3bc08001ac68e2 /Makefile.am
parent47aaa1ff81f253e8521f5bbe848ea6df85cc6a8e (diff)
Makefile.am: sync lirc hearder with make sync
The lirc.h header should also be copied from the Kernel tree. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 155c1529..77dba046 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,7 +26,8 @@ sync-with-kernel:
! -f $(KERNEL_DIR)/usr/include/linux/dvb/frontend.h -o \
! -f $(KERNEL_DIR)/usr/include/linux/dvb/dmx.h -o \
! -f $(KERNEL_DIR)/usr/include/linux/dvb/audio.h -o \
- ! -f $(KERNEL_DIR)/usr/include/linux/dvb/video.h ]; then \
+ ! -f $(KERNEL_DIR)/usr/include/linux/dvb/video.h -o \
+ ! -f $(KERNEL_DIR)/usr/include/linux/lirc.h ]; then \
echo "Error you must set KERNEL_DIR to point to an extracted kernel source dir"; \
echo "and run 'make headers_install' in \$$KERNEL_DIR."; \
exit 1; \
@@ -44,6 +45,7 @@ sync-with-kernel:
cp -a $(KERNEL_DIR)/usr/include/linux/dvb/dmx.h $(top_srcdir)/include/linux/dvb
cp -a $(KERNEL_DIR)/usr/include/linux/dvb/audio.h $(top_srcdir)/include/linux/dvb
cp -a $(KERNEL_DIR)/usr/include/linux/dvb/video.h $(top_srcdir)/include/linux/dvb
+ cp -a $(KERNEL_DIR)/usr/include/linux/lirc.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/v4l2-tpg* $(top_srcdir)/utils/common

Privacy Policy