1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the kernel multimedia device drivers.
6 media-objs
:= media-device.o media-devnode.o media-entity.o
9 # I2C drivers should come before other drivers, otherwise they'll fail
10 # when compiled as builtin drivers
13 obj-
$(CONFIG_DVB_CORE
) += dvb-frontends
/
16 # Now, let's link-in the media core
18 ifeq ($(CONFIG_MEDIA_CONTROLLER
),y
)
19 obj-
$(CONFIG_MEDIA_SUPPORT
) += media.o
22 obj-
$(CONFIG_VIDEO_DEV
) += v4l2-core
/
23 obj-
$(CONFIG_DVB_CORE
) += dvb-core
/
25 # There are both core and drivers at RC subtree - merge before drivers
28 obj-
$(CONFIG_CEC_CORE
) += cec
/
31 # Finally, merge the drivers that require the core
34 obj-y
+= common
/ platform
/ pci
/ usb
/ mmc
/ firewire
/ spi
/
35 obj-
$(CONFIG_VIDEO_DEV
) += radio
/