1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for the V4L2 core 4# 5 6tuner-objs := tuner-core.o 7 8videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-fh.o \ 9 v4l2-event.o v4l2-subdev.o v4l2-common.o \ 10 v4l2-ctrls-core.o v4l2-ctrls-api.o \ 11 v4l2-ctrls-request.o v4l2-ctrls-defs.o 12videodev-$(CONFIG_COMPAT) += v4l2-compat-ioctl32.o 13videodev-$(CONFIG_TRACEPOINTS) += v4l2-trace.o 14videodev-$(CONFIG_MEDIA_CONTROLLER) += v4l2-mc.o 15videodev-$(CONFIG_SPI) += v4l2-spi.o 16videodev-$(CONFIG_VIDEO_V4L2_I2C) += v4l2-i2c.o 17 18obj-$(CONFIG_VIDEO_V4L2) += videodev.o 19obj-$(CONFIG_V4L2_FWNODE) += v4l2-fwnode.o 20obj-$(CONFIG_V4L2_ASYNC) += v4l2-async.o 21obj-$(CONFIG_VIDEO_V4L2) += v4l2-dv-timings.o 22 23obj-$(CONFIG_VIDEO_TUNER) += tuner.o 24 25obj-$(CONFIG_V4L2_MEM2MEM_DEV) += v4l2-mem2mem.o 26obj-$(CONFIG_V4L2_H264) += v4l2-h264.o 27obj-$(CONFIG_V4L2_VP9) += v4l2-vp9.o 28 29obj-$(CONFIG_V4L2_FLASH_LED_CLASS) += v4l2-flash-led-class.o 30 31obj-$(CONFIG_V4L2_JPEG_HELPER) += v4l2-jpeg.o 32 33obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o 34obj-$(CONFIG_VIDEOBUF_DMA_SG) += videobuf-dma-sg.o 35obj-$(CONFIG_VIDEOBUF_DMA_CONTIG) += videobuf-dma-contig.o 36obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o 37 38ccflags-y += -I$(srctree)/drivers/media/dvb-frontends 39ccflags-y += -I$(srctree)/drivers/media/tuners 40