1# 2# Makefile for the video capture/playback device drivers. 3# 4 5tuner-objs := tuner-core.o 6 7msp3400-objs := msp3400-driver.o msp3400-kthreads.o 8 9stkwebcam-objs := stk-webcam.o stk-sensor.o 10 11omap2cam-objs := omap24xxcam.o omap24xxcam-dma.o 12 13videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-fh.o \ 14 v4l2-event.o v4l2-ctrls.o v4l2-subdev.o 15ifeq ($(CONFIG_COMPAT),y) 16 videodev-objs += v4l2-compat-ioctl32.o 17endif 18 19# V4L2 core modules 20 21obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-int-device.o 22obj-$(CONFIG_VIDEO_V4L2_COMMON) += v4l2-common.o 23 24# Helper modules 25 26obj-$(CONFIG_VIDEO_APTINA_PLL) += aptina-pll.o 27 28# All i2c modules must come first: 29 30obj-$(CONFIG_VIDEO_TUNER) += tuner.o 31obj-$(CONFIG_VIDEO_TVAUDIO) += tvaudio.o 32obj-$(CONFIG_VIDEO_TDA7432) += tda7432.o 33obj-$(CONFIG_VIDEO_SAA6588) += saa6588.o 34obj-$(CONFIG_VIDEO_TDA9840) += tda9840.o 35obj-$(CONFIG_VIDEO_TEA6415C) += tea6415c.o 36obj-$(CONFIG_VIDEO_TEA6420) += tea6420.o 37obj-$(CONFIG_VIDEO_SAA7110) += saa7110.o 38obj-$(CONFIG_VIDEO_SAA711X) += saa7115.o 39obj-$(CONFIG_VIDEO_SAA717X) += saa717x.o 40obj-$(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 45obj-$(CONFIG_VIDEO_ADV7180) += adv7180.o 46obj-$(CONFIG_VIDEO_ADV7183) += adv7183.o 47obj-$(CONFIG_VIDEO_ADV7343) += adv7343.o 48obj-$(CONFIG_VIDEO_VPX3220) += vpx3220.o 49obj-$(CONFIG_VIDEO_VS6624) += vs6624.o 50obj-$(CONFIG_VIDEO_BT819) += bt819.o 51obj-$(CONFIG_VIDEO_BT856) += bt856.o 52obj-$(CONFIG_VIDEO_BT866) += bt866.o 53obj-$(CONFIG_VIDEO_KS0127) += ks0127.o 54obj-$(CONFIG_VIDEO_THS7303) += ths7303.o 55obj-$(CONFIG_VIDEO_VINO) += indycam.o 56obj-$(CONFIG_VIDEO_TVP5150) += tvp5150.o 57obj-$(CONFIG_VIDEO_TVP514X) += tvp514x.o 58obj-$(CONFIG_VIDEO_TVP7002) += tvp7002.o 59obj-$(CONFIG_VIDEO_MSP3400) += msp3400.o 60obj-$(CONFIG_VIDEO_CS5345) += cs5345.o 61obj-$(CONFIG_VIDEO_CS53L32A) += cs53l32a.o 62obj-$(CONFIG_VIDEO_M52790) += m52790.o 63obj-$(CONFIG_VIDEO_TLV320AIC23B) += tlv320aic23b.o 64obj-$(CONFIG_VIDEO_WM8775) += wm8775.o 65obj-$(CONFIG_VIDEO_WM8739) += wm8739.o 66obj-$(CONFIG_VIDEO_VP27SMPX) += vp27smpx.o 67obj-$(CONFIG_VIDEO_CX25840) += cx25840/ 68obj-$(CONFIG_VIDEO_UPD64031A) += upd64031a.o 69obj-$(CONFIG_VIDEO_UPD64083) += upd64083.o 70obj-$(CONFIG_VIDEO_OV7670) += ov7670.o 71obj-$(CONFIG_VIDEO_TCM825X) += tcm825x.o 72obj-$(CONFIG_VIDEO_TVEEPROM) += tveeprom.o 73obj-$(CONFIG_VIDEO_MT9M032) += mt9m032.o 74obj-$(CONFIG_VIDEO_MT9P031) += mt9p031.o 75obj-$(CONFIG_VIDEO_MT9T001) += mt9t001.o 76obj-$(CONFIG_VIDEO_MT9V011) += mt9v011.o 77obj-$(CONFIG_VIDEO_MT9V032) += mt9v032.o 78obj-$(CONFIG_VIDEO_SR030PC30) += sr030pc30.o 79obj-$(CONFIG_VIDEO_NOON010PC30) += noon010pc30.o 80obj-$(CONFIG_VIDEO_M5MOLS) += m5mols/ 81obj-$(CONFIG_VIDEO_S5K6AA) += s5k6aa.o 82obj-$(CONFIG_VIDEO_ADP1653) += adp1653.o 83obj-$(CONFIG_VIDEO_AS3645A) += as3645a.o 84 85obj-$(CONFIG_SOC_CAMERA_IMX074) += imx074.o 86obj-$(CONFIG_SOC_CAMERA_MT9M001) += mt9m001.o 87obj-$(CONFIG_SOC_CAMERA_MT9M111) += mt9m111.o 88obj-$(CONFIG_SOC_CAMERA_MT9T031) += mt9t031.o 89obj-$(CONFIG_SOC_CAMERA_MT9T112) += mt9t112.o 90obj-$(CONFIG_SOC_CAMERA_MT9V022) += mt9v022.o 91obj-$(CONFIG_SOC_CAMERA_OV2640) += ov2640.o 92obj-$(CONFIG_SOC_CAMERA_OV5642) += ov5642.o 93obj-$(CONFIG_SOC_CAMERA_OV6650) += ov6650.o 94obj-$(CONFIG_SOC_CAMERA_OV772X) += ov772x.o 95obj-$(CONFIG_SOC_CAMERA_OV9640) += ov9640.o 96obj-$(CONFIG_SOC_CAMERA_OV9740) += ov9740.o 97obj-$(CONFIG_SOC_CAMERA_RJ54N1) += rj54n1cb0c.o 98obj-$(CONFIG_SOC_CAMERA_TW9910) += tw9910.o 99 100# And now the v4l2 drivers: 101 102obj-$(CONFIG_VIDEO_BT848) += bt8xx/ 103obj-$(CONFIG_VIDEO_ZORAN) += zoran/ 104obj-$(CONFIG_VIDEO_CQCAM) += c-qcam.o 105obj-$(CONFIG_VIDEO_BWQCAM) += bw-qcam.o 106obj-$(CONFIG_VIDEO_W9966) += w9966.o 107obj-$(CONFIG_VIDEO_PMS) += pms.o 108obj-$(CONFIG_VIDEO_VINO) += vino.o 109obj-$(CONFIG_VIDEO_MEYE) += meye.o 110obj-$(CONFIG_VIDEO_SAA7134) += saa7134/ 111obj-$(CONFIG_VIDEO_CX88) += cx88/ 112obj-$(CONFIG_VIDEO_EM28XX) += em28xx/ 113obj-$(CONFIG_VIDEO_TLG2300) += tlg2300/ 114obj-$(CONFIG_VIDEO_CX231XX) += cx231xx/ 115obj-$(CONFIG_VIDEO_CX25821) += cx25821/ 116obj-$(CONFIG_VIDEO_USBVISION) += usbvision/ 117obj-$(CONFIG_VIDEO_PVRUSB2) += pvrusb2/ 118obj-$(CONFIG_VIDEO_CPIA2) += cpia2/ 119obj-$(CONFIG_VIDEO_TM6000) += tm6000/ 120obj-$(CONFIG_VIDEO_MXB) += mxb.o 121obj-$(CONFIG_VIDEO_HEXIUM_ORION) += hexium_orion.o 122obj-$(CONFIG_VIDEO_HEXIUM_GEMINI) += hexium_gemini.o 123obj-$(CONFIG_VIDEO_TIMBERDALE) += timblogiw.o 124 125obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o 126obj-$(CONFIG_VIDEOBUF_DMA_SG) += videobuf-dma-sg.o 127obj-$(CONFIG_VIDEOBUF_DMA_CONTIG) += videobuf-dma-contig.o 128obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o 129obj-$(CONFIG_VIDEOBUF_DVB) += videobuf-dvb.o 130obj-$(CONFIG_VIDEO_BTCX) += btcx-risc.o 131 132obj-$(CONFIG_VIDEOBUF2_CORE) += videobuf2-core.o 133obj-$(CONFIG_VIDEOBUF2_MEMOPS) += videobuf2-memops.o 134obj-$(CONFIG_VIDEOBUF2_VMALLOC) += videobuf2-vmalloc.o 135obj-$(CONFIG_VIDEOBUF2_DMA_CONTIG) += videobuf2-dma-contig.o 136obj-$(CONFIG_VIDEOBUF2_DMA_SG) += videobuf2-dma-sg.o 137 138obj-$(CONFIG_V4L2_MEM2MEM_DEV) += v4l2-mem2mem.o 139 140obj-$(CONFIG_VIDEO_M32R_AR_M64278) += arv.o 141 142obj-$(CONFIG_VIDEO_CX2341X) += cx2341x.o 143 144obj-$(CONFIG_VIDEO_CAFE_CCIC) += marvell-ccic/ 145obj-$(CONFIG_VIDEO_MMP_CAMERA) += marvell-ccic/ 146 147obj-$(CONFIG_VIDEO_VIA_CAMERA) += via-camera.o 148 149obj-$(CONFIG_VIDEO_OMAP3) += omap3isp/ 150 151obj-$(CONFIG_USB_ZR364XX) += zr364xx.o 152obj-$(CONFIG_USB_STKWEBCAM) += stkwebcam.o 153 154obj-$(CONFIG_USB_SN9C102) += sn9c102/ 155obj-$(CONFIG_USB_ET61X251) += et61x251/ 156obj-$(CONFIG_USB_PWC) += pwc/ 157obj-$(CONFIG_USB_GSPCA) += gspca/ 158 159obj-$(CONFIG_VIDEO_HDPVR) += hdpvr/ 160 161obj-$(CONFIG_USB_S2255) += s2255drv.o 162 163obj-$(CONFIG_VIDEO_IVTV) += ivtv/ 164obj-$(CONFIG_VIDEO_CX18) += cx18/ 165 166obj-$(CONFIG_VIDEO_VIU) += fsl-viu.o 167obj-$(CONFIG_VIDEO_VIVI) += vivi.o 168obj-$(CONFIG_VIDEO_MEM2MEM_TESTDEV) += mem2mem_testdev.o 169obj-$(CONFIG_VIDEO_CX23885) += cx23885/ 170 171obj-$(CONFIG_VIDEO_AK881X) += ak881x.o 172 173obj-$(CONFIG_VIDEO_OMAP2) += omap2cam.o 174obj-$(CONFIG_SOC_CAMERA) += soc_camera.o soc_mediabus.o 175obj-$(CONFIG_SOC_CAMERA_PLATFORM) += soc_camera_platform.o 176# soc-camera host drivers have to be linked after camera drivers 177obj-$(CONFIG_VIDEO_MX1) += mx1_camera.o 178obj-$(CONFIG_VIDEO_MX2) += mx2_camera.o 179obj-$(CONFIG_VIDEO_MX3) += mx3_camera.o 180obj-$(CONFIG_VIDEO_PXA27x) += pxa_camera.o 181obj-$(CONFIG_VIDEO_SH_MOBILE_CSI2) += sh_mobile_csi2.o 182obj-$(CONFIG_VIDEO_SH_MOBILE_CEU) += sh_mobile_ceu_camera.o 183obj-$(CONFIG_VIDEO_OMAP1) += omap1_camera.o 184obj-$(CONFIG_VIDEO_ATMEL_ISI) += atmel-isi.o 185 186obj-$(CONFIG_VIDEO_MX2_EMMAPRP) += mx2_emmaprp.o 187 188obj-$(CONFIG_VIDEO_SAMSUNG_S5P_FIMC) += s5p-fimc/ 189obj-$(CONFIG_VIDEO_SAMSUNG_S5P_JPEG) += s5p-jpeg/ 190obj-$(CONFIG_VIDEO_SAMSUNG_S5P_MFC) += s5p-mfc/ 191obj-$(CONFIG_VIDEO_SAMSUNG_S5P_TV) += s5p-tv/ 192 193obj-$(CONFIG_VIDEO_SAMSUNG_S5P_G2D) += s5p-g2d/ 194 195obj-$(CONFIG_BLACKFIN) += blackfin/ 196 197obj-$(CONFIG_ARCH_DAVINCI) += davinci/ 198 199obj-$(CONFIG_VIDEO_SH_VOU) += sh_vou.o 200 201obj-$(CONFIG_VIDEO_AU0828) += au0828/ 202 203obj-$(CONFIG_USB_VIDEO_CLASS) += uvc/ 204obj-$(CONFIG_VIDEO_SAA7164) += saa7164/ 205 206obj-$(CONFIG_VIDEO_IR_I2C) += ir-kbd-i2c.o 207 208obj-y += davinci/ 209 210obj-$(CONFIG_ARCH_OMAP) += omap/ 211 212ccflags-y += -I$(srctree)/drivers/media/dvb/dvb-core 213ccflags-y += -I$(srctree)/drivers/media/dvb/frontends 214ccflags-y += -I$(srctree)/drivers/media/common/tuners 215