1# 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 v4l2-clk.o \ 9 v4l2-async.o 10ifeq ($(CONFIG_COMPAT),y) 11 videodev-objs += v4l2-compat-ioctl32.o 12endif 13ifeq ($(CONFIG_OF),y) 14 videodev-objs += v4l2-of.o 15endif 16 17obj-$(CONFIG_VIDEO_V4L2) += videodev.o 18obj-$(CONFIG_VIDEO_V4L2) += v4l2-common.o 19obj-$(CONFIG_VIDEO_V4L2) += v4l2-dv-timings.o 20 21obj-$(CONFIG_VIDEO_TUNER) += tuner.o 22 23obj-$(CONFIG_V4L2_MEM2MEM_DEV) += v4l2-mem2mem.o 24 25obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o 26obj-$(CONFIG_VIDEOBUF_DMA_SG) += videobuf-dma-sg.o 27obj-$(CONFIG_VIDEOBUF_DMA_CONTIG) += videobuf-dma-contig.o 28obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o 29obj-$(CONFIG_VIDEOBUF_DVB) += videobuf-dvb.o 30 31obj-$(CONFIG_VIDEOBUF2_CORE) += videobuf2-core.o 32obj-$(CONFIG_VIDEOBUF2_MEMOPS) += videobuf2-memops.o 33obj-$(CONFIG_VIDEOBUF2_VMALLOC) += videobuf2-vmalloc.o 34obj-$(CONFIG_VIDEOBUF2_DMA_CONTIG) += videobuf2-dma-contig.o 35obj-$(CONFIG_VIDEOBUF2_DMA_SG) += videobuf2-dma-sg.o 36obj-$(CONFIG_VIDEOBUF2_DVB) += videobuf2-dvb.o 37 38ccflags-y += -I$(srctree)/drivers/media/dvb-core 39ccflags-y += -I$(srctree)/drivers/media/dvb-frontends 40ccflags-y += -I$(srctree)/drivers/media/tuners 41 42