aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-02-26 13:14:03 +0100
committerHans Verkuil <hans.verkuil@cisco.com>2014-02-26 13:14:03 +0100
commit929267aebc779d22332e51c6834f2ae5f63d5c96 (patch)
treeb728e7674b6e01b918724f48523dff224b3dc2a8
parent84c8d337f0ad6a43bdde5965c6337434e0b7c213 (diff)
sync-with-kernel should also copy fb.h
The v4l2-ctl utility uses it for some of the overlay operations, and we have to make sure we use the latest fb.h kernel so it will compile correctly on older kernels. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
-rw-r--r--Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 500d0ae2..2e65b20c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -13,6 +13,7 @@ EXTRA_DIST = include COPYING.libv4l README.libv4l README.lib-multi-threading
sync-with-kernel:
@if [ ! -f $(KERNEL_DIR)/include/uapi/linux/videodev2.h -o \
+ ! -f $(KERNEL_DIR)/include/uapi/linux/fb.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 \
@@ -25,6 +26,7 @@ sync-with-kernel:
exit 1; \
fi
cp -a $(KERNEL_DIR)/include/uapi/linux/videodev2.h $(top_srcdir)/include/linux
+ cp -a $(KERNEL_DIR)/include/uapi/linux/fb.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

Privacy Policy