aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-01-15 09:13:08 +0100
committerHans Verkuil <hans.verkuil@cisco.com>2014-01-15 09:13:08 +0100
commitf352115010846f3dee53af70b08c82c4d4afb804 (patch)
treee8d6e4d17bb96ad7763e374e068d5d90d602befa /Makefile.am
parent21426b51250e6be34f18b1d49c3f6170d187d612 (diff)
v4l-utils: run sync-with-kernel, add ioctl32 tests for v4l2-subdev.h
The v4l2-subdev ioctls were never tested in compat32 mode. Add the v4l2-subdev.h header to v4l-utils when running sync-with-kernel and fix the gen_ioctl_list.pl script to generate the subdev ioctls. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 65a075c8..500d0ae2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,6 +15,7 @@ sync-with-kernel:
@if [ ! -f $(KERNEL_DIR)/include/uapi/linux/videodev2.h -o \
! -f $(KERNEL_DIR)/include/uapi/linux/v4l2-controls.h -o \
! -f $(KERNEL_DIR)/include/uapi/linux/v4l2-common.h -o \
+ ! -f $(KERNEL_DIR)/include/uapi/linux/v4l2-subdev.h -o \
! -f $(KERNEL_DIR)/include/uapi/linux/ivtv.h -o \
! -f $(KERNEL_DIR)/include/uapi/linux/dvb/frontend.h -o \
! -f $(KERNEL_DIR)/include/uapi/linux/dvb/dmx.h -o \
@@ -26,6 +27,7 @@ sync-with-kernel:
cp -a $(KERNEL_DIR)/include/uapi/linux/videodev2.h $(top_srcdir)/include/linux
cp -a $(KERNEL_DIR)/include/uapi/linux/v4l2-controls.h $(top_srcdir)/include/linux
cp -a $(KERNEL_DIR)/include/uapi/linux/v4l2-common.h $(top_srcdir)/include/linux
+ cp -a $(KERNEL_DIR)/include/uapi/linux/v4l2-subdev.h $(top_srcdir)/include/linux
cp -a $(KERNEL_DIR)/include/uapi/linux/ivtv.h $(top_srcdir)/include/linux
cp -a $(KERNEL_DIR)/include/uapi/linux/dvb/frontend.h $(top_srcdir)/include/linux/dvb
cp -a $(KERNEL_DIR)/include/uapi/linux/dvb/dmx.h $(top_srcdir)/include/linux/dvb

Privacy Policy