# SPDX-License-Identifier: GPL-2.0 # # Makefile for the V4L2 core # tuner-objs := tuner-core.o videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-fh.o \ v4l2-event.o v4l2-ctrls.o v4l2-subdev.o v4l2-clk.o \ v4l2-async.o v4l2-common.o videodev-$([31mCONFIG_COMPAT[0m) += v4l2-compat-ioctl32.o videodev-$([31mCONFIG_TRACEPOINTS[0m) += v4l2-trace.o videodev-$([31mCONFIG_MEDIA_CONTROLLER[0m) += v4l2-mc.o videodev-$([31mCONFIG_SPI[0m) += v4l2-spi.o videodev-$([31mCONFIG_VIDEO_V4L2_I2C[0m) += v4l2-i2c.o obj-$([31mCONFIG_V4L2_FWNODE[0m) += v4l2-fwnode.o obj-$([31mCONFIG_VIDEO_V4L2[0m) += videodev.o obj-$([31mCONFIG_VIDEO_V4L2[0m) += v4l2-dv-timings.o obj-$([31mCONFIG_VIDEO_TUNER[0m) += tuner.o obj-$([31mCONFIG_V4L2_MEM2MEM_DEV[0m) += v4l2-mem2mem.o obj-$([31mCONFIG_V4L2_FLASH_LED_CLASS[0m) += v4l2-flash-led-class.o obj-$([31mCONFIG_VIDEOBUF_GEN[0m) += videobuf-core.o obj-$([31mCONFIG_VIDEOBUF_DMA_SG[0m) += videobuf-dma-sg.o obj-$([31mCONFIG_VIDEOBUF_DMA_CONTIG[0m) += videobuf-dma-contig.o obj-$([31mCONFIG_VIDEOBUF_VMALLOC[0m) += videobuf-vmalloc.o ccflags-y += -I$(srctree)/drivers/media/dvb-frontends ccflags-y += -I$(srctree)/drivers/media/tuners |