Author: blogic
Date: 2015-07-24 11:10:05 +0200 (Fri, 24 Jul 2015)
New Revision: 46460

Modified:
   trunk/target/linux/brcm2708/modules.mk
Log:
brcm2708: add kmod-video-bcm2835 support

This adds BCM2835 camera interface driver as a kernel module.

Signed-off-by: ?\195?\129lvaro Fern?\195?\161ndez Rojas <[email protected]>

Modified: trunk/target/linux/brcm2708/modules.mk
===================================================================
--- trunk/target/linux/brcm2708/modules.mk      2015-07-24 09:10:00 UTC (rev 
46459)
+++ trunk/target/linux/brcm2708/modules.mk      2015-07-24 09:10:05 UTC (rev 
46460)
@@ -140,3 +140,20 @@
 endef
 
 $(eval $(call KernelPackage,i2c-bcm2835))
+
+
+define KernelPackage/video-bcm2835
+  TITLE:=Broadcom BCM2835 camera interface driver
+  KCONFIG:= \
+       CONFIG_VIDEO_BCM2835=y \
+       CONFIG_VIDEO_BCM2835_MMAL
+  FILES:= $(LINUX_DIR)/drivers/media/platform/bcm2835/bcm2835-v4l2.ko
+  AUTOLOAD:=$(call AutoLoad,65,bcm2835-v4l2)
+  $(call AddDepends/video,@TARGET_brcm2708 +kmod-video-videobuf2)
+endef
+
+define KernelPackage/video-bcm2835/description
+  This is a V4L2 driver for the Broadcom 2835 MMAL camera host interface
+endef
+
+$(eval $(call KernelPackage,video-bcm2835))
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to