X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/09076810f3a83e34f11ccd85ee575e630738fb9e..f4d3cba607d04932838ed0ba4aac287138cf32f7:/package/kernel/modules/video.mk?ds=sidebyside diff --git a/package/kernel/modules/video.mk b/package/kernel/modules/video.mk index f1ee75a85..7a6eb31a2 100644 --- a/package/kernel/modules/video.mk +++ b/package/kernel/modules/video.mk @@ -1,6 +1,6 @@ # # Copyright (C) 2009 David Cooper -# Copyright (C) 2006-2009 OpenWrt.org +# Copyright (C) 2006-2010 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -11,47 +11,27 @@ VIDEO_MENU:=Video Support define KernelPackage/video-core SUBMENU:=$(VIDEO_MENU) TITLE=Video4Linux support - DEPENDS:=@PCI_SUPPORT||USB_SUPPORT + DEPENDS:=@PCI_SUPPORT||USB_SUPPORT +!TARGET_etrax:kmod-i2c-core KCONFIG:= \ CONFIG_MEDIA_SUPPORT=m \ CONFIG_VIDEO_DEV \ CONFIG_VIDEO_V4L1=y \ + CONFIG_VIDEO_ALLOW_V4L1=y \ CONFIG_VIDEO_CAPTURE_DRIVERS=y \ - CONFIG_V4L_USB_DRIVERS=y -endef - -define KernelPackage/video-core/2.4 - FILES:=$(LINUX_DIR)/drivers/media/video/videodev.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,60,videodev) -endef - -ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.29)),1) -define KernelPackage/video-core/2.6 + CONFIG_V4L_USB_DRIVERS=y +ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.38)),1) FILES:= \ - $(LINUX_DIR)/drivers/media/video/v4l2-common.$(LINUX_KMOD_SUFFIX) \ - $(LINUX_DIR)/drivers/media/video/v4l1-compat.$(LINUX_KMOD_SUFFIX) \ - $(LINUX_DIR)/drivers/media/video/videodev.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,60, \ - v4l1-compat \ - videodev \ - v4l2-common \ - ) -endef + $(LINUX_DIR)/drivers/media/video/v4l2-common.ko \ + $(LINUX_DIR)/drivers/media/video/videodev.ko + AUTOLOAD:=$(call AutoLoad,60, videodev v4l2-common) else -define KernelPackage/video-core/2.6 FILES:= \ - $(LINUX_DIR)/drivers/media/video/v4l2-common.$(LINUX_KMOD_SUFFIX) \ - $(LINUX_DIR)/drivers/media/video/v4l1-compat.$(LINUX_KMOD_SUFFIX) \ - $(LINUX_DIR)/drivers/media/video/compat_ioctl32.$(LINUX_KMOD_SUFFIX) \ - $(LINUX_DIR)/drivers/media/video/videodev.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,60, \ - v4l1-compat \ - videodev \ - v4l2-common \ - compat_ioctl32 \ - ) -endef + $(LINUX_DIR)/drivers/media/video/v4l2-common.ko \ + $(LINUX_DIR)/drivers/media/video/v4l1-compat.ko \ + $(LINUX_DIR)/drivers/media/video/videodev.ko + AUTOLOAD:=$(call AutoLoad,60, v4l1-compat videodev v4l2-common) endif +endef define KernelPackage/video-core/description Kernel modules for Video4Linux support @@ -60,13 +40,19 @@ endef $(eval $(call KernelPackage,video-core)) -define KernelPackage/video-cpia2 +define AddDepends/video SUBMENU:=$(VIDEO_MENU) + DEPENDS+=kmod-video-core $(1) +endef + + +define KernelPackage/video-cpia2 TITLE:=CPIA2 video driver - DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core +kmod-video-core + DEPENDS:=@USB_SUPPORT +kmod-usb-core KCONFIG:=CONFIG_VIDEO_CPIA2 - FILES:=$(LINUX_DIR)/drivers/media/video/cpia2/cpia2.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/cpia2/cpia2.ko AUTOLOAD:=$(call AutoLoad,70,cpia2) + $(call AddDepends/video) endef define KernelPackage/video-cpia2/description @@ -77,12 +63,12 @@ $(eval $(call KernelPackage,video-cpia2)) define KernelPackage/video-konica - SUBMENU:=$(VIDEO_MENU) TITLE:=Konica USB webcam support - DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-video +kmod-video-core + DEPENDS:=@USB_SUPPORT +kmod-usb-core KCONFIG:=CONFIG_USB_KONICAWC - FILES:=$(LINUX_DIR)/drivers/media/video/usbvideo/konicawc.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/usbvideo/konicawc.ko AUTOLOAD:=$(call AutoLoad,70,konicawc) + $(call AddDepends/video) endef define KernelPackage/video-konica/description @@ -94,12 +80,12 @@ $(eval $(call KernelPackage,video-konica)) define KernelPackage/video-ov511 - SUBMENU:=$(VIDEO_MENU) TITLE:=OV511 USB webcam support - DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core +kmod-video-core - KCONFIG:=CONFIG_VIDEO_OV511 - FILES:=$(LINUX_DIR)/drivers/media/video/ov511.$(LINUX_KMOD_SUFFIX) + DEPENDS:=@USB_SUPPORT +kmod-usb-core + KCONFIG:=CONFIG_USB_OV511 + FILES:=$(LINUX_DIR)/drivers/media/video/ov511.ko AUTOLOAD:=$(call AutoLoad,70,ov511) + $(call AddDepends/video) endef @@ -111,12 +97,12 @@ $(eval $(call KernelPackage,video-ov511)) define KernelPackage/video-ovcamchip - SUBMENU:=$(VIDEO_MENU) TITLE:=OV6xxx/OV7xxx Camera Chip support - DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-i2c-core +kmod-video-core + DEPENDS:=@USB_SUPPORT +kmod-usb-core KCONFIG:=CONFIG_VIDEO_OVCAMCHIP - FILES:=$(LINUX_DIR)/drivers/media/video/ovcamchip/ovcamchip.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/ovcamchip/ovcamchip.ko AUTOLOAD:=$(call AutoLoad,70,ovcamchip) + $(call AddDepends/video) endef @@ -129,12 +115,12 @@ $(eval $(call KernelPackage,video-ovcamchip)) define KernelPackage/video-sn9c102 - SUBMENU:=$(VIDEO_MENU) TITLE:=SN9C102 Camera Chip support - DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core +kmod-video-core + DEPENDS:=@USB_SUPPORT +kmod-usb-core KCONFIG:=CONFIG_USB_SN9C102 - FILES:=$(LINUX_DIR)/drivers/media/video/sn9c102/sn9c102.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,70,sn9c102) + FILES:=$(LINUX_DIR)/drivers/media/video/sn9c102/sn9c102.ko + AUTOLOAD:=$(call AutoLoad,70,gspca_sn9c20x) + $(call AddDepends/video) endef @@ -147,14 +133,14 @@ $(eval $(call KernelPackage,video-sn9c102)) define KernelPackage/video-pwc - SUBMENU:=$(VIDEO_MENU) TITLE:=Philips USB webcam support - DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core +kmod-video-core + DEPENDS:=@USB_SUPPORT +kmod-usb-core KCONFIG:= \ CONFIG_USB_PWC \ CONFIG_USB_PWC_DEBUG=n - FILES:=$(LINUX_DIR)/drivers/media/video/pwc/pwc.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/pwc/pwc.ko AUTOLOAD:=$(call AutoLoad,70,pwc) + $(call AddDepends/video) endef @@ -165,12 +151,13 @@ endef $(eval $(call KernelPackage,video-pwc)) define KernelPackage/video-uvc - SUBMENU:=$(VIDEO_MENU) TITLE:=USB Video Class (UVC) support - DEPENDS:=@LINUX_2_6 @!LINUX_2_6_25 @!LINUX_2_6_24 @!LINUX_2_6_23 @USB_SUPPORT +kmod-usb-core +kmod-video-core + DEPENDS:=@USB_SUPPORT +kmod-usb-core KCONFIG:= CONFIG_USB_VIDEO_CLASS - FILES:=$(LINUX_DIR)/drivers/media/video/uvc/uvcvideo.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/uvc/uvcvideo.ko AUTOLOAD:=$(call AutoLoad,90,uvcvideo) + $(call AddDepends/video) + $(call AddDepends/input) endef @@ -182,16 +169,15 @@ $(eval $(call KernelPackage,video-uvc)) define KernelPackage/video-gspca-core - SUBMENU:=$(VIDEO_MENU) MENU:=1 TITLE:=GSPCA webcam core support framework - DEPENDS:=@LINUX_2_6 @!LINUX_2_6_21 @!LINUX_2_6_25 @USB_SUPPORT +kmod-usb-core +kmod-video-core + DEPENDS:=@USB_SUPPORT +kmod-usb-core KCONFIG:=CONFIG_USB_GSPCA - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_main.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_main.ko AUTOLOAD:=$(call AutoLoad,70,gspca_main) + $(call AddDepends/video) endef - define KernelPackage/video-gspca-core/description Kernel modules for supporting GSPCA based webcam devices. Note this is just the core of the driver, please select a submodule that supports your webcam. @@ -199,13 +185,19 @@ endef $(eval $(call KernelPackage,video-gspca-core)) -define KernelPackage/video-gspca-conex + +define AddDepends/video-gspca SUBMENU:=$(VIDEO_MENU) + DEPENDS+=kmod-video-gspca-core $(1) +endef + + +define KernelPackage/video-gspca-conex TITLE:=conex webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_GSPCA_CONEX - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_conex.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_conex.ko AUTOLOAD:=$(call AutoLoad,75,gspca_conex) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-conex/description @@ -216,12 +208,11 @@ $(eval $(call KernelPackage,video-gspca-conex)) define KernelPackage/video-gspca-etoms - SUBMENU:=$(VIDEO_MENU) TITLE:=etoms webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_GSPCA_ETOMS - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_etoms.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_etoms.ko AUTOLOAD:=$(call AutoLoad,75,gspca_etoms) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-etoms/description @@ -232,12 +223,11 @@ $(eval $(call KernelPackage,video-gspca-etoms)) define KernelPackage/video-gspca-finepix - SUBMENU:=$(VIDEO_MENU) TITLE:=finepix webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_GSPCA_FINEPIX - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_finepix.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_finepix.ko AUTOLOAD:=$(call AutoLoad,75,gspca_finepix) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-finepix/description @@ -248,12 +238,11 @@ $(eval $(call KernelPackage,video-gspca-finepix)) define KernelPackage/video-gspca-mars - SUBMENU:=$(VIDEO_MENU) TITLE:=mars webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_GSPCA_MARS - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_mars.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_mars.ko AUTOLOAD:=$(call AutoLoad,75,gspca_mars) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-mars/description @@ -264,12 +253,11 @@ $(eval $(call KernelPackage,video-gspca-mars)) define KernelPackage/video-gspca-mr97310a - SUBMENU:=$(VIDEO_MENU) TITLE:=mr97310a webcam support - DEPENDS:=kmod-video-gspca-core @!LINUX_2_6_28 KCONFIG:=CONFIG_USB_GSPCA_MR97310A - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_mr97310a.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_mr97310a.ko AUTOLOAD:=$(call AutoLoad,75,gspca_mr97310a) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-mr97310a/description @@ -280,12 +268,11 @@ $(eval $(call KernelPackage,video-gspca-mr97310a)) define KernelPackage/video-gspca-ov519 - SUBMENU:=$(VIDEO_MENU) TITLE:=ov519 webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_GSPCA_OV519 - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_ov519.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_ov519.ko AUTOLOAD:=$(call AutoLoad,75,gspca_ov519) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-ov519/description @@ -296,12 +283,11 @@ $(eval $(call KernelPackage,video-gspca-ov519)) define KernelPackage/video-gspca-ov534 - SUBMENU:=$(VIDEO_MENU) TITLE:=ov534 webcam support - DEPENDS:=kmod-video-gspca-core @!LINUX_2_6_28 KCONFIG:=CONFIG_USB_GSPCA_OV534 - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_ov534.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_ov534.ko AUTOLOAD:=$(call AutoLoad,75,gspca_ov534) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-ov534/description @@ -312,12 +298,11 @@ $(eval $(call KernelPackage,video-gspca-ov534)) define KernelPackage/video-gspca-pac207 - SUBMENU:=$(VIDEO_MENU) TITLE:=pac207 webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_GSPCA_PAC207 - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_pac207.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_pac207.ko AUTOLOAD:=$(call AutoLoad,75,gspca_pac207) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-pac207/description @@ -328,12 +313,11 @@ $(eval $(call KernelPackage,video-gspca-pac207)) define KernelPackage/video-gspca-pac7311 - SUBMENU:=$(VIDEO_MENU) TITLE:=pac7311 webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_GSPCA_PAC7311 - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_pac7311.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_pac7311.ko AUTOLOAD:=$(call AutoLoad,75,gspca_pac7311) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-pac7311/description @@ -343,13 +327,27 @@ endef $(eval $(call KernelPackage,video-gspca-pac7311)) +define KernelPackage/video-gspca-sn9c20x + TITLE:=sn9c20x webcam support + KCONFIG:=CONFIG_USB_GSPCA_SN9C20X + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_sn9c20x.ko + AUTOLOAD:=$(call AutoLoad,75,sn9c20x) + $(call AddDepends/video-gspca) +endef + +define KernelPackage/video-gspca-sn9c20x/description + The SN9C20X USB Camera Driver (sn9c20x) kernel module. +endef + +$(eval $(call KernelPackage,video-gspca-sn9c20x)) + + define KernelPackage/video-gspca-sonixb - SUBMENU:=$(VIDEO_MENU) TITLE:=sonixb webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_GSPCA_SONIXB - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_sonixb.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_sonixb.ko AUTOLOAD:=$(call AutoLoad,75,gspca_sonixb) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-sonixb/description @@ -360,12 +358,11 @@ $(eval $(call KernelPackage,video-gspca-sonixb)) define KernelPackage/video-gspca-sonixj - SUBMENU:=$(VIDEO_MENU) TITLE:=sonixj webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_GSPCA_SONIXJ - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_sonixj.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_sonixj.ko AUTOLOAD:=$(call AutoLoad,75,gspca_sonixj) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-sonixj/description @@ -376,12 +373,11 @@ $(eval $(call KernelPackage,video-gspca-sonixj)) define KernelPackage/video-gspca-spca500 - SUBMENU:=$(VIDEO_MENU) TITLE:=spca500 webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_GSPCA_SPCA500 - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_spca500.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_spca500.ko AUTOLOAD:=$(call AutoLoad,75,gspca_spca500) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-spca500/description @@ -392,12 +388,11 @@ $(eval $(call KernelPackage,video-gspca-spca500)) define KernelPackage/video-gspca-spca501 - SUBMENU:=$(VIDEO_MENU) TITLE:=spca501 webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_GSPCA_SPCA501 - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_spca501.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_spca501.ko AUTOLOAD:=$(call AutoLoad,75,gspca_spca501) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-spca501/description @@ -408,12 +403,11 @@ $(eval $(call KernelPackage,video-gspca-spca501)) define KernelPackage/video-gspca-spca505 - SUBMENU:=$(VIDEO_MENU) TITLE:=spca505 webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_GSPCA_SPCA505 - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_spca505.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_spca505.ko AUTOLOAD:=$(call AutoLoad,75,gspca_spca505) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-spca505/description @@ -424,12 +418,11 @@ $(eval $(call KernelPackage,video-gspca-spca505)) define KernelPackage/video-gspca-spca506 - SUBMENU:=$(VIDEO_MENU) TITLE:=spca506 webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_GSPCA_SPCA506 - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_spca506.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_spca506.ko AUTOLOAD:=$(call AutoLoad,75,gspca_spca506) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-spca506/description @@ -440,12 +433,11 @@ $(eval $(call KernelPackage,video-gspca-spca506)) define KernelPackage/video-gspca-spca508 - SUBMENU:=$(VIDEO_MENU) TITLE:=spca508 webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_GSPCA_SPCA508 - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_spca508.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_spca508.ko AUTOLOAD:=$(call AutoLoad,75,gspca_spca508) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-spca508/description @@ -456,12 +448,11 @@ $(eval $(call KernelPackage,video-gspca-spca508)) define KernelPackage/video-gspca-spca561 - SUBMENU:=$(VIDEO_MENU) TITLE:=spca561 webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_GSPCA_SPCA561 - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_spca561.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_spca561.ko AUTOLOAD:=$(call AutoLoad,75,gspca_spca561) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-spca561/description @@ -472,12 +463,11 @@ $(eval $(call KernelPackage,video-gspca-spca561)) define KernelPackage/video-gspca-sq905 - SUBMENU:=$(VIDEO_MENU) TITLE:=sq905 webcam support - DEPENDS:=kmod-video-gspca-core @!LINUX_2_6_28 KCONFIG:=CONFIG_USB_GSPCA_SQ905 - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_sq905.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_sq905.ko AUTOLOAD:=$(call AutoLoad,75,gspca_sq905) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-sq905/description @@ -488,12 +478,11 @@ $(eval $(call KernelPackage,video-gspca-sq905)) define KernelPackage/video-gspca-sq905c - SUBMENU:=$(VIDEO_MENU) TITLE:=sq905c webcam support - DEPENDS:=kmod-video-gspca-core @!LINUX_2_6_28 KCONFIG:=CONFIG_USB_GSPCA_SQ905C - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_sq905c.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_sq905c.ko AUTOLOAD:=$(call AutoLoad,75,gspca_sq905c) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-sq905c/description @@ -504,12 +493,11 @@ $(eval $(call KernelPackage,video-gspca-sq905c)) define KernelPackage/video-gspca-stk014 - SUBMENU:=$(VIDEO_MENU) TITLE:=stk014 webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_GSPCA_STK014 - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_stk014.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_stk014.ko AUTOLOAD:=$(call AutoLoad,75,gspca_stk014) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-stk014/description @@ -520,12 +508,11 @@ $(eval $(call KernelPackage,video-gspca-stk014)) define KernelPackage/video-gspca-sunplus - SUBMENU:=$(VIDEO_MENU) TITLE:=sunplus webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_GSPCA_SUNPLUS - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_sunplus.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_sunplus.ko AUTOLOAD:=$(call AutoLoad,75,gspca_sunplus) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-sunplus/description @@ -536,12 +523,11 @@ $(eval $(call KernelPackage,video-gspca-sunplus)) define KernelPackage/video-gspca-t613 - SUBMENU:=$(VIDEO_MENU) TITLE:=t613 webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_GSPCA_T613 - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_t613.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_t613.ko AUTOLOAD:=$(call AutoLoad,75,gspca_t613) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-t613/description @@ -552,12 +538,11 @@ $(eval $(call KernelPackage,video-gspca-t613)) define KernelPackage/video-gspca-tv8532 - SUBMENU:=$(VIDEO_MENU) TITLE:=tv8532 webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_GSPCA_TV8532 - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_tv8532.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_tv8532.ko AUTOLOAD:=$(call AutoLoad,75,gspca_tv8532) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-tv8532/description @@ -568,12 +553,11 @@ $(eval $(call KernelPackage,video-gspca-tv8532)) define KernelPackage/video-gspca-vc032x - SUBMENU:=$(VIDEO_MENU) TITLE:=vc032x webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_GSPCA_VC032X - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_vc032x.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_vc032x.ko AUTOLOAD:=$(call AutoLoad,75,gspca_vc032x) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-vc032x/description @@ -584,12 +568,11 @@ $(eval $(call KernelPackage,video-gspca-vc032x)) define KernelPackage/video-gspca-zc3xx - SUBMENU:=$(VIDEO_MENU) TITLE:=zc3xx webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_GSPCA_ZC3XX - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_zc3xx.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_zc3xx.ko AUTOLOAD:=$(call AutoLoad,75,gspca_zc3xx) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-zc3xx/description @@ -600,12 +583,11 @@ $(eval $(call KernelPackage,video-gspca-zc3xx)) define KernelPackage/video-gspca-m5602 - SUBMENU:=$(VIDEO_MENU) TITLE:=m5602 webcam support - DEPENDS:=kmod-video-gspca-core KCONFIG:=CONFIG_USB_M5602 - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/m5602/gspca_m5602.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/m5602/gspca_m5602.ko AUTOLOAD:=$(call AutoLoad,75,gspca_m5602) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-m5602/description @@ -616,12 +598,11 @@ $(eval $(call KernelPackage,video-gspca-m5602)) define KernelPackage/video-gspca-stv06xx - SUBMENU:=$(VIDEO_MENU) TITLE:=stv06xx webcam support - DEPENDS:=kmod-video-gspca-core @!LINUX_2_6_28 KCONFIG:=CONFIG_USB_STV06XX - FILES:=$(LINUX_DIR)/drivers/media/video/gspca/stv06xx/gspca_stv06xx.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/stv06xx/gspca_stv06xx.ko AUTOLOAD:=$(call AutoLoad,75,gspca_stv06xx) + $(call AddDepends/video-gspca) endef define KernelPackage/video-gspca-stv06xx/description @@ -629,3 +610,35 @@ define KernelPackage/video-gspca-stv06xx/description endef $(eval $(call KernelPackage,video-gspca-stv06xx)) + + +define KernelPackage/video-gspca-gl860 + TITLE:=gl860 webcam support + DEPENDS:=@LINUX_2_6_32 + KCONFIG:=CONFIG_USB_GL860 + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gl860/gspca_gl860.ko + AUTOLOAD:=$(call AutoLoad,75,gspca_gl860) + $(call AddDepends/video-gspca) +endef + +define KernelPackage/video-gspca-gl800/description + The GL860 USB Camera Driver (gl860) kernel module. +endef + +$(eval $(call KernelPackage,video-gspca-gl860)) + + +define KernelPackage/video-gspca-jeilinj + TITLE:=jeilinj webcam support + DEPENDS:=@LINUX_2_6_32 + KCONFIG:=CONFIG_USB_GSPCA_JEILINJ + FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_jeilinj.ko + AUTOLOAD:=$(call AutoLoad,75,gspca_jeilinj) + $(call AddDepends/video-gspca) +endef + +define KernelPackage/video-gspca-jeilinj/description + The JEILINJ USB Camera Driver (jeilinj) kernel module. +endef + +$(eval $(call KernelPackage,video-gspca-jeilinj))