blob: 985d35ec6b298491eb80bd7c3b246faba58d0dd7 [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
Hans Verkuil10905d72018-05-21 04:54:27 -04006media-objs := media-device.o media-devnode.o media-entity.o \
7 media-request.o
Laurent Pinchartcf4b9212009-12-09 08:39:56 -03008
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -03009#
10# I2C drivers should come before other drivers, otherwise they'll fail
11# when compiled as builtin drivers
12#
13obj-y += i2c/ tuners/
14obj-$(CONFIG_DVB_CORE) += dvb-frontends/
15
16#
17# Now, let's link-in the media core
18#
Laurent Pinchartcf4b9212009-12-09 08:39:56 -030019ifeq ($(CONFIG_MEDIA_CONTROLLER),y)
20 obj-$(CONFIG_MEDIA_SUPPORT) += media.o
21endif
22
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030023obj-$(CONFIG_VIDEO_DEV) += v4l2-core/
24obj-$(CONFIG_DVB_CORE) += dvb-core/
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -030025
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030026# There are both core and drivers at RC subtree - merge before drivers
27obj-y += rc/
28
Hans Verkuil9177e512017-05-28 05:48:37 -030029obj-$(CONFIG_CEC_CORE) += cec/
30
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030031#
32# Finally, merge the drivers that require the core
33#
34
Charles-Antoine Couret7aae6e22016-09-15 12:29:51 -030035obj-y += common/ platform/ pci/ usb/ mmc/ firewire/ spi/
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030036obj-$(CONFIG_VIDEO_DEV) += radio/
37