video.mk 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. #
  2. # Copyright (C) 2006-2008 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. # $Id$
  8. VIDEO_MENU:=Video Support
  9. define KernelPackage/video-core
  10. SUBMENU:=$(VIDEO_MENU)
  11. TITLE=Video4Linux support
  12. DEPENDS:=@PCI_SUPPORT||USB_SUPPORT
  13. KCONFIG:= \
  14. CONFIG_VIDEO_DEV \
  15. CONFIG_VIDEO_V4L1=y \
  16. CONFIG_VIDEO_CAPTURE_DRIVERS=y \
  17. CONFIG_V4L_USB_DRIVERS=y
  18. endef
  19. define KernelPackage/video-core/2.4
  20. FILES:=$(LINUX_DIR)/drivers/media/video/videodev.$(LINUX_KMOD_SUFFIX)
  21. AUTOLOAD:=$(call AutoLoad,60,videodev)
  22. endef
  23. define KernelPackage/video-core/2.6
  24. FILES:= \
  25. $(LINUX_DIR)/drivers/media/video/v4l2-common.$(LINUX_KMOD_SUFFIX) \
  26. $(LINUX_DIR)/drivers/media/video/v4l1-compat.$(LINUX_KMOD_SUFFIX) \
  27. $(LINUX_DIR)/drivers/media/video/compat_ioctl32.$(LINUX_KMOD_SUFFIX) \
  28. $(LINUX_DIR)/drivers/media/video/videodev.$(LINUX_KMOD_SUFFIX)
  29. AUTOLOAD:=$(call AutoLoad,60, \
  30. v4l2-common \
  31. v4l1-compat \
  32. compat_ioctl32 \
  33. videodev \
  34. )
  35. endef
  36. define KernelPackage/video-core/description
  37. Kernel modules for Video4Linux support
  38. endef
  39. $(eval $(call KernelPackage,video-core))
  40. define KernelPackage/video-cpia2
  41. SUBMENU:=$(VIDEO_MENU)
  42. TITLE:=CPIA2 video driver
  43. DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core +kmod-video-core
  44. KCONFIG:=CONFIG_VIDEO_CPIA2
  45. FILES:=$(LINUX_DIR)/drivers/media/video/cpia2/cpia2.$(LINUX_KMOD_SUFFIX)
  46. AUTOLOAD:=$(call AutoLoad,70,cpia2)
  47. endef
  48. define KernelPackage/video-cpia2/description
  49. Kernel modules for supporting CPIA2 USB based cameras.
  50. endef
  51. $(eval $(call KernelPackage,video-cpia2))
  52. define KernelPackage/video-konica
  53. SUBMENU:=$(VIDEO_MENU)
  54. TITLE:=Konica USB webcam support
  55. DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-video +kmod-video-core
  56. KCONFIG:=CONFIG_USB_KONICAWC
  57. FILES:=$(LINUX_DIR)/drivers/media/video/usbvideo/konicawc.$(LINUX_KMOD_SUFFIX)
  58. AUTOLOAD:=$(call AutoLoad,70,konicawc)
  59. endef
  60. define KernelPackage/video-konica/description
  61. Kernel support for webcams based on a Konica chipset. This is known to
  62. work with the Intel YC76 webcam.
  63. endef
  64. $(eval $(call KernelPackage,video-konica))
  65. define KernelPackage/video-ov511
  66. SUBMENU:=$(VIDEO_MENU)
  67. TITLE:=OV511 USB webcam support
  68. DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core +kmod-video-core
  69. KCONFIG:=CONFIG_VIDEO_OV511
  70. FILES:=$(LINUX_DIR)/drivers/media/video/ov511.$(LINUX_KMOD_SUFFIX)
  71. AUTOLOAD:=$(call AutoLoad,70,ov511)
  72. endef
  73. define KernelPackage/video-ov511/description
  74. Kernel modules for supporting OmniVision OV511 USB webcams.
  75. endef
  76. $(eval $(call KernelPackage,video-ov511))
  77. define KernelPackage/video-ovcamchip
  78. SUBMENU:=$(VIDEO_MENU)
  79. TITLE:=OV6xxx/OV7xxx Camera Chip support
  80. DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-i2c-core +kmod-video-core
  81. KCONFIG:=CONFIG_VIDEO_OVCAMCHIP
  82. FILES:=$(LINUX_DIR)/drivers/media/video/ovcamchip/ovcamchip.$(LINUX_KMOD_SUFFIX)
  83. AUTOLOAD:=$(call AutoLoad,70,ovcamchip)
  84. endef
  85. define KernelPackage/video-ovcamchip/description
  86. Kernel modules for supporting OmniVision OV6xxx and OV7xxx series of
  87. camera chips.
  88. endef
  89. $(eval $(call KernelPackage,video-ovcamchip))
  90. define KernelPackage/video-pwc
  91. SUBMENU:=$(VIDEO_MENU)
  92. TITLE:=Philips USB webcam support
  93. DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core +kmod-video-core
  94. KCONFIG:= \
  95. CONFIG_USB_PWC \
  96. CONFIG_USB_PWC_DEBUG=n
  97. FILES:=$(LINUX_DIR)/drivers/media/video/pwc/pwc.$(LINUX_KMOD_SUFFIX)
  98. AUTOLOAD:=$(call AutoLoad,70,pwc)
  99. endef
  100. define KernelPackage/video-pwc/description
  101. Kernel modules for supporting Philips USB based cameras.
  102. endef
  103. $(eval $(call KernelPackage,video-pwc))