blob: c2d61d4f03d117b5b89107f5411e2693dbe68993 [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
13obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-int-device.o
Mauro Carvalho Chehabb6334462012-08-20 10:32:19 -030014obj-$(CONFIG_VIDEO_V4L2) += v4l2-common.o
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030015
16obj-$(CONFIG_VIDEO_TUNER) += tuner.o
17
18obj-$(CONFIG_V4L2_MEM2MEM_DEV) += v4l2-mem2mem.o
19
20obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o
21obj-$(CONFIG_VIDEOBUF_DMA_SG) += videobuf-dma-sg.o
22obj-$(CONFIG_VIDEOBUF_DMA_CONTIG) += videobuf-dma-contig.o
23obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o
24obj-$(CONFIG_VIDEOBUF_DVB) += videobuf-dvb.o
25
26obj-$(CONFIG_VIDEOBUF2_CORE) += videobuf2-core.o
27obj-$(CONFIG_VIDEOBUF2_MEMOPS) += videobuf2-memops.o
28obj-$(CONFIG_VIDEOBUF2_VMALLOC) += videobuf2-vmalloc.o
29obj-$(CONFIG_VIDEOBUF2_DMA_CONTIG) += videobuf2-dma-contig.o
30obj-$(CONFIG_VIDEOBUF2_DMA_SG) += videobuf2-dma-sg.o
31
Mauro Carvalho Chehab3d6c2bc2012-06-14 16:35:53 -030032ccflags-y += -I$(srctree)/drivers/media/dvb-core
Mauro Carvalho Chehab9a0bf522012-08-13 23:13:41 -030033ccflags-y += -I$(srctree)/drivers/media/dvb-frontends
Mauro Carvalho Chehabccae7af2012-06-14 16:35:59 -030034ccflags-y += -I$(srctree)/drivers/media/tuners
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030035