diff options
author | John Crispin <blogic@openwrt.org> | 2015-07-24 09:10:05 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-07-24 09:10:05 +0000 |
commit | db573600d1d40ae74670687a5e829700d4855493 (patch) | |
tree | 8ffe605e20c7e71325226818f3cb81c2a45e0610 /target/linux | |
parent | 9dfa393d5e3ec1ce2f111a744e226da80a6b0468 (diff) | |
download | master-187ad058-db573600d1d40ae74670687a5e829700d4855493.tar.gz master-187ad058-db573600d1d40ae74670687a5e829700d4855493.tar.bz2 master-187ad058-db573600d1d40ae74670687a5e829700d4855493.zip |
brcm2708: add kmod-video-bcm2835 support
This adds BCM2835 camera interface driver as a kernel module.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46460 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/brcm2708/modules.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/brcm2708/modules.mk b/target/linux/brcm2708/modules.mk index 3f9c118654..cad1a64c3b 100644 --- a/target/linux/brcm2708/modules.mk +++ b/target/linux/brcm2708/modules.mk @@ -140,3 +140,20 @@ define KernelPackage/i2c-bcm2835/description 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)) |