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 <[email protected]>
---
 package/kernel/linux/modules/video.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/video.mk 
b/package/kernel/linux/modules/video.mk
index 3b06a14..0fcacb2 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)/[email protected] \
        $(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 [email protected] 
videobuf2-memops videobuf2-vmalloc)
   $(call AddDepends/video)
 endef
 
-- 
2.7.0
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to