Makefile 5.8 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4
#
# Makefile for the video capture/playback device drivers.
#

5
tuner-objs	:=	tuner-core.o
6

7 8
msp3400-objs	:=	msp3400-driver.o msp3400-kthreads.o

9 10
stkwebcam-objs	:=	stk-webcam.o stk-sensor.o

11 12
omap2cam-objs	:=	omap24xxcam.o omap24xxcam-dma.o

S
Sakari Ailus 已提交
13
videodev-objs	:=	v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-fh.o \
14
			v4l2-event.o v4l2-ctrls.o
15

16 17
# V4L2 core modules

18 19 20 21
obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-int-device.o
ifeq ($(CONFIG_COMPAT),y)
  obj-$(CONFIG_VIDEO_DEV) += v4l2-compat-ioctl32.o
endif
22 23

obj-$(CONFIG_VIDEO_V4L2_COMMON) += v4l2-common.o
24 25 26 27

ifeq ($(CONFIG_VIDEO_V4L1_COMPAT),y)
  obj-$(CONFIG_VIDEO_DEV) += v4l1-compat.o
endif
L
Linus Torvalds 已提交
28

29
# All i2c modules must come first:
30

31
obj-$(CONFIG_VIDEO_TUNER) += tuner.o
32 33 34
obj-$(CONFIG_VIDEO_TVAUDIO) += tvaudio.o
obj-$(CONFIG_VIDEO_TDA7432) += tda7432.o
obj-$(CONFIG_VIDEO_TDA9875) += tda9875.o
35
obj-$(CONFIG_VIDEO_SAA6588) += saa6588.o
36 37 38 39 40
obj-$(CONFIG_VIDEO_TDA9840) += tda9840.o
obj-$(CONFIG_VIDEO_TEA6415C) += tea6415c.o
obj-$(CONFIG_VIDEO_TEA6420) += tea6420.o
obj-$(CONFIG_VIDEO_SAA7110) += saa7110.o
obj-$(CONFIG_VIDEO_SAA711X) += saa7115.o
41
obj-$(CONFIG_VIDEO_SAA717X) += saa717x.o
42 43 44 45 46
obj-$(CONFIG_VIDEO_SAA7127) += saa7127.o
obj-$(CONFIG_VIDEO_SAA7185) += saa7185.o
obj-$(CONFIG_VIDEO_SAA7191) += saa7191.o
obj-$(CONFIG_VIDEO_ADV7170) += adv7170.o
obj-$(CONFIG_VIDEO_ADV7175) += adv7175.o
47
obj-$(CONFIG_VIDEO_ADV7180) += adv7180.o
48
obj-$(CONFIG_VIDEO_ADV7343) += adv7343.o
49 50 51 52
obj-$(CONFIG_VIDEO_VPX3220) += vpx3220.o
obj-$(CONFIG_VIDEO_BT819) += bt819.o
obj-$(CONFIG_VIDEO_BT856) += bt856.o
obj-$(CONFIG_VIDEO_BT866) += bt866.o
53
obj-$(CONFIG_VIDEO_KS0127) += ks0127.o
54
obj-$(CONFIG_VIDEO_THS7303) += ths7303.o
55 56 57
obj-$(CONFIG_VIDEO_VINO) += indycam.o
obj-$(CONFIG_VIDEO_TVP5150) += tvp5150.o
obj-$(CONFIG_VIDEO_TVP514X) += tvp514x.o
58
obj-$(CONFIG_VIDEO_TVP7002) += tvp7002.o
59 60 61 62 63 64 65 66 67 68 69 70 71 72
obj-$(CONFIG_VIDEO_MSP3400) += msp3400.o
obj-$(CONFIG_VIDEO_CS5345) += cs5345.o
obj-$(CONFIG_VIDEO_CS53L32A) += cs53l32a.o
obj-$(CONFIG_VIDEO_M52790) += m52790.o
obj-$(CONFIG_VIDEO_TLV320AIC23B) += tlv320aic23b.o
obj-$(CONFIG_VIDEO_WM8775) += wm8775.o
obj-$(CONFIG_VIDEO_WM8739) += wm8739.o
obj-$(CONFIG_VIDEO_VP27SMPX) += vp27smpx.o
obj-$(CONFIG_VIDEO_CX25840) += cx25840/
obj-$(CONFIG_VIDEO_UPD64031A) += upd64031a.o
obj-$(CONFIG_VIDEO_UPD64083) += upd64083.o
obj-$(CONFIG_VIDEO_OV7670) 	+= ov7670.o
obj-$(CONFIG_VIDEO_TCM825X) += tcm825x.o
obj-$(CONFIG_VIDEO_TVEEPROM) += tveeprom.o
73
obj-$(CONFIG_VIDEO_MT9V011) += mt9v011.o
74

75 76 77
obj-$(CONFIG_SOC_CAMERA_MT9M001)	+= mt9m001.o
obj-$(CONFIG_SOC_CAMERA_MT9M111)	+= mt9m111.o
obj-$(CONFIG_SOC_CAMERA_MT9T031)	+= mt9t031.o
78
obj-$(CONFIG_SOC_CAMERA_MT9T112)	+= mt9t112.o
79 80
obj-$(CONFIG_SOC_CAMERA_MT9V022)	+= mt9v022.o
obj-$(CONFIG_SOC_CAMERA_OV772X)		+= ov772x.o
81
obj-$(CONFIG_SOC_CAMERA_OV9640)		+= ov9640.o
82
obj-$(CONFIG_SOC_CAMERA_RJ54N1)		+= rj54n1cb0c.o
83 84 85
obj-$(CONFIG_SOC_CAMERA_TW9910)		+= tw9910.o

# And now the v4l2 drivers:
86

87 88 89 90 91
obj-$(CONFIG_VIDEO_BT848) += bt8xx/
obj-$(CONFIG_VIDEO_ZORAN) += zoran/
obj-$(CONFIG_VIDEO_CQCAM) += c-qcam.o
obj-$(CONFIG_VIDEO_BWQCAM) += bw-qcam.o
obj-$(CONFIG_VIDEO_W9966) += w9966.o
L
Linus Torvalds 已提交
92
obj-$(CONFIG_VIDEO_PMS) += pms.o
93
obj-$(CONFIG_VIDEO_VINO) += vino.o
L
Linus Torvalds 已提交
94
obj-$(CONFIG_VIDEO_MEYE) += meye.o
95
obj-$(CONFIG_VIDEO_SAA7134) += saa7134/
L
Linus Torvalds 已提交
96
obj-$(CONFIG_VIDEO_CX88) += cx88/
97
obj-$(CONFIG_VIDEO_EM28XX) += em28xx/
98
obj-$(CONFIG_VIDEO_TLG2300) += tlg2300/
99
obj-$(CONFIG_VIDEO_CX231XX) += cx231xx/
100
obj-$(CONFIG_VIDEO_USBVISION) += usbvision/
101
obj-$(CONFIG_VIDEO_PVRUSB2) += pvrusb2/
102
obj-$(CONFIG_VIDEO_CPIA2) += cpia2/
103
obj-$(CONFIG_VIDEO_MXB) += mxb.o
L
Linus Torvalds 已提交
104 105 106
obj-$(CONFIG_VIDEO_HEXIUM_ORION) += hexium_orion.o
obj-$(CONFIG_VIDEO_HEXIUM_GEMINI) += hexium_gemini.o

107 108
obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o
obj-$(CONFIG_VIDEOBUF_DMA_SG) += videobuf-dma-sg.o
109
obj-$(CONFIG_VIDEOBUF_DMA_CONTIG) += videobuf-dma-contig.o
110
obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o
111
obj-$(CONFIG_VIDEOBUF_DVB) += videobuf-dvb.o
L
Linus Torvalds 已提交
112 113
obj-$(CONFIG_VIDEO_BTCX)  += btcx-risc.o

114 115
obj-$(CONFIG_V4L2_MEM2MEM_DEV) += v4l2-mem2mem.o

L
Linus Torvalds 已提交
116 117
obj-$(CONFIG_VIDEO_M32R_AR_M64278) += arv.o

118
obj-$(CONFIG_VIDEO_CX2341X) += cx2341x.o
119

120
obj-$(CONFIG_VIDEO_CAFE_CCIC) += cafe_ccic.o
121

122 123
obj-$(CONFIG_USB_DABUSB)        += dabusb.o
obj-$(CONFIG_USB_SE401)         += se401.o
124
obj-$(CONFIG_USB_ZR364XX)       += zr364xx.o
125
obj-$(CONFIG_USB_STKWEBCAM)     += stkwebcam.o
126 127 128 129

obj-$(CONFIG_USB_SN9C102)       += sn9c102/
obj-$(CONFIG_USB_ET61X251)      += et61x251/
obj-$(CONFIG_USB_PWC)           += pwc/
130
obj-$(CONFIG_USB_GSPCA)         += gspca/
131

132 133
obj-$(CONFIG_VIDEO_HDPVR)	+= hdpvr/

134 135 136
obj-$(CONFIG_USB_IBMCAM)        += usbvideo/
obj-$(CONFIG_USB_KONICAWC)      += usbvideo/
obj-$(CONFIG_USB_VICAM)         += usbvideo/
137
obj-$(CONFIG_USB_QUICKCAM_MESSENGER)	+= usbvideo/
138
obj-$(CONFIG_USB_S2255)		+= s2255drv.o
139

140
obj-$(CONFIG_VIDEO_IVTV) += ivtv/
141
obj-$(CONFIG_VIDEO_CX18) += cx18/
142

143
obj-$(CONFIG_VIDEO_VIU) += fsl-viu.o
144
obj-$(CONFIG_VIDEO_VIVI) += vivi.o
145
obj-$(CONFIG_VIDEO_MEM2MEM_TESTDEV) += mem2mem_testdev.o
146
obj-$(CONFIG_VIDEO_CX23885) += cx23885/
147

148 149
obj-$(CONFIG_VIDEO_AK881X)		+= ak881x.o

150
obj-$(CONFIG_VIDEO_OMAP2)		+= omap2cam.o
151
obj-$(CONFIG_SOC_CAMERA)		+= soc_camera.o soc_mediabus.o
152
obj-$(CONFIG_SOC_CAMERA_PLATFORM)	+= soc_camera_platform.o
153 154
# soc-camera host drivers have to be linked after camera drivers
obj-$(CONFIG_VIDEO_MX1)			+= mx1_camera.o
155
obj-$(CONFIG_VIDEO_MX2)			+= mx2_camera.o
156 157
obj-$(CONFIG_VIDEO_MX3)			+= mx3_camera.o
obj-$(CONFIG_VIDEO_PXA27x)		+= pxa_camera.o
158
obj-$(CONFIG_VIDEO_SH_MOBILE_CSI2)	+= sh_mobile_csi2.o
159
obj-$(CONFIG_VIDEO_SH_MOBILE_CEU)	+= sh_mobile_ceu_camera.o
160
obj-$(CONFIG_VIDEO_SAMSUNG_S5P_FIMC) 	+= s5p-fimc/
161

162 163 164 165
obj-$(CONFIG_ARCH_DAVINCI)		+= davinci/

obj-$(CONFIG_VIDEO_SH_VOU)		+= sh_vou.o

166 167
obj-$(CONFIG_VIDEO_AU0828) += au0828/

168
obj-$(CONFIG_USB_VIDEO_CLASS)	+= uvc/
169
obj-$(CONFIG_VIDEO_SAA7164)     += saa7164/
170

171 172
obj-$(CONFIG_VIDEO_IR_I2C)  += ir-kbd-i2c.o

173
obj-y	+= davinci/
174

175 176
obj-$(CONFIG_ARCH_OMAP)	+= omap/

177
EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core
178
EXTRA_CFLAGS += -Idrivers/media/dvb/frontends
179
EXTRA_CFLAGS += -Idrivers/media/common/tuners