blob: 768aaf62d5dc300a7b2d7e150265e27035ef15cb [file] [log] [blame]
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -03001#
2# Makefile for the V4L2 core
3#
4
5tuner-objs := tuner-core.o
6
7videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-fh.o \
8 v4l2-event.o v4l2-ctrls.o v4l2-subdev.o
9ifeq ($(CONFIG_COMPAT),y)
10 videodev-objs += v4l2-compat-ioctl32.o
11endif
12
Mauro Carvalho Chehab532ee002013-03-25 12:24:35 -030013obj-$(CONFIG_VIDEO_V4L2) += videodev.o
Sakari Ailus668a8b32013-01-05 18:56:10 -030014obj-$(CONFIG_VIDEO_V4L2_INT_DEVICE) += v4l2-int-device.o
Mauro Carvalho Chehabb6334462012-08-20 10:32:19 -030015obj-$(CONFIG_VIDEO_V4L2) += v4l2-common.o
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030016
17obj-$(CONFIG_VIDEO_TUNER) += tuner.o
18
19obj-$(CONFIG_V4L2_MEM2MEM_DEV) += v4l2-mem2mem.o
20
21obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o
22obj-$(CONFIG_VIDEOBUF_DMA_SG) += videobuf-dma-sg.o
23obj-$(CONFIG_VIDEOBUF_DMA_CONTIG) += videobuf-dma-contig.o
24obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o
25obj-$(CONFIG_VIDEOBUF_DVB) += videobuf-dvb.o
26
27obj-$(CONFIG_VIDEOBUF2_CORE) += videobuf2-core.o
28obj-$(CONFIG_VIDEOBUF2_MEMOPS) += videobuf2-memops.o
29obj-$(CONFIG_VIDEOBUF2_VMALLOC) += videobuf2-vmalloc.o
30obj-$(CONFIG_VIDEOBUF2_DMA_CONTIG) += videobuf2-dma-contig.o
31obj-$(CONFIG_VIDEOBUF2_DMA_SG) += videobuf2-dma-sg.o
32
Mauro Carvalho Chehab3d6c2bc2012-06-14 16:35:53 -030033ccflags-y += -I$(srctree)/drivers/media/dvb-core
Mauro Carvalho Chehab9a0bf522012-08-13 23:13:41 -030034ccflags-y += -I$(srctree)/drivers/media/dvb-frontends
Mauro Carvalho Chehabccae7af2012-06-14 16:35:59 -030035ccflags-y += -I$(srctree)/drivers/media/tuners
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030036