blob: 0deaa93efdee618367893d6ada686263950a8852 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the kernel multimedia device drivers.
3#
4
Hans Verkuil5bb2399a2016-07-01 07:33:10 -03005ifeq ($(CONFIG_MEDIA_CEC_EDID),y)
6 obj-$(CONFIG_MEDIA_SUPPORT) += cec-edid.o
7endif
Hans Verkuil29fb44a2016-06-17 09:13:08 -03008
Laurent Pinchart53e269c2009-12-09 08:40:00 -03009media-objs := media-device.o media-devnode.o media-entity.o
Laurent Pinchartcf4b9212009-12-09 08:39:56 -030010
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030011#
12# I2C drivers should come before other drivers, otherwise they'll fail
13# when compiled as builtin drivers
14#
15obj-y += i2c/ tuners/
16obj-$(CONFIG_DVB_CORE) += dvb-frontends/
17
18#
19# Now, let's link-in the media core
20#
Laurent Pinchartcf4b9212009-12-09 08:39:56 -030021ifeq ($(CONFIG_MEDIA_CONTROLLER),y)
22 obj-$(CONFIG_MEDIA_SUPPORT) += media.o
23endif
24
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030025obj-$(CONFIG_VIDEO_DEV) += v4l2-core/
26obj-$(CONFIG_DVB_CORE) += dvb-core/
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -030027
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030028# There are both core and drivers at RC subtree - merge before drivers
29obj-y += rc/
30
31#
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