blob: d18357bf1346442964d0a278f5c44084b87ad241 [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
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -03006#
7# I2C drivers should come before other drivers, otherwise they'll fail
8# when compiled as builtin drivers
9#
10obj-y += i2c/ tuners/
11obj-$(CONFIG_DVB_CORE) += dvb-frontends/
12
13#
Hans Verkuilc612e54f2019-05-02 09:42:31 -040014# Now, let's link-in the media controller core
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030015#
Laurent Pinchartcf4b9212009-12-09 08:39:56 -030016ifeq ($(CONFIG_MEDIA_CONTROLLER),y)
Hans Verkuilc612e54f2019-05-02 09:42:31 -040017 obj-$(CONFIG_MEDIA_SUPPORT) += mc/
Laurent Pinchartcf4b9212009-12-09 08:39:56 -030018endif
19
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030020obj-$(CONFIG_VIDEO_DEV) += v4l2-core/
21obj-$(CONFIG_DVB_CORE) += dvb-core/
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -030022
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030023# There are both core and drivers at RC subtree - merge before drivers
24obj-y += rc/
25
Hans Verkuil9177e512017-05-28 05:48:37 -030026obj-$(CONFIG_CEC_CORE) += cec/
27
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030028#
29# Finally, merge the drivers that require the core
30#
31
Hans Verkuildacca5f2020-04-16 10:25:59 +020032obj-y += common/ platform/ pci/ usb/ mmc/ firewire/ spi/ test-drivers/
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030033obj-$(CONFIG_VIDEO_DEV) += radio/
34