kernel: video-dma: explicitly state packaged modules
authorTomasz Maciej Nowak <tmn505@gmail.com>
Wed, 29 May 2024 14:24:04 +0000 (16:24 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 31 May 2024 12:38:17 +0000 (14:38 +0200)
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@gmail.com>
package/kernel/linux/modules/video.mk

index 018f5644b02231df0a093cd9a4c399829759f37d..ff04e3b5de58bd6c40602616a7e0efda2c935af6 100644 (file)
@@ -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