1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the kernel multimedia device drivers.
7 # I2C drivers should come before other drivers, otherwise they'll fail
8 # when compiled as builtin drivers
11 obj-$(CONFIG_DVB_CORE) += dvb-frontends/
14 # Now, let's link-in the media controller core
16 ifeq ($(CONFIG_MEDIA_CONTROLLER),y)
17 obj-$(CONFIG_MEDIA_SUPPORT) += mc/
20 obj-$(CONFIG_VIDEO_DEV) += v4l2-core/
21 obj-$(CONFIG_DVB_CORE) += dvb-core/
23 # There are both core and drivers at RC subtree - merge before drivers
26 obj-$(CONFIG_CEC_CORE) += cec/
29 # Finally, merge the drivers that require the core
32 obj-y += common/ platform/ pci/ usb/ mmc/ firewire/ spi/ test-drivers/
33 obj-$(CONFIG_VIDEO_DEV) += radio/