blob: 65a23487143522db39f019dc1022724d03e421a4 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the video capture/playback device drivers.
3#
4
Michael Krufky82b30832008-04-22 14:41:49 -03005tuner-objs := tuner-core.o
Mauro Carvalho Chehab8573a9e2007-04-08 01:09:11 -03006
Hans Verkuil53b0a1c2006-01-09 15:32:39 -02007msp3400-objs := msp3400-driver.o msp3400-kthreads.o
8
Jaime Velasco Juanec16dae2008-01-12 06:48:14 -03009stkwebcam-objs := stk-webcam.o stk-sensor.o
10
Sakari Ailus39aee692008-12-01 15:40:09 -030011omap2cam-objs := omap24xxcam.o omap24xxcam-dma.o
12
Mingcheng Zhu9812bd32011-07-22 22:57:11 -070013videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-fh.o \
14 v4l2-event.o v4l2-ctrls.o v4l2-subdev.o videobuf2-core.o \
15 videobuf2-memops.o videobuf2-msm-mem.o videobuf2-dma-contig.o \
16 videobuf2-vmalloc.o videobuf2-dma-sg.o
17
Hans Verkuil27a5e6d2008-07-20 08:43:17 -030018
Hans Verkuildf59f0b2009-06-12 03:38:15 -030019# V4L2 core modules
20
Hans Verkuil4ab92032008-12-23 15:02:16 -030021obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-int-device.o
22ifeq ($(CONFIG_COMPAT),y)
23 obj-$(CONFIG_VIDEO_DEV) += v4l2-compat-ioctl32.o
24endif
Mauro Carvalho Chehaba9254472008-01-29 18:32:35 -030025
26obj-$(CONFIG_VIDEO_V4L2_COMMON) += v4l2-common.o
Adrian Bunk9d8a51f2006-05-23 15:56:20 -030027
Hans Verkuildf59f0b2009-06-12 03:38:15 -030028# All i2c modules must come first:
Simon Arlottf46466e2008-09-03 16:48:20 -030029
Hans Verkuildf59f0b2009-06-12 03:38:15 -030030obj-$(CONFIG_VIDEO_TUNER) += tuner.o
Mauro Carvalho Chehab897ea132006-09-01 09:25:30 -030031obj-$(CONFIG_VIDEO_TVAUDIO) += tvaudio.o
32obj-$(CONFIG_VIDEO_TDA7432) += tda7432.o
Michael Krufky12b0e1d2005-11-08 21:38:41 -080033obj-$(CONFIG_VIDEO_SAA6588) += saa6588.o
Mauro Carvalho Chehabfe9b5bb2006-08-22 15:38:18 -030034obj-$(CONFIG_VIDEO_TDA9840) += tda9840.o
35obj-$(CONFIG_VIDEO_TEA6415C) += tea6415c.o
36obj-$(CONFIG_VIDEO_TEA6420) += tea6420.o
37obj-$(CONFIG_VIDEO_SAA7110) += saa7110.o
Mauro Carvalho Chehabfe9b5bb2006-08-22 15:38:18 -030038obj-$(CONFIG_VIDEO_SAA711X) += saa7115.o
Hans Verkuilfb7b37c2008-04-09 06:26:17 -030039obj-$(CONFIG_VIDEO_SAA717X) += saa717x.o
Mauro Carvalho Chehabfe9b5bb2006-08-22 15:38:18 -030040obj-$(CONFIG_VIDEO_SAA7127) += saa7127.o
41obj-$(CONFIG_VIDEO_SAA7185) += saa7185.o
42obj-$(CONFIG_VIDEO_SAA7191) += saa7191.o
43obj-$(CONFIG_VIDEO_ADV7170) += adv7170.o
44obj-$(CONFIG_VIDEO_ADV7175) += adv7175.o
Richard Röjfors6789cb52009-09-18 21:17:20 -030045obj-$(CONFIG_VIDEO_ADV7180) += adv7180.o
Chaithrika U S06e61f82009-05-07 09:30:01 -030046obj-$(CONFIG_VIDEO_ADV7343) += adv7343.o
Mauro Carvalho Chehabfe9b5bb2006-08-22 15:38:18 -030047obj-$(CONFIG_VIDEO_VPX3220) += vpx3220.o
48obj-$(CONFIG_VIDEO_BT819) += bt819.o
49obj-$(CONFIG_VIDEO_BT856) += bt856.o
50obj-$(CONFIG_VIDEO_BT866) += bt866.o
Mauro Carvalho Chehab29adeee2006-08-31 15:31:07 -030051obj-$(CONFIG_VIDEO_KS0127) += ks0127.o
Chaithrika U S40199c52009-05-07 09:29:25 -030052obj-$(CONFIG_VIDEO_THS7303) += ths7303.o
Hans Verkuildf59f0b2009-06-12 03:38:15 -030053obj-$(CONFIG_VIDEO_VINO) += indycam.o
54obj-$(CONFIG_VIDEO_TVP5150) += tvp5150.o
55obj-$(CONFIG_VIDEO_TVP514X) += tvp514x.o
Santiago Nunez-Corrales1952c9b2009-12-18 14:07:57 -030056obj-$(CONFIG_VIDEO_TVP7002) += tvp7002.o
Hans Verkuildf59f0b2009-06-12 03:38:15 -030057obj-$(CONFIG_VIDEO_MSP3400) += msp3400.o
58obj-$(CONFIG_VIDEO_CS5345) += cs5345.o
59obj-$(CONFIG_VIDEO_CS53L32A) += cs53l32a.o
60obj-$(CONFIG_VIDEO_M52790) += m52790.o
61obj-$(CONFIG_VIDEO_TLV320AIC23B) += tlv320aic23b.o
62obj-$(CONFIG_VIDEO_WM8775) += wm8775.o
63obj-$(CONFIG_VIDEO_WM8739) += wm8739.o
64obj-$(CONFIG_VIDEO_VP27SMPX) += vp27smpx.o
65obj-$(CONFIG_VIDEO_CX25840) += cx25840/
66obj-$(CONFIG_VIDEO_UPD64031A) += upd64031a.o
67obj-$(CONFIG_VIDEO_UPD64083) += upd64083.o
68obj-$(CONFIG_VIDEO_OV7670) += ov7670.o
69obj-$(CONFIG_VIDEO_TCM825X) += tcm825x.o
70obj-$(CONFIG_VIDEO_TVEEPROM) += tveeprom.o
Mauro Carvalho Chehab7dfba002009-06-29 05:41:26 -030071obj-$(CONFIG_VIDEO_MT9V011) += mt9v011.o
Detlev Casanova0f2ce162011-04-05 09:06:21 -030072obj-$(CONFIG_VIDEO_MT9V032) += mt9v032.o
Sylwester Nawrocki3e9c2b82010-10-11 13:33:57 -030073obj-$(CONFIG_VIDEO_SR030PC30) += sr030pc30.o
Sylwester Nawrockif8e2e3e2011-01-03 08:07:30 -030074obj-$(CONFIG_VIDEO_NOON010PC30) += noon010pc30.o
HeungJun, Kimbc125102011-05-20 02:27:28 -030075obj-$(CONFIG_VIDEO_M5MOLS) += m5mols/
Mauro Carvalho Chehabfe9b5bb2006-08-22 15:38:18 -030076
Guennadi Liakhovetski67826232010-10-05 12:33:25 -030077obj-$(CONFIG_SOC_CAMERA_IMX074) += imx074.o
Hans Verkuildf59f0b2009-06-12 03:38:15 -030078obj-$(CONFIG_SOC_CAMERA_MT9M001) += mt9m001.o
79obj-$(CONFIG_SOC_CAMERA_MT9M111) += mt9m111.o
80obj-$(CONFIG_SOC_CAMERA_MT9T031) += mt9t031.o
Kuninori Morimoto858424b2009-12-11 11:53:55 -030081obj-$(CONFIG_SOC_CAMERA_MT9T112) += mt9t112.o
Hans Verkuildf59f0b2009-06-12 03:38:15 -030082obj-$(CONFIG_SOC_CAMERA_MT9V022) += mt9v022.o
Alberto Panizzo3153ac92010-12-02 11:53:28 -030083obj-$(CONFIG_SOC_CAMERA_OV2640) += ov2640.o
Janusz Krzysztofik2f6e2402010-10-05 11:52:45 -030084obj-$(CONFIG_SOC_CAMERA_OV6650) += ov6650.o
Hans Verkuildf59f0b2009-06-12 03:38:15 -030085obj-$(CONFIG_SOC_CAMERA_OV772X) += ov772x.o
Marek Vasut8d648272009-09-23 04:59:24 -030086obj-$(CONFIG_SOC_CAMERA_OV9640) += ov9640.o
Andrew Chew9bd060e2011-02-17 19:14:33 -030087obj-$(CONFIG_SOC_CAMERA_OV9740) += ov9740.o
Guennadi Liakhovetski8f37cf22009-10-05 12:54:04 -030088obj-$(CONFIG_SOC_CAMERA_RJ54N1) += rj54n1cb0c.o
Hans Verkuildf59f0b2009-06-12 03:38:15 -030089obj-$(CONFIG_SOC_CAMERA_TW9910) += tw9910.o
90
91# And now the v4l2 drivers:
92
93obj-$(CONFIG_VIDEO_BT848) += bt8xx/
Hans Verkuil45d01102008-10-09 05:51:22 -030094obj-$(CONFIG_VIDEO_ZORAN) += zoran/
Hans Verkuildf59f0b2009-06-12 03:38:15 -030095obj-$(CONFIG_VIDEO_CQCAM) += c-qcam.o
96obj-$(CONFIG_VIDEO_BWQCAM) += bw-qcam.o
97obj-$(CONFIG_VIDEO_W9966) += w9966.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070098obj-$(CONFIG_VIDEO_PMS) += pms.o
Hans Verkuildf59f0b2009-06-12 03:38:15 -030099obj-$(CONFIG_VIDEO_VINO) += vino.o
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100obj-$(CONFIG_VIDEO_MEYE) += meye.o
Mauro Carvalho Chehabea633742007-06-25 15:42:01 -0300101obj-$(CONFIG_VIDEO_SAA7134) += saa7134/
Linus Torvalds1da177e2005-04-16 15:20:36 -0700102obj-$(CONFIG_VIDEO_CX88) += cx88/
Michael Krufky15871a22005-11-08 21:38:30 -0800103obj-$(CONFIG_VIDEO_EM28XX) += em28xx/
Huang Shijie5b3f03f2010-02-02 04:07:47 -0300104obj-$(CONFIG_VIDEO_TLG2300) += tlg2300/
Sri Deevie0d3baf2009-03-03 14:37:50 -0300105obj-$(CONFIG_VIDEO_CX231XX) += cx231xx/
Mauro Carvalho Chehab781aa1d2006-12-04 08:30:53 -0300106obj-$(CONFIG_VIDEO_USBVISION) += usbvision/
Mike Iselyd8554972006-06-26 20:58:46 -0300107obj-$(CONFIG_VIDEO_PVRUSB2) += pvrusb2/
Alan Coxab33d502006-02-27 00:09:05 -0300108obj-$(CONFIG_VIDEO_CPIA2) += cpia2/
Mauro Carvalho Chehabfe9b5bb2006-08-22 15:38:18 -0300109obj-$(CONFIG_VIDEO_MXB) += mxb.o
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110obj-$(CONFIG_VIDEO_HEXIUM_ORION) += hexium_orion.o
111obj-$(CONFIG_VIDEO_HEXIUM_GEMINI) += hexium_gemini.o
Richard Röjfors9eae42e2010-11-08 10:45:44 -0300112obj-$(CONFIG_VIDEO_TIMBERDALE) += timblogiw.o
Linus Torvalds1da177e2005-04-16 15:20:36 -0700113
Mauro Carvalho Chehabc1accaa2007-08-23 16:37:49 -0300114obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o
115obj-$(CONFIG_VIDEOBUF_DMA_SG) += videobuf-dma-sg.o
Magnus Damm2cc45cf2008-07-16 21:33:39 -0300116obj-$(CONFIG_VIDEOBUF_DMA_CONTIG) += videobuf-dma-contig.o
Mauro Carvalho Chehab87b9ad02007-08-02 23:31:33 -0300117obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o
Mauro Carvalho Chehabba366a22007-08-23 18:12:08 -0300118obj-$(CONFIG_VIDEOBUF_DVB) += videobuf-dvb.o
Linus Torvalds1da177e2005-04-16 15:20:36 -0700119obj-$(CONFIG_VIDEO_BTCX) += btcx-risc.o
Linus Torvalds1da177e2005-04-16 15:20:36 -0700120
Pawel Osciake23ccc02010-10-11 10:56:41 -0300121obj-$(CONFIG_VIDEOBUF2_CORE) += videobuf2-core.o
Marek Szyprowski004cc372010-12-09 10:20:47 -0300122obj-$(CONFIG_VIDEOBUF2_MEMOPS) += videobuf2-memops.o
Pawel Osciak3c18ff02010-10-11 10:58:53 -0300123obj-$(CONFIG_VIDEOBUF2_VMALLOC) += videobuf2-vmalloc.o
Pawel Osciak1a758d42010-10-11 10:59:36 -0300124obj-$(CONFIG_VIDEOBUF2_DMA_CONTIG) += videobuf2-dma-contig.o
Andrzej Pietrasiewicz5ba3f752010-11-29 11:53:34 -0300125obj-$(CONFIG_VIDEOBUF2_DMA_SG) += videobuf2-dma-sg.o
Pawel Osciake23ccc02010-10-11 10:56:41 -0300126
Pawel Osciak7f986392010-04-23 05:38:37 -0300127obj-$(CONFIG_V4L2_MEM2MEM_DEV) += v4l2-mem2mem.o
128
Linus Torvalds1da177e2005-04-16 15:20:36 -0700129obj-$(CONFIG_VIDEO_M32R_AR_M64278) += arv.o
130
Hans Verkuil5d1a9ae2006-06-18 14:40:30 -0300131obj-$(CONFIG_VIDEO_CX2341X) += cx2341x.o
Mauro Carvalho Chehab714a0952005-11-13 16:07:59 -0800132
Jonathan Corbetd905b382006-11-04 09:25:53 -0300133obj-$(CONFIG_VIDEO_CAFE_CCIC) += cafe_ccic.o
Sakari Ailusa5e90862007-07-18 18:04:17 -0300134
Jonathan Corbet024fafbac2010-10-19 21:32:11 -0300135obj-$(CONFIG_VIDEO_VIA_CAMERA) += via-camera.o
136
Laurent Pinchart7e8970e2011-02-12 18:05:06 -0300137obj-$(CONFIG_VIDEO_OMAP3) += omap3isp/
138
Antoine Jacquetb7eee612007-04-27 12:30:59 -0300139obj-$(CONFIG_USB_ZR364XX) += zr364xx.o
Jaime Velasco Juanec16dae2008-01-12 06:48:14 -0300140obj-$(CONFIG_USB_STKWEBCAM) += stkwebcam.o
Mauro Carvalho Chehab9f6933b2006-03-25 09:05:39 -0300141
142obj-$(CONFIG_USB_SN9C102) += sn9c102/
143obj-$(CONFIG_USB_ET61X251) += et61x251/
144obj-$(CONFIG_USB_PWC) += pwc/
Jean-Francois Moine6a7eba22008-06-30 15:50:11 -0300145obj-$(CONFIG_USB_GSPCA) += gspca/
Mauro Carvalho Chehab9f6933b2006-03-25 09:05:39 -0300146
Janne Grunau9aba42e2009-03-18 18:10:04 -0300147obj-$(CONFIG_VIDEO_HDPVR) += hdpvr/
148
Dean Anderson38f993a2008-06-26 23:15:51 -0300149obj-$(CONFIG_USB_S2255) += s2255drv.o
Mauro Carvalho Chehab9f6933b2006-03-25 09:05:39 -0300150
Hans Verkuilc976bc82007-07-22 12:52:40 -0300151obj-$(CONFIG_VIDEO_IVTV) += ivtv/
Hans Verkuil1c1e45d2008-04-28 20:24:33 -0300152obj-$(CONFIG_VIDEO_CX18) += cx18/
Hans Verkuilc976bc82007-07-22 12:52:40 -0300153
Anatolij Gustschin95c5d602010-07-02 10:10:09 -0300154obj-$(CONFIG_VIDEO_VIU) += fsl-viu.o
Mauro Carvalho Chehabc1d1ea92006-04-09 15:51:18 -0300155obj-$(CONFIG_VIDEO_VIVI) += vivi.o
Pawel Osciak96d8eab2010-04-23 05:38:38 -0300156obj-$(CONFIG_VIDEO_MEM2MEM_TESTDEV) += mem2mem_testdev.o
Steven Tothd19770e2007-03-11 20:44:05 -0300157obj-$(CONFIG_VIDEO_CX23885) += cx23885/
Mauro Carvalho Chehabc1d1ea92006-04-09 15:51:18 -0300158
Terence Hampsona6914ca2012-04-09 14:06:50 -0400159obj-$(CONFIG_MSM_VCAP) += vcap_v4l2.o
160obj-$(CONFIG_MSM_VCAP) += vcap_vc.o
Guennadi Liakhovetskiaec11e52010-03-29 04:45:22 -0300161obj-$(CONFIG_VIDEO_AK881X) += ak881x.o
162
Sakari Ailus39aee692008-12-01 15:40:09 -0300163obj-$(CONFIG_VIDEO_OMAP2) += omap2cam.o
Guennadi Liakhovetski9a742512009-12-11 11:41:28 -0300164obj-$(CONFIG_SOC_CAMERA) += soc_camera.o soc_mediabus.o
Magnus Damm326c9862008-07-16 23:02:08 -0300165obj-$(CONFIG_SOC_CAMERA_PLATFORM) += soc_camera_platform.o
Guennadi Liakhovetskic09b7782009-04-24 12:57:42 -0300166# soc-camera host drivers have to be linked after camera drivers
167obj-$(CONFIG_VIDEO_MX1) += mx1_camera.o
Baruch Siach20669302010-07-04 07:55:10 +0300168obj-$(CONFIG_VIDEO_MX2) += mx2_camera.o
Guennadi Liakhovetskic09b7782009-04-24 12:57:42 -0300169obj-$(CONFIG_VIDEO_MX3) += mx3_camera.o
170obj-$(CONFIG_VIDEO_PXA27x) += pxa_camera.o
Guennadi Liakhovetski077e2c12010-07-26 11:12:43 -0300171obj-$(CONFIG_VIDEO_SH_MOBILE_CSI2) += sh_mobile_csi2.o
Guennadi Liakhovetskic09b7782009-04-24 12:57:42 -0300172obj-$(CONFIG_VIDEO_SH_MOBILE_CEU) += sh_mobile_ceu_camera.o
Janusz Krzysztofikbdc621f2010-09-30 08:35:49 -0300173obj-$(CONFIG_VIDEO_OMAP1) += omap1_camera.o
Sylwester Nawrocki8b4aa4f2011-04-04 09:21:57 -0300174
Sylwester Nawrocki5fd8f732010-08-03 09:50:29 -0300175obj-$(CONFIG_VIDEO_SAMSUNG_S5P_FIMC) += s5p-fimc/
Guennadi Liakhovetskie55222e2008-04-22 14:42:03 -0300176
Guennadi Liakhovetskia81fb9b2010-03-17 11:21:13 -0300177obj-$(CONFIG_ARCH_DAVINCI) += davinci/
178
179obj-$(CONFIG_VIDEO_SH_VOU) += sh_vou.o
180
Steven Toth265a6512008-04-18 21:34:00 -0300181obj-$(CONFIG_VIDEO_AU0828) += au0828/
182
Laurent Pinchartc0efd232008-06-30 15:04:50 -0300183obj-$(CONFIG_USB_VIDEO_CLASS) += uvc/
Steven Toth443c12282009-05-09 21:17:28 -0300184obj-$(CONFIG_VIDEO_SAA7164) += saa7164/
Laurent Pinchartc0efd232008-06-30 15:04:50 -0300185
Hans Verkuildf59f0b2009-06-12 03:38:15 -0300186obj-$(CONFIG_VIDEO_IR_I2C) += ir-kbd-i2c.o
187
Vaibhav Hiremath54006902010-06-12 09:09:56 -0300188obj-y += davinci/
Chaithrika U Se9f4bb52009-06-09 06:38:58 -0300189
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700190obj-$(CONFIG_MSM_CAMERA) += msm/
Vaibhav Hiremath5c7ab632010-04-11 10:41:49 -0300191obj-$(CONFIG_ARCH_OMAP) += omap/
192
Carl-Daniel Hailfinger8036dc62006-04-04 00:35:36 +0200193EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core
Mauro Carvalho Chehabe3e97fe2008-01-25 11:01:40 -0200194EXTRA_CFLAGS += -Idrivers/media/dvb/frontends
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300195EXTRA_CFLAGS += -Idrivers/media/common/tuners