aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-15 10:49:21 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-15 10:49:21 +0000
commit708bbe9382ab5833228d3cac407e72034e768c6d (patch)
treeea98113dd71f58ae190fb5b375a73fd713ea7ba3
parentd475624f64f9622ea75ad93e5e93c15214036dcf (diff)
downloadupstream-708bbe9382ab5833228d3cac407e72034e768c6d.tar.gz
upstream-708bbe9382ab5833228d3cac407e72034e768c6d.tar.bz2
upstream-708bbe9382ab5833228d3cac407e72034e768c6d.zip
kernel: add missing kmod-video-videobuf2's object file in 4.4
CONFIG_VIDEOBUF2_CORE produces two object files in Linux >= 4.4. Conditionally add the new file to FILES of kmod-video-videobuf2. Signed-off-by: Jan Čermák <jan.cermak@nic.cz> SVN-Revision: 48242
-rw-r--r--package/kernel/linux/modules/video.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk
index 3b06a143be..0fcacb2d89 100644
--- a/package/kernel/linux/modules/video.mk
+++ b/package/kernel/linux/modules/video.mk
@@ -127,9 +127,10 @@ define KernelPackage/video-videobuf2
CONFIG_VIDEOBUF2_VMALLOC
FILES:= \
$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videobuf2-core.ko \
+ $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videobuf2-v4l2.ko@ge4.4 \
$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videobuf2-memops.ko \
$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videobuf2-vmalloc.ko
- AUTOLOAD:=$(call AutoLoad,65,videobuf2-core videobuf2-memops videobuf2-vmalloc)
+ AUTOLOAD:=$(call AutoLoad,65,videobuf2-core videobuf-v4l2@ge4.4 videobuf2-memops videobuf2-vmalloc)
$(call AddDepends/video)
endef