1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the V4L2 core
6 ccflags-y
+= -I
$(srctree
)/drivers
/media
/dvb-frontends
7 ccflags-y
+= -I
$(srctree
)/drivers
/media
/tuners
9 tuner-objs
:= tuner-core.o
11 videodev-objs
:= v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-fh.o \
12 v4l2-event.o v4l2-subdev.o v4l2-common.o \
13 v4l2-ctrls-core.o v4l2-ctrls-api.o \
14 v4l2-ctrls-request.o v4l2-ctrls-defs.o
16 # Please keep it alphabetically sorted by Kconfig name
17 # (e. g. LC_ALL=C sort Makefile)
18 videodev-
$(CONFIG_COMPAT
) += v4l2-compat-ioctl32.o
19 videodev-
$(CONFIG_MEDIA_CONTROLLER
) += v4l2-mc.o
20 videodev-
$(CONFIG_SPI
) += v4l2-spi.o
21 videodev-
$(CONFIG_TRACEPOINTS
) += v4l2-trace.o
22 videodev-
$(CONFIG_VIDEO_V4L2_I2C
) += v4l2-i2c.o
24 # Please keep it alphabetically sorted by Kconfig name
25 # (e. g. LC_ALL=C sort Makefile)
27 obj-
$(CONFIG_V4L2_ASYNC
) += v4l2-async.o
28 obj-
$(CONFIG_V4L2_CCI
) += v4l2-cci.o
29 obj-
$(CONFIG_V4L2_FLASH_LED_CLASS
) += v4l2-flash-led-class.o
30 obj-
$(CONFIG_V4L2_FWNODE
) += v4l2-fwnode.o
31 obj-
$(CONFIG_V4L2_H264
) += v4l2-h264.o
32 obj-
$(CONFIG_V4L2_JPEG_HELPER
) += v4l2-jpeg.o
33 obj-
$(CONFIG_V4L2_MEM2MEM_DEV
) += v4l2-mem2mem.o
34 obj-
$(CONFIG_V4L2_VP9
) += v4l2-vp9.o
36 obj-
$(CONFIG_VIDEO_TUNER
) += tuner.o
37 obj-
$(CONFIG_VIDEO_DEV
) += v4l2-dv-timings.o videodev.o