blob: 594b462ddf0efab902599b1c0441075dab1f1c8c [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
3# Makefile for the kernel multimedia device drivers.
4#
5
Laurent Pinchart53e269c2009-12-09 08:40:00 -03006media-objs := media-device.o media-devnode.o media-entity.o
Laurent Pinchartcf4b9212009-12-09 08:39:56 -03007
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -03008#
9# I2C drivers should come before other drivers, otherwise they'll fail
10# when compiled as builtin drivers
11#
12obj-y += i2c/ tuners/
13obj-$(CONFIG_DVB_CORE) += dvb-frontends/
14
15#
16# Now, let's link-in the media core
17#
Laurent Pinchartcf4b9212009-12-09 08:39:56 -030018ifeq ($(CONFIG_MEDIA_CONTROLLER),y)
19 obj-$(CONFIG_MEDIA_SUPPORT) += media.o
20endif
21
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030022obj-$(CONFIG_VIDEO_DEV) += v4l2-core/
23obj-$(CONFIG_DVB_CORE) += dvb-core/
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -030024
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030025# There are both core and drivers at RC subtree - merge before drivers
26obj-y += rc/
27
Hans Verkuil9177e512017-05-28 05:48:37 -030028obj-$(CONFIG_CEC_CORE) += cec/
29
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030030#
31# Finally, merge the drivers that require the core
32#
33
Charles-Antoine Couret7aae6e22016-09-15 12:29:51 -030034obj-y += common/ platform/ pci/ usb/ mmc/ firewire/ spi/
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030035obj-$(CONFIG_VIDEO_DEV) += radio/
36