aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-07-31 19:50:52 +0200
committerHans Verkuil <hans.verkuil@cisco.com>2012-07-31 19:50:52 +0200
commit2918445dacfaf1842f310275cd7a6b3676616b8c (patch)
treefa2fa3a06fee7ca39326d787760918dd9a15db79 /Makefile.am
parent7bf48ded8308af160616b283b1808d05f107bc4c (diff)
Update to latest kernel headers.
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 b7b356c9..a7549554 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -41,12 +41,14 @@ EXTRA_DIST = contrib include README.lib README.lib-multi-threading
sync-with-kernel:
@if [ ! -f $(KERNEL_DIR)/include/linux/videodev2.h -o \
+ ! -f $(KERNEL_DIR)/include/linux/v4l2-common.h -o \
! -f $(KERNEL_DIR)/include/linux/ivtv.h -o \
! -f $(KERNEL_DIR)/include/media/v4l2-chip-ident.h ]; then \
echo "Error you must set KERNEL_DIR to point to an extracted kernel source dir"; \
exit 1; \
fi
cp -a $(KERNEL_DIR)/include/linux/videodev2.h $(top_srcdir)/include/linux
+ cp -a $(KERNEL_DIR)/include/linux/v4l2-common.h $(top_srcdir)/include/linux
cp -a $(KERNEL_DIR)/include/linux/ivtv.h $(top_srcdir)/include/linux
cp -a $(KERNEL_DIR)/include/media/v4l2-chip-ident.h $(top_srcdir)/include/media

Privacy Policy