[openwrt/openwrt] kernel: video-dma: explicitly state packaged modules

LEDE Commits lede-commits at lists.infradead.org
Fri May 31 05:38:45 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/4d7cbe0a55902af30467eaf307b43e8cc53741d0

commit 4d7cbe0a55902af30467eaf307b43e8cc53741d0
Author: Tomasz Maciej Nowak <tmn505 at gmail.com>
AuthorDate: Wed May 29 16:24:04 2024 +0200

    kernel: video-dma: explicitly state packaged modules
    
    Because wildcard in variable stating packaged modules, the filtering for
    built-in kernel modules didn't work and would cause a packaging failure.
    
    Signed-off-by: Tomasz Maciej Nowak <tmn505 at gmail.com>
---
 package/kernel/linux/modules/video.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk
index 018f5644b0..ff04e3b5de 100644
--- a/package/kernel/linux/modules/video.mk
+++ b/package/kernel/linux/modules/video.mk
@@ -1181,7 +1181,9 @@ define KernelPackage/video-dma
   KCONFIG:= \
 	CONFIG_VIDEOBUF2_DMA_CONTIG \
 	CONFIG_VIDEOBUF2_DMA_SG
-  FILES:= $(LINUX_DIR)/drivers/media/common/videobuf2/videobuf2-dma-*.ko
+  FILES:= \
+	$(LINUX_DIR)/drivers/media/common/videobuf2/videobuf2-dma-contig.ko \
+	$(LINUX_DIR)/drivers/media/common/videobuf2/videobuf2-dma-sg.ko
   AUTOLOAD:=$(call AutoLoad,66,videobuf2-dma-contig videobuf2-dma-sg)
   $(call AddDepends/video)
 endef




More information about the lede-commits mailing list