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 9ifeq ($(CONFIG_COMPAT),y) 10 videodev-objs += v4l2-compat-ioctl32.o 11endif 12 13obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-int-device.o 14obj-$(CONFIG_VIDEO_V4L2) += v4l2-common.o 15 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 32ccflags-y += -I$(srctree)/drivers/media/dvb-core 33ccflags-y += -I$(srctree)/drivers/media/dvb-frontends 34ccflags-y += -I$(srctree)/drivers/media/tuners 35 36