clocksource: make CLOCKSOURCE_OF_DECLARE type safe
[cascardo/linux.git] / drivers / media / v4l2-core / Makefile
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 \
8                         v4l2-event.o v4l2-ctrls.o v4l2-subdev.o
9 ifeq ($(CONFIG_COMPAT),y)
10   videodev-objs += v4l2-compat-ioctl32.o
11 endif
12
13 obj-$(CONFIG_VIDEO_DEV) += videodev.o
14 obj-$(CONFIG_VIDEO_V4L2_INT_DEVICE) += v4l2-int-device.o
15 obj-$(CONFIG_VIDEO_V4L2) += v4l2-common.o
16
17 obj-$(CONFIG_VIDEO_TUNER) += tuner.o
18
19 obj-$(CONFIG_V4L2_MEM2MEM_DEV) += v4l2-mem2mem.o
20
21 obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o
22 obj-$(CONFIG_VIDEOBUF_DMA_SG) += videobuf-dma-sg.o
23 obj-$(CONFIG_VIDEOBUF_DMA_CONTIG) += videobuf-dma-contig.o
24 obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o
25 obj-$(CONFIG_VIDEOBUF_DVB) += videobuf-dvb.o
26
27 obj-$(CONFIG_VIDEOBUF2_CORE) += videobuf2-core.o
28 obj-$(CONFIG_VIDEOBUF2_MEMOPS) += videobuf2-memops.o
29 obj-$(CONFIG_VIDEOBUF2_VMALLOC) += videobuf2-vmalloc.o
30 obj-$(CONFIG_VIDEOBUF2_DMA_CONTIG) += videobuf2-dma-contig.o
31 obj-$(CONFIG_VIDEOBUF2_DMA_SG) += videobuf2-dma-sg.o
32
33 ccflags-y += -I$(srctree)/drivers/media/dvb-core
34 ccflags-y += -I$(srctree)/drivers/media/dvb-frontends
35 ccflags-y += -I$(srctree)/drivers/media/tuners
36