1
0

video.mk 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991
  1. #
  2. # Copyright (C) 2009 David Cooper <dave@kupesoft.com>
  3. # Copyright (C) 2006-2010 OpenWrt.org
  4. #
  5. # This is free software, licensed under the GNU General Public License v2.
  6. # See /LICENSE for more information.
  7. #
  8. VIDEO_MENU:=Video Support
  9. V4L2_DIR=v4l2-core
  10. V4L2_USB_DIR=usb
  11. #
  12. # Video Display
  13. #
  14. define KernelPackage/backlight
  15. SUBMENU:=$(VIDEO_MENU)
  16. TITLE:=Backlight support
  17. DEPENDS:=@DISPLAY_SUPPORT
  18. HIDDEN:=1
  19. KCONFIG:=CONFIG_BACKLIGHT_CLASS_DEVICE \
  20. CONFIG_BACKLIGHT_LCD_SUPPORT=y \
  21. CONFIG_LCD_CLASS_DEVICE=n \
  22. CONFIG_BACKLIGHT_GENERIC=n \
  23. CONFIG_BACKLIGHT_ADP8860=n \
  24. CONFIG_BACKLIGHT_ADP8870=n \
  25. CONFIG_BACKLIGHT_OT200=n \
  26. CONFIG_BACKLIGHT_PM8941_WLED=n
  27. FILES:=$(LINUX_DIR)/drivers/video/backlight/backlight.ko
  28. AUTOLOAD:=$(call AutoProbe,video backlight)
  29. endef
  30. define KernelPackage/backlight/description
  31. Kernel module for Backlight support.
  32. endef
  33. $(eval $(call KernelPackage,backlight))
  34. define KernelPackage/backlight-pwm
  35. SUBMENU:=$(VIDEO_MENU)
  36. TITLE:=PWM Backlight support
  37. DEPENDS:=+kmod-backlight
  38. KCONFIG:=CONFIG_BACKLIGHT_PWM
  39. FILES:=$(LINUX_DIR)/drivers/video/backlight/pwm_bl.ko
  40. AUTOLOAD:=$(call AutoProbe,video pwm_bl)
  41. endef
  42. define KernelPackage/backlight-pwm/description
  43. Kernel module for PWM based Backlight support.
  44. endef
  45. $(eval $(call KernelPackage,backlight-pwm))
  46. define KernelPackage/fb
  47. SUBMENU:=$(VIDEO_MENU)
  48. TITLE:=Framebuffer and framebuffer console support
  49. DEPENDS:=@DISPLAY_SUPPORT
  50. KCONFIG:= \
  51. CONFIG_FB \
  52. CONFIG_FB_MXS=n \
  53. CONFIG_FB_SM750=n \
  54. CONFIG_FRAMEBUFFER_CONSOLE=y \
  55. CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y \
  56. CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y \
  57. CONFIG_FONTS=y \
  58. CONFIG_FONT_8x8=y \
  59. CONFIG_FONT_8x16=y \
  60. CONFIG_FONT_6x11=n \
  61. CONFIG_FONT_7x14=n \
  62. CONFIG_FONT_PEARL_8x8=n \
  63. CONFIG_FONT_ACORN_8x8=n \
  64. CONFIG_FONT_MINI_4x6=n \
  65. CONFIG_FONT_6x10=n \
  66. CONFIG_FONT_SUN8x16=n \
  67. CONFIG_FONT_SUN12x22=n \
  68. CONFIG_FONT_10x18=n \
  69. CONFIG_VT=y \
  70. CONFIG_CONSOLE_TRANSLATIONS=y \
  71. CONFIG_VT_CONSOLE=y \
  72. CONFIG_VT_HW_CONSOLE_BINDING=y
  73. FILES:=$(LINUX_DIR)/drivers/video/fbdev/core/fb.ko \
  74. $(LINUX_DIR)/lib/fonts/font.ko
  75. AUTOLOAD:=$(call AutoLoad,06,fb font)
  76. endef
  77. define KernelPackage/fb/description
  78. Kernel support for framebuffers and framebuffer console.
  79. endef
  80. define KernelPackage/fb/x86
  81. FILES+=$(LINUX_DIR)/arch/x86/video/fbdev.ko
  82. AUTOLOAD:=$(call AutoLoad,06,fbdev fb font)
  83. endef
  84. $(eval $(call KernelPackage,fb))
  85. define KernelPackage/fb-cfb-fillrect
  86. SUBMENU:=$(VIDEO_MENU)
  87. TITLE:=Framebuffer software rectangle filling support
  88. DEPENDS:=+kmod-fb
  89. KCONFIG:=CONFIG_FB_CFB_FILLRECT
  90. FILES:=$(LINUX_DIR)/drivers/video/fbdev/core/cfbfillrect.ko
  91. AUTOLOAD:=$(call AutoLoad,07,cfbfillrect)
  92. endef
  93. define KernelPackage/fb-cfb-fillrect/description
  94. Kernel support for software rectangle filling
  95. endef
  96. $(eval $(call KernelPackage,fb-cfb-fillrect))
  97. define KernelPackage/fb-cfb-copyarea
  98. SUBMENU:=$(VIDEO_MENU)
  99. TITLE:=Framebuffer software copy area support
  100. DEPENDS:=+kmod-fb
  101. KCONFIG:=CONFIG_FB_CFB_COPYAREA
  102. FILES:=$(LINUX_DIR)/drivers/video/fbdev/core/cfbcopyarea.ko
  103. AUTOLOAD:=$(call AutoLoad,07,cfbcopyarea)
  104. endef
  105. define KernelPackage/fb-cfb-copyarea/description
  106. Kernel support for software copy area
  107. endef
  108. $(eval $(call KernelPackage,fb-cfb-copyarea))
  109. define KernelPackage/fb-cfb-imgblt
  110. SUBMENU:=$(VIDEO_MENU)
  111. TITLE:=Framebuffer software image blit support
  112. DEPENDS:=+kmod-fb
  113. KCONFIG:=CONFIG_FB_CFB_IMAGEBLIT
  114. FILES:=$(LINUX_DIR)/drivers/video/fbdev/core/cfbimgblt.ko
  115. AUTOLOAD:=$(call AutoLoad,07,cfbimgblt)
  116. endef
  117. define KernelPackage/fb-cfb-imgblt/description
  118. Kernel support for software image blitting
  119. endef
  120. $(eval $(call KernelPackage,fb-cfb-imgblt))
  121. define KernelPackage/fb-sys-fops
  122. SUBMENU:=$(VIDEO_MENU)
  123. TITLE:=Framebuffer software sys ops support
  124. DEPENDS:=+kmod-fb
  125. KCONFIG:=CONFIG_FB_SYS_FOPS
  126. FILES:=$(LINUX_DIR)/drivers/video/fbdev/core/fb_sys_fops.ko
  127. AUTOLOAD:=$(call AutoLoad,07,fb_sys_fops)
  128. endef
  129. define KernelPackage/fb-sys-fops/description
  130. Kernel support for framebuffer sys ops
  131. endef
  132. $(eval $(call KernelPackage,fb-sys-fops))
  133. define KernelPackage/fb-sys-ram
  134. SUBMENU:=$(VIDEO_MENU)
  135. TITLE:=Framebuffer in system RAM support
  136. DEPENDS:=+kmod-fb
  137. KCONFIG:= \
  138. CONFIG_FB_SYS_COPYAREA \
  139. CONFIG_FB_SYS_FILLRECT \
  140. CONFIG_FB_SYS_IMAGEBLIT
  141. FILES:= \
  142. $(LINUX_DIR)/drivers/video/fbdev/core/syscopyarea.ko \
  143. $(LINUX_DIR)/drivers/video/fbdev/core/sysfillrect.ko \
  144. $(LINUX_DIR)/drivers/video/fbdev/core/sysimgblt.ko
  145. AUTOLOAD:=$(call AutoLoad,07,syscopyarea sysfillrect sysimgblt)
  146. endef
  147. define KernelPackage/fb-sys-ram/description
  148. Kernel support for framebuffers in system RAM
  149. endef
  150. $(eval $(call KernelPackage,fb-sys-ram))
  151. define KernelPackage/fb-tft
  152. SUBMENU:=$(VIDEO_MENU)
  153. TITLE:=Support for small TFT LCD display modules
  154. DEPENDS:= \
  155. @GPIO_SUPPORT @!LINUX_4_9 +kmod-backlight \
  156. +kmod-fb +kmod-fb-sys-fops +kmod-fb-sys-ram +kmod-spi-bitbang
  157. KCONFIG:= \
  158. CONFIG_FB_BACKLIGHT=y \
  159. CONFIG_FB_DEFERRED_IO=y \
  160. CONFIG_FB_TFT
  161. FILES:= \
  162. $(LINUX_DIR)/drivers/staging/fbtft/fbtft.ko
  163. AUTOLOAD:=$(call AutoLoad,08,fbtft)
  164. endef
  165. define KernelPackage/fb-tft/description
  166. Support for small TFT LCD display modules
  167. endef
  168. $(eval $(call KernelPackage,fb-tft))
  169. define KernelPackage/fb-tft-ili9486
  170. SUBMENU:=$(VIDEO_MENU)
  171. TITLE:=FB driver for the ILI9486 LCD Controller
  172. DEPENDS:=+kmod-fb-tft
  173. KCONFIG:=CONFIG_FB_TFT_ILI9486
  174. FILES:=$(LINUX_DIR)/drivers/staging/fbtft/fb_ili9486.ko
  175. AUTOLOAD:=$(call AutoLoad,09,fb_ili9486)
  176. endef
  177. define KernelPackage/fb-tft-ili9486/description
  178. FB driver for the ILI9486 LCD Controller
  179. endef
  180. $(eval $(call KernelPackage,fb-tft-ili9486))
  181. define KernelPackage/drm
  182. SUBMENU:=$(VIDEO_MENU)
  183. TITLE:=Direct Rendering Manager (DRM) support
  184. HIDDEN:=1
  185. DEPENDS:=+kmod-dma-buf +kmod-i2c-core
  186. KCONFIG:=CONFIG_DRM
  187. FILES:= \
  188. $(LINUX_DIR)/drivers/gpu/drm/drm.ko \
  189. $(LINUX_DIR)/drivers/gpu/drm/drm_panel_orientation_quirks.ko@ge4.15
  190. AUTOLOAD:=$(call AutoLoad,05,drm)
  191. endef
  192. define KernelPackage/drm/description
  193. Direct Rendering Manager (DRM) core support
  194. endef
  195. $(eval $(call KernelPackage,drm))
  196. define KernelPackage/drm-ttm
  197. SUBMENU:=$(VIDEO_MENU)
  198. TITLE:=GPU memory management subsystem
  199. DEPENDS:=@DISPLAY_SUPPORT +kmod-drm
  200. KCONFIG:=CONFIG_DRM_TTM
  201. FILES:=$(LINUX_DIR)/drivers/gpu/drm/ttm/ttm.ko
  202. AUTOLOAD:=$(call AutoProbe,ttm)
  203. endef
  204. define KernelPackage/drm-ttm/description
  205. GPU memory management subsystem for devices with multiple GPU memory types.
  206. Will be enabled automatically if a device driver uses it.
  207. endef
  208. $(eval $(call KernelPackage,drm-ttm))
  209. define KernelPackage/drm-kms-helper
  210. SUBMENU:=$(VIDEO_MENU)
  211. TITLE:=CRTC helpers for KMS drivers
  212. DEPENDS:=@DISPLAY_SUPPORT +kmod-drm +kmod-fb +kmod-fb-sys-fops +kmod-fb-cfb-copyarea \
  213. +kmod-fb-cfb-fillrect +kmod-fb-cfb-imgblt +kmod-fb-sys-ram
  214. KCONFIG:= \
  215. CONFIG_DRM_KMS_HELPER \
  216. CONFIG_DRM_KMS_FB_HELPER=y
  217. FILES:=$(LINUX_DIR)/drivers/gpu/drm/drm_kms_helper.ko
  218. AUTOLOAD:=$(call AutoProbe,drm_kms_helper)
  219. endef
  220. define KernelPackage/drm-kms-helper/description
  221. CRTC helpers for KMS drivers.
  222. endef
  223. $(eval $(call KernelPackage,drm-kms-helper))
  224. define KernelPackage/drm-imx
  225. SUBMENU:=$(VIDEO_MENU)
  226. TITLE:=Freescale i.MX DRM support
  227. DEPENDS:=@TARGET_imx6 +kmod-drm-kms-helper
  228. KCONFIG:=CONFIG_DRM_IMX \
  229. CONFIG_DRM_FBDEV_EMULATION=y \
  230. CONFIG_DRM_FBDEV_OVERALLOC=100 \
  231. CONFIG_IMX_IPUV3_CORE \
  232. CONFIG_RESET_CONTROLLER=y \
  233. CONFIG_DRM_IMX_IPUV3 \
  234. CONFIG_IMX_IPUV3 \
  235. CONFIG_DRM_GEM_CMA_HELPER=y \
  236. CONFIG_DRM_KMS_CMA_HELPER=y \
  237. CONFIG_DRM_IMX_FB_HELPER \
  238. CONFIG_DRM_IMX_PARALLEL_DISPLAY=n \
  239. CONFIG_DRM_IMX_TVE=n \
  240. CONFIG_DRM_IMX_LDB=n \
  241. CONFIG_DRM_IMX_HDMI=n
  242. FILES:= \
  243. $(LINUX_DIR)/drivers/gpu/drm/imx/imxdrm.ko \
  244. $(LINUX_DIR)/drivers/gpu/ipu-v3/imx-ipu-v3.ko
  245. AUTOLOAD:=$(call AutoLoad,08,imxdrm imx-ipu-v3 imx-ipuv3-crtc)
  246. endef
  247. define KernelPackage/drm-imx/description
  248. Direct Rendering Manager (DRM) support for Freescale i.MX
  249. endef
  250. $(eval $(call KernelPackage,drm-imx))
  251. define KernelPackage/drm-imx-hdmi
  252. SUBMENU:=$(VIDEO_MENU)
  253. TITLE:=Freescale i.MX HDMI DRM support
  254. DEPENDS:=+kmod-sound-core kmod-drm-imx
  255. KCONFIG:=CONFIG_DRM_IMX_HDMI \
  256. CONFIG_DRM_DW_HDMI_AHB_AUDIO \
  257. CONFIG_DRM_DW_HDMI_I2S_AUDIO
  258. FILES:= \
  259. $(LINUX_DIR)/drivers/gpu/drm/bridge/synopsys/dw-hdmi.ko \
  260. $(LINUX_DIR)/drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.ko \
  261. $(LINUX_DIR)/drivers/gpu/drm/imx/dw_hdmi-imx.ko
  262. AUTOLOAD:=$(call AutoLoad,08,dw-hdmi dw-hdmi-ahb-audio.ko dw_hdmi-imx)
  263. endef
  264. define KernelPackage/drm-imx-hdmi/description
  265. Direct Rendering Manager (DRM) support for Freescale i.MX HDMI
  266. endef
  267. $(eval $(call KernelPackage,drm-imx-hdmi))
  268. define KernelPackage/drm-imx-ldb
  269. SUBMENU:=$(VIDEO_MENU)
  270. TITLE:=Freescale i.MX LVDS DRM support
  271. DEPENDS:=+kmod-backlight kmod-drm-imx
  272. KCONFIG:=CONFIG_DRM_IMX_LDB \
  273. CONFIG_DRM_PANEL_SIMPLE \
  274. CONFIG_DRM_PANEL=y \
  275. CONFIG_DRM_PANEL_SAMSUNG_LD9040=n \
  276. CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0=n \
  277. CONFIG_DRM_PANEL_LG_LG4573=n \
  278. CONFIG_DRM_PANEL_LD9040=n \
  279. CONFIG_DRM_PANEL_LVDS=n \
  280. CONFIG_DRM_PANEL_S6E8AA0=n \
  281. CONFIG_DRM_PANEL_SITRONIX_ST7789V=n
  282. FILES:=$(LINUX_DIR)/drivers/gpu/drm/imx/imx-ldb.ko \
  283. $(LINUX_DIR)/drivers/gpu/drm/panel/panel-simple.ko
  284. AUTOLOAD:=$(call AutoLoad,08,imx-ldb)
  285. endef
  286. define KernelPackage/drm-imx-ldb/description
  287. Direct Rendering Manager (DRM) support for Freescale i.MX LVDS
  288. endef
  289. $(eval $(call KernelPackage,drm-imx-ldb))
  290. #
  291. # Video Capture
  292. #
  293. define KernelPackage/video-core
  294. SUBMENU:=$(VIDEO_MENU)
  295. TITLE=Video4Linux support
  296. DEPENDS:=@PCI_SUPPORT||USB_SUPPORT +PACKAGE_kmod-i2c-core:kmod-i2c-core
  297. KCONFIG:= \
  298. CONFIG_MEDIA_SUPPORT \
  299. CONFIG_MEDIA_CAMERA_SUPPORT=y \
  300. CONFIG_VIDEO_DEV \
  301. CONFIG_VIDEO_V4L1=y \
  302. CONFIG_VIDEO_ALLOW_V4L1=y \
  303. CONFIG_VIDEO_CAPTURE_DRIVERS=y \
  304. CONFIG_V4L_USB_DRIVERS=y \
  305. CONFIG_V4L_PCI_DRIVERS=y \
  306. CONFIG_V4L_PLATFORM_DRIVERS=y \
  307. CONFIG_V4L_ISA_PARPORT_DRIVERS=y
  308. FILES:= \
  309. $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-common.ko \
  310. $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videodev.ko
  311. AUTOLOAD:=$(call AutoLoad,60, videodev v4l2-common)
  312. endef
  313. define KernelPackage/video-core/description
  314. Kernel modules for Video4Linux support
  315. endef
  316. $(eval $(call KernelPackage,video-core))
  317. define AddDepends/video
  318. SUBMENU:=$(VIDEO_MENU)
  319. DEPENDS+=kmod-video-core $(1)
  320. endef
  321. define AddDepends/camera
  322. $(AddDepends/video)
  323. KCONFIG+=CONFIG_MEDIA_USB_SUPPORT=y \
  324. CONFIG_MEDIA_CAMERA_SUPPORT=y
  325. endef
  326. define KernelPackage/video-videobuf2
  327. TITLE:=videobuf2 lib
  328. DEPENDS:=+kmod-dma-buf
  329. KCONFIG:= \
  330. CONFIG_VIDEOBUF2_CORE \
  331. CONFIG_VIDEOBUF2_MEMOPS \
  332. CONFIG_VIDEOBUF2_VMALLOC
  333. FILES:= \
  334. $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videobuf2-core.ko@lt4.16 \
  335. $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videobuf2-v4l2.ko@lt4.16 \
  336. $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videobuf2-memops.ko@lt4.16 \
  337. $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videobuf2-vmalloc.ko@lt4.16 \
  338. $(LINUX_DIR)/drivers/media/common/videobuf2/videobuf2-common.ko@ge4.16 \
  339. $(LINUX_DIR)/drivers/media/common/videobuf2/videobuf2-v4l2.ko@ge4.16 \
  340. $(LINUX_DIR)/drivers/media/common/videobuf2/videobuf2-memops.ko@ge4.16 \
  341. $(LINUX_DIR)/drivers/media/common/videobuf2/videobuf2-vmalloc.ko@ge4.16
  342. AUTOLOAD:=$(call AutoLoad,65,videobuf2-core videobuf-v4l2@ge4.4 videobuf2-memops videobuf2-vmalloc)
  343. $(call AddDepends/video)
  344. endef
  345. define KernelPackage/video-videobuf2/description
  346. Kernel modules that implements three basic types of media buffers.
  347. endef
  348. $(eval $(call KernelPackage,video-videobuf2))
  349. define KernelPackage/video-cpia2
  350. TITLE:=CPIA2 video driver
  351. DEPENDS:=@USB_SUPPORT +kmod-usb-core
  352. KCONFIG:=CONFIG_VIDEO_CPIA2
  353. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/cpia2/cpia2.ko
  354. AUTOLOAD:=$(call AutoProbe,cpia2)
  355. $(call AddDepends/camera)
  356. endef
  357. define KernelPackage/video-cpia2/description
  358. Kernel modules for supporting CPIA2 USB based cameras
  359. endef
  360. $(eval $(call KernelPackage,video-cpia2))
  361. define KernelPackage/video-pwc
  362. TITLE:=Philips USB webcam support
  363. DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-video-videobuf2
  364. KCONFIG:= \
  365. CONFIG_USB_PWC \
  366. CONFIG_USB_PWC_DEBUG=n
  367. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/pwc/pwc.ko
  368. AUTOLOAD:=$(call AutoProbe,pwc)
  369. $(call AddDepends/camera)
  370. endef
  371. define KernelPackage/video-pwc/description
  372. Kernel modules for supporting Philips USB based cameras
  373. endef
  374. $(eval $(call KernelPackage,video-pwc))
  375. define KernelPackage/video-uvc
  376. TITLE:=USB Video Class (UVC) support
  377. DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-video-videobuf2 +kmod-input-core
  378. KCONFIG:= CONFIG_USB_VIDEO_CLASS
  379. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/uvc/uvcvideo.ko
  380. AUTOLOAD:=$(call AutoProbe,uvcvideo)
  381. $(call AddDepends/camera)
  382. endef
  383. define KernelPackage/video-uvc/description
  384. Kernel modules for supporting USB Video Class (UVC) devices
  385. endef
  386. $(eval $(call KernelPackage,video-uvc))
  387. define KernelPackage/video-gspca-core
  388. MENU:=1
  389. TITLE:=GSPCA webcam core support framework
  390. DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-input-core +LINUX_4_19:kmod-video-videobuf2
  391. KCONFIG:=CONFIG_USB_GSPCA
  392. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_main.ko
  393. AUTOLOAD:=$(call AutoProbe,gspca_main)
  394. $(call AddDepends/camera)
  395. endef
  396. define KernelPackage/video-gspca-core/description
  397. Kernel modules for supporting GSPCA based webcam devices. Note this is just
  398. the core of the driver, please select a submodule that supports your webcam.
  399. endef
  400. $(eval $(call KernelPackage,video-gspca-core))
  401. define AddDepends/camera-gspca
  402. SUBMENU:=$(VIDEO_MENU)
  403. DEPENDS+=kmod-video-gspca-core $(1)
  404. endef
  405. define KernelPackage/video-gspca-conex
  406. TITLE:=conex webcam support
  407. KCONFIG:=CONFIG_USB_GSPCA_CONEX
  408. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_conex.ko
  409. AUTOLOAD:=$(call AutoProbe,gspca_conex)
  410. $(call AddDepends/camera-gspca)
  411. endef
  412. define KernelPackage/video-gspca-conex/description
  413. The Conexant Camera Driver (conex) kernel module
  414. endef
  415. $(eval $(call KernelPackage,video-gspca-conex))
  416. define KernelPackage/video-gspca-etoms
  417. TITLE:=etoms webcam support
  418. KCONFIG:=CONFIG_USB_GSPCA_ETOMS
  419. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_etoms.ko
  420. AUTOLOAD:=$(call AutoProbe,gspca_etoms)
  421. $(call AddDepends/camera-gspca)
  422. endef
  423. define KernelPackage/video-gspca-etoms/description
  424. The Etoms USB Camera Driver (etoms) kernel module
  425. endef
  426. $(eval $(call KernelPackage,video-gspca-etoms))
  427. define KernelPackage/video-gspca-finepix
  428. TITLE:=finepix webcam support
  429. KCONFIG:=CONFIG_USB_GSPCA_FINEPIX
  430. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_finepix.ko
  431. AUTOLOAD:=$(call AutoProbe,gspca_finepix)
  432. $(call AddDepends/camera-gspca)
  433. endef
  434. define KernelPackage/video-gspca-finepix/description
  435. The Fujifilm FinePix USB V4L2 driver (finepix) kernel module
  436. endef
  437. $(eval $(call KernelPackage,video-gspca-finepix))
  438. define KernelPackage/video-gspca-mars
  439. TITLE:=mars webcam support
  440. KCONFIG:=CONFIG_USB_GSPCA_MARS
  441. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_mars.ko
  442. AUTOLOAD:=$(call AutoProbe,gspca_mars)
  443. $(call AddDepends/camera-gspca)
  444. endef
  445. define KernelPackage/video-gspca-mars/description
  446. The Mars USB Camera Driver (mars) kernel module
  447. endef
  448. $(eval $(call KernelPackage,video-gspca-mars))
  449. define KernelPackage/video-gspca-mr97310a
  450. TITLE:=mr97310a webcam support
  451. KCONFIG:=CONFIG_USB_GSPCA_MR97310A
  452. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_mr97310a.ko
  453. AUTOLOAD:=$(call AutoProbe,gspca_mr97310a)
  454. $(call AddDepends/camera-gspca)
  455. endef
  456. define KernelPackage/video-gspca-mr97310a/description
  457. The Mars-Semi MR97310A USB Camera Driver (mr97310a) kernel module
  458. endef
  459. $(eval $(call KernelPackage,video-gspca-mr97310a))
  460. define KernelPackage/video-gspca-ov519
  461. TITLE:=ov519 webcam support
  462. KCONFIG:=CONFIG_USB_GSPCA_OV519
  463. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_ov519.ko
  464. AUTOLOAD:=$(call AutoProbe,gspca_ov519)
  465. $(call AddDepends/camera-gspca)
  466. endef
  467. define KernelPackage/video-gspca-ov519/description
  468. The OV519 USB Camera Driver (ov519) kernel module
  469. endef
  470. $(eval $(call KernelPackage,video-gspca-ov519))
  471. define KernelPackage/video-gspca-ov534
  472. TITLE:=ov534 webcam support
  473. KCONFIG:=CONFIG_USB_GSPCA_OV534
  474. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_ov534.ko
  475. AUTOLOAD:=$(call AutoProbe,gspca_ov534)
  476. $(call AddDepends/camera-gspca)
  477. endef
  478. define KernelPackage/video-gspca-ov534/description
  479. The OV534 USB Camera Driver (ov534) kernel module
  480. endef
  481. $(eval $(call KernelPackage,video-gspca-ov534))
  482. define KernelPackage/video-gspca-ov534-9
  483. TITLE:=ov534-9 webcam support
  484. KCONFIG:=CONFIG_USB_GSPCA_OV534_9
  485. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_ov534_9.ko
  486. AUTOLOAD:=$(call AutoProbe,gspca_ov534_9)
  487. $(call AddDepends/camera-gspca)
  488. endef
  489. define KernelPackage/video-gspca-ov534-9/description
  490. The OV534-9 USB Camera Driver (ov534_9) kernel module
  491. endef
  492. $(eval $(call KernelPackage,video-gspca-ov534-9))
  493. define KernelPackage/video-gspca-pac207
  494. TITLE:=pac207 webcam support
  495. KCONFIG:=CONFIG_USB_GSPCA_PAC207
  496. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_pac207.ko
  497. AUTOLOAD:=$(call AutoProbe,gspca_pac207)
  498. $(call AddDepends/camera-gspca)
  499. endef
  500. define KernelPackage/video-gspca-pac207/description
  501. The Pixart PAC207 USB Camera Driver (pac207) kernel module
  502. endef
  503. $(eval $(call KernelPackage,video-gspca-pac207))
  504. define KernelPackage/video-gspca-pac7311
  505. TITLE:=pac7311 webcam support
  506. KCONFIG:=CONFIG_USB_GSPCA_PAC7311
  507. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_pac7311.ko
  508. AUTOLOAD:=$(call AutoProbe,gspca_pac7311)
  509. $(call AddDepends/camera-gspca)
  510. endef
  511. define KernelPackage/video-gspca-pac7311/description
  512. The Pixart PAC7311 USB Camera Driver (pac7311) kernel module
  513. endef
  514. $(eval $(call KernelPackage,video-gspca-pac7311))
  515. define KernelPackage/video-gspca-se401
  516. TITLE:=se401 webcam support
  517. KCONFIG:=CONFIG_USB_GSPCA_SE401
  518. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_se401.ko
  519. AUTOLOAD:=$(call AutoProbe,gspca_se401)
  520. $(call AddDepends/camera-gspca)
  521. endef
  522. define KernelPackage/video-gspca-se401/description
  523. The SE401 USB Camera Driver kernel module
  524. endef
  525. $(eval $(call KernelPackage,video-gspca-se401))
  526. define KernelPackage/video-gspca-sn9c20x
  527. TITLE:=sn9c20x webcam support
  528. KCONFIG:=CONFIG_USB_GSPCA_SN9C20X
  529. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sn9c20x.ko
  530. AUTOLOAD:=$(call AutoProbe,gspca_sn9c20x)
  531. $(call AddDepends/camera-gspca)
  532. endef
  533. define KernelPackage/video-gspca-sn9c20x/description
  534. The SN9C20X USB Camera Driver (sn9c20x) kernel module
  535. endef
  536. $(eval $(call KernelPackage,video-gspca-sn9c20x))
  537. define KernelPackage/video-gspca-sonixb
  538. TITLE:=sonixb webcam support
  539. KCONFIG:=CONFIG_USB_GSPCA_SONIXB
  540. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sonixb.ko
  541. AUTOLOAD:=$(call AutoProbe,gspca_sonixb)
  542. $(call AddDepends/camera-gspca)
  543. endef
  544. define KernelPackage/video-gspca-sonixb/description
  545. The SONIX Bayer USB Camera Driver (sonixb) kernel module
  546. endef
  547. $(eval $(call KernelPackage,video-gspca-sonixb))
  548. define KernelPackage/video-gspca-sonixj
  549. TITLE:=sonixj webcam support
  550. KCONFIG:=CONFIG_USB_GSPCA_SONIXJ
  551. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sonixj.ko
  552. AUTOLOAD:=$(call AutoProbe,gspca_sonixj)
  553. $(call AddDepends/camera-gspca)
  554. endef
  555. define KernelPackage/video-gspca-sonixj/description
  556. The SONIX JPEG USB Camera Driver (sonixj) kernel module
  557. endef
  558. $(eval $(call KernelPackage,video-gspca-sonixj))
  559. define KernelPackage/video-gspca-spca500
  560. TITLE:=spca500 webcam support
  561. KCONFIG:=CONFIG_USB_GSPCA_SPCA500
  562. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca500.ko
  563. AUTOLOAD:=$(call AutoProbe,gspca_spca500)
  564. $(call AddDepends/camera-gspca)
  565. endef
  566. define KernelPackage/video-gspca-spca500/description
  567. The SPCA500 USB Camera Driver (spca500) kernel module
  568. endef
  569. $(eval $(call KernelPackage,video-gspca-spca500))
  570. define KernelPackage/video-gspca-spca501
  571. TITLE:=spca501 webcam support
  572. KCONFIG:=CONFIG_USB_GSPCA_SPCA501
  573. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca501.ko
  574. AUTOLOAD:=$(call AutoProbe,gspca_spca501)
  575. $(call AddDepends/camera-gspca)
  576. endef
  577. define KernelPackage/video-gspca-spca501/description
  578. The SPCA501 USB Camera Driver (spca501) kernel module
  579. endef
  580. $(eval $(call KernelPackage,video-gspca-spca501))
  581. define KernelPackage/video-gspca-spca505
  582. TITLE:=spca505 webcam support
  583. KCONFIG:=CONFIG_USB_GSPCA_SPCA505
  584. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca505.ko
  585. AUTOLOAD:=$(call AutoProbe,gspca_spca505)
  586. $(call AddDepends/camera-gspca)
  587. endef
  588. define KernelPackage/video-gspca-spca505/description
  589. The SPCA505 USB Camera Driver (spca505) kernel module
  590. endef
  591. $(eval $(call KernelPackage,video-gspca-spca505))
  592. define KernelPackage/video-gspca-spca506
  593. TITLE:=spca506 webcam support
  594. KCONFIG:=CONFIG_USB_GSPCA_SPCA506
  595. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca506.ko
  596. AUTOLOAD:=$(call AutoProbe,gspca_spca506)
  597. $(call AddDepends/camera-gspca)
  598. endef
  599. define KernelPackage/video-gspca-spca506/description
  600. The SPCA506 USB Camera Driver (spca506) kernel module
  601. endef
  602. $(eval $(call KernelPackage,video-gspca-spca506))
  603. define KernelPackage/video-gspca-spca508
  604. TITLE:=spca508 webcam support
  605. KCONFIG:=CONFIG_USB_GSPCA_SPCA508
  606. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca508.ko
  607. AUTOLOAD:=$(call AutoProbe,gspca_spca508)
  608. $(call AddDepends/camera-gspca)
  609. endef
  610. define KernelPackage/video-gspca-spca508/description
  611. The SPCA508 USB Camera Driver (spca508) kernel module
  612. endef
  613. $(eval $(call KernelPackage,video-gspca-spca508))
  614. define KernelPackage/video-gspca-spca561
  615. TITLE:=spca561 webcam support
  616. KCONFIG:=CONFIG_USB_GSPCA_SPCA561
  617. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca561.ko
  618. AUTOLOAD:=$(call AutoProbe,gspca_spca561)
  619. $(call AddDepends/camera-gspca)
  620. endef
  621. define KernelPackage/video-gspca-spca561/description
  622. The SPCA561 USB Camera Driver (spca561) kernel module
  623. endef
  624. $(eval $(call KernelPackage,video-gspca-spca561))
  625. define KernelPackage/video-gspca-sq905
  626. TITLE:=sq905 webcam support
  627. KCONFIG:=CONFIG_USB_GSPCA_SQ905
  628. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sq905.ko
  629. AUTOLOAD:=$(call AutoProbe,gspca_sq905)
  630. $(call AddDepends/camera-gspca)
  631. endef
  632. define KernelPackage/video-gspca-sq905/description
  633. The SQ Technologies SQ905 based USB Camera Driver (sq905) kernel module
  634. endef
  635. $(eval $(call KernelPackage,video-gspca-sq905))
  636. define KernelPackage/video-gspca-sq905c
  637. TITLE:=sq905c webcam support
  638. KCONFIG:=CONFIG_USB_GSPCA_SQ905C
  639. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sq905c.ko
  640. AUTOLOAD:=$(call AutoProbe,gspca_sq905c)
  641. $(call AddDepends/camera-gspca)
  642. endef
  643. define KernelPackage/video-gspca-sq905c/description
  644. The SQ Technologies SQ905C based USB Camera Driver (sq905c) kernel module
  645. endef
  646. $(eval $(call KernelPackage,video-gspca-sq905c))
  647. define KernelPackage/video-gspca-stk014
  648. TITLE:=stk014 webcam support
  649. KCONFIG:=CONFIG_USB_GSPCA_STK014
  650. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_stk014.ko
  651. AUTOLOAD:=$(call AutoProbe,gspca_stk014)
  652. $(call AddDepends/camera-gspca)
  653. endef
  654. define KernelPackage/video-gspca-stk014/description
  655. The Syntek DV4000 (STK014) USB Camera Driver (stk014) kernel module
  656. endef
  657. $(eval $(call KernelPackage,video-gspca-stk014))
  658. define KernelPackage/video-gspca-sunplus
  659. TITLE:=sunplus webcam support
  660. KCONFIG:=CONFIG_USB_GSPCA_SUNPLUS
  661. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sunplus.ko
  662. AUTOLOAD:=$(call AutoProbe,gspca_sunplus)
  663. $(call AddDepends/camera-gspca)
  664. endef
  665. define KernelPackage/video-gspca-sunplus/description
  666. The SUNPLUS USB Camera Driver (sunplus) kernel module
  667. endef
  668. $(eval $(call KernelPackage,video-gspca-sunplus))
  669. define KernelPackage/video-gspca-t613
  670. TITLE:=t613 webcam support
  671. KCONFIG:=CONFIG_USB_GSPCA_T613
  672. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_t613.ko
  673. AUTOLOAD:=$(call AutoProbe,gspca_t613)
  674. $(call AddDepends/camera-gspca)
  675. endef
  676. define KernelPackage/video-gspca-t613/description
  677. The T613 (JPEG Compliance) USB Camera Driver (t613) kernel module
  678. endef
  679. $(eval $(call KernelPackage,video-gspca-t613))
  680. define KernelPackage/video-gspca-tv8532
  681. TITLE:=tv8532 webcam support
  682. KCONFIG:=CONFIG_USB_GSPCA_TV8532
  683. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_tv8532.ko
  684. AUTOLOAD:=$(call AutoProbe,gspca_tv8532)
  685. $(call AddDepends/camera-gspca)
  686. endef
  687. define KernelPackage/video-gspca-tv8532/description
  688. The TV8532 USB Camera Driver (tv8532) kernel module
  689. endef
  690. $(eval $(call KernelPackage,video-gspca-tv8532))
  691. define KernelPackage/video-gspca-vc032x
  692. TITLE:=vc032x webcam support
  693. KCONFIG:=CONFIG_USB_GSPCA_VC032X
  694. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_vc032x.ko
  695. AUTOLOAD:=$(call AutoProbe,gspca_vc032x)
  696. $(call AddDepends/camera-gspca)
  697. endef
  698. define KernelPackage/video-gspca-vc032x/description
  699. The VC032X USB Camera Driver (vc032x) kernel module
  700. endef
  701. $(eval $(call KernelPackage,video-gspca-vc032x))
  702. define KernelPackage/video-gspca-zc3xx
  703. TITLE:=zc3xx webcam support
  704. KCONFIG:=CONFIG_USB_GSPCA_ZC3XX
  705. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_zc3xx.ko
  706. AUTOLOAD:=$(call AutoProbe,gspca_zc3xx)
  707. $(call AddDepends/camera-gspca)
  708. endef
  709. define KernelPackage/video-gspca-zc3xx/description
  710. The ZC3XX USB Camera Driver (zc3xx) kernel module
  711. endef
  712. $(eval $(call KernelPackage,video-gspca-zc3xx))
  713. define KernelPackage/video-gspca-m5602
  714. TITLE:=m5602 webcam support
  715. KCONFIG:=CONFIG_USB_M5602
  716. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/m5602/gspca_m5602.ko
  717. AUTOLOAD:=$(call AutoProbe,gspca_m5602)
  718. $(call AddDepends/camera-gspca)
  719. endef
  720. define KernelPackage/video-gspca-m5602/description
  721. The ALi USB m5602 Camera Driver (m5602) kernel module
  722. endef
  723. $(eval $(call KernelPackage,video-gspca-m5602))
  724. define KernelPackage/video-gspca-stv06xx
  725. TITLE:=stv06xx webcam support
  726. KCONFIG:=CONFIG_USB_STV06XX
  727. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/stv06xx/gspca_stv06xx.ko
  728. AUTOLOAD:=$(call AutoProbe,gspca_stv06xx)
  729. $(call AddDepends/camera-gspca)
  730. endef
  731. define KernelPackage/video-gspca-stv06xx/description
  732. The STV06XX USB Camera Driver (stv06xx) kernel module
  733. endef
  734. $(eval $(call KernelPackage,video-gspca-stv06xx))
  735. define KernelPackage/video-gspca-gl860
  736. TITLE:=gl860 webcam support
  737. KCONFIG:=CONFIG_USB_GL860
  738. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gl860/gspca_gl860.ko
  739. AUTOLOAD:=$(call AutoProbe,gspca_gl860)
  740. $(call AddDepends/camera-gspca)
  741. endef
  742. define KernelPackage/video-gspca-gl860/description
  743. The GL860 USB Camera Driver (gl860) kernel module
  744. endef
  745. $(eval $(call KernelPackage,video-gspca-gl860))
  746. define KernelPackage/video-gspca-jeilinj
  747. TITLE:=jeilinj webcam support
  748. KCONFIG:=CONFIG_USB_GSPCA_JEILINJ
  749. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_jeilinj.ko
  750. AUTOLOAD:=$(call AutoProbe,gspca_jeilinj)
  751. $(call AddDepends/camera-gspca)
  752. endef
  753. define KernelPackage/video-gspca-jeilinj/description
  754. The JEILINJ USB Camera Driver (jeilinj) kernel module
  755. endef
  756. $(eval $(call KernelPackage,video-gspca-jeilinj))
  757. define KernelPackage/video-gspca-konica
  758. TITLE:=konica webcam support
  759. KCONFIG:=CONFIG_USB_GSPCA_KONICA
  760. FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_konica.ko
  761. AUTOLOAD:=$(call AutoProbe,gspca_konica)
  762. $(call AddDepends/camera-gspca)
  763. endef
  764. define KernelPackage/video-gspca-konica/description
  765. The Konica USB Camera Driver (konica) kernel module
  766. endef
  767. $(eval $(call KernelPackage,video-gspca-konica))