blob: 628c6307e9783da6c77fb93df68ff04d7751a245 [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 \
Guennadi Liakhovetskiff5430d2012-12-04 07:42:15 -03008 v4l2-event.o v4l2-ctrls.o v4l2-subdev.o v4l2-clk.o
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -03009ifeq ($(CONFIG_COMPAT),y)
10 videodev-objs += v4l2-compat-ioctl32.o
11endif
Guennadi Liakhovetski99fd1332012-09-26 05:24:03 -030012ifeq ($(CONFIG_OF),y)
13 videodev-objs += v4l2-of.o
14endif
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030015
Mauro Carvalho Chehab532ee002013-03-25 12:24:35 -030016obj-$(CONFIG_VIDEO_V4L2) += videodev.o
Sakari Ailus668a8b32013-01-05 18:56:10 -030017obj-$(CONFIG_VIDEO_V4L2_INT_DEVICE) += v4l2-int-device.o
Mauro Carvalho Chehabb6334462012-08-20 10:32:19 -030018obj-$(CONFIG_VIDEO_V4L2) += v4l2-common.o
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030019
20obj-$(CONFIG_VIDEO_TUNER) += tuner.o
21
22obj-$(CONFIG_V4L2_MEM2MEM_DEV) += v4l2-mem2mem.o
23
24obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o
25obj-$(CONFIG_VIDEOBUF_DMA_SG) += videobuf-dma-sg.o
26obj-$(CONFIG_VIDEOBUF_DMA_CONTIG) += videobuf-dma-contig.o
27obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o
28obj-$(CONFIG_VIDEOBUF_DVB) += videobuf-dvb.o
29
30obj-$(CONFIG_VIDEOBUF2_CORE) += videobuf2-core.o
31obj-$(CONFIG_VIDEOBUF2_MEMOPS) += videobuf2-memops.o
32obj-$(CONFIG_VIDEOBUF2_VMALLOC) += videobuf2-vmalloc.o
33obj-$(CONFIG_VIDEOBUF2_DMA_CONTIG) += videobuf2-dma-contig.o
34obj-$(CONFIG_VIDEOBUF2_DMA_SG) += videobuf2-dma-sg.o
35
Mauro Carvalho Chehab3d6c2bc2012-06-14 16:35:53 -030036ccflags-y += -I$(srctree)/drivers/media/dvb-core
Mauro Carvalho Chehab9a0bf522012-08-13 23:13:41 -030037ccflags-y += -I$(srctree)/drivers/media/dvb-frontends
Mauro Carvalho Chehabccae7af2012-06-14 16:35:59 -030038ccflags-y += -I$(srctree)/drivers/media/tuners
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030039