From 929267aebc779d22332e51c6834f2ae5f63d5c96 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Wed, 26 Feb 2014 13:14:03 +0100 Subject: [PATCH] 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 --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index 500d0ae..2e65b20 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 -- 2.7.4