2 # Makefile for the video capture/playback device drivers.
5 tuner-objs := tuner-core.o
7 msp3400-objs := msp3400-driver.o msp3400-kthreads.o
9 stkwebcam-objs := stk-webcam.o stk-sensor.o
11 omap2cam-objs := omap24xxcam.o omap24xxcam-dma.o
13 videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o
17 obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-int-device.o
18 ifeq ($(CONFIG_COMPAT),y)
19 obj-$(CONFIG_VIDEO_DEV) += v4l2-compat-ioctl32.o
22 obj-$(CONFIG_VIDEO_V4L2_COMMON) += v4l2-common.o
24 ifeq ($(CONFIG_VIDEO_V4L1_COMPAT),y)
25 obj-$(CONFIG_VIDEO_DEV) += v4l1-compat.o
28 # All i2c modules must come first:
30 obj-$(CONFIG_VIDEO_TUNER) += tuner.o
31 obj-$(CONFIG_VIDEO_TVAUDIO) += tvaudio.o
32 obj-$(CONFIG_VIDEO_TDA7432) += tda7432.o
33 obj-$(CONFIG_VIDEO_TDA9875) += tda9875.o
34 obj-$(CONFIG_VIDEO_SAA6588) += saa6588.o
35 obj-$(CONFIG_VIDEO_SAA5246A) += saa5246a.o
36 obj-$(CONFIG_VIDEO_SAA5249) += saa5249.o
37 obj-$(CONFIG_VIDEO_TDA9840) += tda9840.o
38 obj-$(CONFIG_VIDEO_TEA6415C) += tea6415c.o
39 obj-$(CONFIG_VIDEO_TEA6420) += tea6420.o
40 obj-$(CONFIG_VIDEO_SAA7110) += saa7110.o
41 obj-$(CONFIG_VIDEO_SAA711X) += saa7115.o
42 obj-$(CONFIG_VIDEO_SAA717X) += saa717x.o
43 obj-$(CONFIG_VIDEO_SAA7127) += saa7127.o
44 obj-$(CONFIG_VIDEO_SAA7185) += saa7185.o
45 obj-$(CONFIG_VIDEO_SAA7191) += saa7191.o
46 obj-$(CONFIG_VIDEO_ADV7170) += adv7170.o
47 obj-$(CONFIG_VIDEO_ADV7175) += adv7175.o
48 obj-$(CONFIG_VIDEO_ADV7343) += adv7343.o
49 obj-$(CONFIG_VIDEO_VPX3220) += vpx3220.o
50 obj-$(CONFIG_VIDEO_BT819) += bt819.o
51 obj-$(CONFIG_VIDEO_BT856) += bt856.o
52 obj-$(CONFIG_VIDEO_BT866) += bt866.o
53 obj-$(CONFIG_VIDEO_KS0127) += ks0127.o
54 obj-$(CONFIG_VIDEO_THS7303) += ths7303.o
55 obj-$(CONFIG_VIDEO_VINO) += indycam.o
56 obj-$(CONFIG_VIDEO_TVP5150) += tvp5150.o
57 obj-$(CONFIG_VIDEO_TVP514X) += tvp514x.o
58 obj-$(CONFIG_VIDEO_MSP3400) += msp3400.o
59 obj-$(CONFIG_VIDEO_CS5345) += cs5345.o
60 obj-$(CONFIG_VIDEO_CS53L32A) += cs53l32a.o
61 obj-$(CONFIG_VIDEO_M52790) += m52790.o
62 obj-$(CONFIG_VIDEO_TLV320AIC23B) += tlv320aic23b.o
63 obj-$(CONFIG_VIDEO_WM8775) += wm8775.o
64 obj-$(CONFIG_VIDEO_WM8739) += wm8739.o
65 obj-$(CONFIG_VIDEO_VP27SMPX) += vp27smpx.o
66 obj-$(CONFIG_VIDEO_CX25840) += cx25840/
67 obj-$(CONFIG_VIDEO_UPD64031A) += upd64031a.o
68 obj-$(CONFIG_VIDEO_UPD64083) += upd64083.o
69 obj-$(CONFIG_VIDEO_OV7670) += ov7670.o
70 obj-$(CONFIG_VIDEO_TCM825X) += tcm825x.o
71 obj-$(CONFIG_VIDEO_TVEEPROM) += tveeprom.o
73 obj-$(CONFIG_SOC_CAMERA_MT9M001) += mt9m001.o
74 obj-$(CONFIG_SOC_CAMERA_MT9M111) += mt9m111.o
75 obj-$(CONFIG_SOC_CAMERA_MT9T031) += mt9t031.o
76 obj-$(CONFIG_SOC_CAMERA_MT9V022) += mt9v022.o
77 obj-$(CONFIG_SOC_CAMERA_OV772X) += ov772x.o
78 obj-$(CONFIG_SOC_CAMERA_TW9910) += tw9910.o
80 # And now the v4l2 drivers:
82 obj-$(CONFIG_VIDEO_BT848) += bt8xx/
83 obj-$(CONFIG_VIDEO_ZORAN) += zoran/
84 obj-$(CONFIG_VIDEO_CQCAM) += c-qcam.o
85 obj-$(CONFIG_VIDEO_BWQCAM) += bw-qcam.o
86 obj-$(CONFIG_VIDEO_W9966) += w9966.o
87 obj-$(CONFIG_VIDEO_PMS) += pms.o
88 obj-$(CONFIG_VIDEO_VINO) += vino.o
89 obj-$(CONFIG_VIDEO_STRADIS) += stradis.o
90 obj-$(CONFIG_VIDEO_CPIA) += cpia.o
91 obj-$(CONFIG_VIDEO_CPIA_PP) += cpia_pp.o
92 obj-$(CONFIG_VIDEO_CPIA_USB) += cpia_usb.o
93 obj-$(CONFIG_VIDEO_MEYE) += meye.o
94 obj-$(CONFIG_VIDEO_SAA7134) += saa7134/
95 obj-$(CONFIG_VIDEO_CX88) += cx88/
96 obj-$(CONFIG_VIDEO_EM28XX) += em28xx/
97 obj-$(CONFIG_VIDEO_CX231XX) += cx231xx/
98 obj-$(CONFIG_VIDEO_USBVISION) += usbvision/
99 obj-$(CONFIG_VIDEO_PVRUSB2) += pvrusb2/
100 obj-$(CONFIG_VIDEO_OVCAMCHIP) += ovcamchip/
101 obj-$(CONFIG_VIDEO_CPIA2) += cpia2/
102 obj-$(CONFIG_VIDEO_MXB) += mxb.o
103 obj-$(CONFIG_VIDEO_HEXIUM_ORION) += hexium_orion.o
104 obj-$(CONFIG_VIDEO_HEXIUM_GEMINI) += hexium_gemini.o
106 obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o
107 obj-$(CONFIG_VIDEOBUF_DMA_SG) += videobuf-dma-sg.o
108 obj-$(CONFIG_VIDEOBUF_DMA_CONTIG) += videobuf-dma-contig.o
109 obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o
110 obj-$(CONFIG_VIDEOBUF_DVB) += videobuf-dvb.o
111 obj-$(CONFIG_VIDEO_BTCX) += btcx-risc.o
113 obj-$(CONFIG_VIDEO_M32R_AR_M64278) += arv.o
115 obj-$(CONFIG_VIDEO_CX2341X) += cx2341x.o
117 obj-$(CONFIG_VIDEO_CAFE_CCIC) += cafe_ccic.o
119 obj-$(CONFIG_USB_DABUSB) += dabusb.o
120 obj-$(CONFIG_USB_OV511) += ov511.o
121 obj-$(CONFIG_USB_SE401) += se401.o
122 obj-$(CONFIG_USB_STV680) += stv680.o
123 obj-$(CONFIG_USB_W9968CF) += w9968cf.o
124 obj-$(CONFIG_USB_ZR364XX) += zr364xx.o
125 obj-$(CONFIG_USB_STKWEBCAM) += stkwebcam.o
127 obj-$(CONFIG_USB_SN9C102) += sn9c102/
128 obj-$(CONFIG_USB_ET61X251) += et61x251/
129 obj-$(CONFIG_USB_PWC) += pwc/
130 obj-$(CONFIG_USB_ZC0301) += zc0301/
131 obj-$(CONFIG_USB_GSPCA) += gspca/
133 obj-$(CONFIG_VIDEO_HDPVR) += hdpvr/
135 obj-$(CONFIG_USB_IBMCAM) += usbvideo/
136 obj-$(CONFIG_USB_KONICAWC) += usbvideo/
137 obj-$(CONFIG_USB_VICAM) += usbvideo/
138 obj-$(CONFIG_USB_QUICKCAM_MESSENGER) += usbvideo/
139 obj-$(CONFIG_USB_S2255) += s2255drv.o
141 obj-$(CONFIG_VIDEO_IVTV) += ivtv/
142 obj-$(CONFIG_VIDEO_CX18) += cx18/
144 obj-$(CONFIG_VIDEO_VIVI) += vivi.o
145 obj-$(CONFIG_VIDEO_CX23885) += cx23885/
147 obj-$(CONFIG_VIDEO_OMAP2) += omap2cam.o
148 obj-$(CONFIG_SOC_CAMERA) += soc_camera.o
149 obj-$(CONFIG_SOC_CAMERA_PLATFORM) += soc_camera_platform.o
150 # soc-camera host drivers have to be linked after camera drivers
151 obj-$(CONFIG_VIDEO_MX1) += mx1_camera.o
152 obj-$(CONFIG_VIDEO_MX3) += mx3_camera.o
153 obj-$(CONFIG_VIDEO_PXA27x) += pxa_camera.o
154 obj-$(CONFIG_VIDEO_SH_MOBILE_CEU) += sh_mobile_ceu_camera.o
156 obj-$(CONFIG_VIDEO_AU0828) += au0828/
158 obj-$(CONFIG_USB_VIDEO_CLASS) += uvc/
160 obj-$(CONFIG_VIDEO_IR_I2C) += ir-kbd-i2c.o
162 EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core
163 EXTRA_CFLAGS += -Idrivers/media/dvb/frontends
164 EXTRA_CFLAGS += -Idrivers/media/common/tuners