Mauro Carvalho Chehab | 5bc3cb7 | 2012-06-14 16:35:52 -0300 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the V4L2 core |
| 3 | # |
| 4 | |
| 5 | tuner-objs := tuner-core.o |
| 6 | |
| 7 | videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-fh.o \ |
Guennadi Liakhovetski | e9e3104 | 2013-01-08 07:06:31 -0300 | [diff] [blame] | 8 | v4l2-event.o v4l2-ctrls.o v4l2-subdev.o v4l2-clk.o \ |
| 9 | v4l2-async.o |
Mauro Carvalho Chehab | 5bc3cb7 | 2012-06-14 16:35:52 -0300 | [diff] [blame] | 10 | ifeq ($(CONFIG_COMPAT),y) |
| 11 | videodev-objs += v4l2-compat-ioctl32.o |
| 12 | endif |
Guennadi Liakhovetski | 99fd133 | 2012-09-26 05:24:03 -0300 | [diff] [blame] | 13 | ifeq ($(CONFIG_OF),y) |
| 14 | videodev-objs += v4l2-of.o |
| 15 | endif |
Mauro Carvalho Chehab | 5bc3cb7 | 2012-06-14 16:35:52 -0300 | [diff] [blame] | 16 | |
Mauro Carvalho Chehab | 532ee00 | 2013-03-25 12:24:35 -0300 | [diff] [blame] | 17 | obj-$(CONFIG_VIDEO_V4L2) += videodev.o |
Sakari Ailus | 668a8b3 | 2013-01-05 18:56:10 -0300 | [diff] [blame] | 18 | obj-$(CONFIG_VIDEO_V4L2_INT_DEVICE) += v4l2-int-device.o |
Mauro Carvalho Chehab | b633446 | 2012-08-20 10:32:19 -0300 | [diff] [blame] | 19 | obj-$(CONFIG_VIDEO_V4L2) += v4l2-common.o |
Hans Verkuil | b18787e | 2013-07-29 08:40:55 -0300 | [diff] [blame] | 20 | obj-$(CONFIG_VIDEO_V4L2) += v4l2-dv-timings.o |
Mauro Carvalho Chehab | 5bc3cb7 | 2012-06-14 16:35:52 -0300 | [diff] [blame] | 21 | |
| 22 | obj-$(CONFIG_VIDEO_TUNER) += tuner.o |
| 23 | |
| 24 | obj-$(CONFIG_V4L2_MEM2MEM_DEV) += v4l2-mem2mem.o |
| 25 | |
| 26 | obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o |
| 27 | obj-$(CONFIG_VIDEOBUF_DMA_SG) += videobuf-dma-sg.o |
| 28 | obj-$(CONFIG_VIDEOBUF_DMA_CONTIG) += videobuf-dma-contig.o |
| 29 | obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o |
| 30 | obj-$(CONFIG_VIDEOBUF_DVB) += videobuf-dvb.o |
| 31 | |
| 32 | obj-$(CONFIG_VIDEOBUF2_CORE) += videobuf2-core.o |
| 33 | obj-$(CONFIG_VIDEOBUF2_MEMOPS) += videobuf2-memops.o |
| 34 | obj-$(CONFIG_VIDEOBUF2_VMALLOC) += videobuf2-vmalloc.o |
| 35 | obj-$(CONFIG_VIDEOBUF2_DMA_CONTIG) += videobuf2-dma-contig.o |
| 36 | obj-$(CONFIG_VIDEOBUF2_DMA_SG) += videobuf2-dma-sg.o |
| 37 | |
Mauro Carvalho Chehab | 3d6c2bc | 2012-06-14 16:35:53 -0300 | [diff] [blame] | 38 | ccflags-y += -I$(srctree)/drivers/media/dvb-core |
Mauro Carvalho Chehab | 9a0bf52 | 2012-08-13 23:13:41 -0300 | [diff] [blame] | 39 | ccflags-y += -I$(srctree)/drivers/media/dvb-frontends |
Mauro Carvalho Chehab | ccae7af | 2012-06-14 16:35:59 -0300 | [diff] [blame] | 40 | ccflags-y += -I$(srctree)/drivers/media/tuners |
Mauro Carvalho Chehab | 5bc3cb7 | 2012-06-14 16:35:52 -0300 | [diff] [blame] | 41 | |