blob: d87ccb8eeabe6b15c8664ae625dae298b6dd53ef [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the kernel multimedia device drivers.
3#
4
Hans Verkuil5bb23992016-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
Hans Verkuil0dbaceb2016-11-02 08:25:28 -02009ifeq ($(CONFIG_MEDIA_CEC_SUPPORT),y)
10 obj-$(CONFIG_MEDIA_SUPPORT) += cec/
11endif
12
Laurent Pinchart53e269c2009-12-09 08:40:00 -030013media-objs := media-device.o media-devnode.o media-entity.o
Laurent Pinchartcf4b9212009-12-09 08:39:56 -030014
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030015#
16# I2C drivers should come before other drivers, otherwise they'll fail
17# when compiled as builtin drivers
18#
19obj-y += i2c/ tuners/
20obj-$(CONFIG_DVB_CORE) += dvb-frontends/
21
22#
23# Now, let's link-in the media core
24#
Laurent Pinchartcf4b9212009-12-09 08:39:56 -030025ifeq ($(CONFIG_MEDIA_CONTROLLER),y)
26 obj-$(CONFIG_MEDIA_SUPPORT) += media.o
27endif
28
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030029obj-$(CONFIG_VIDEO_DEV) += v4l2-core/
30obj-$(CONFIG_DVB_CORE) += dvb-core/
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -030031
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030032# There are both core and drivers at RC subtree - merge before drivers
33obj-y += rc/
34
35#
36# Finally, merge the drivers that require the core
37#
38
Charles-Antoine Couret7aae6e22016-09-15 12:29:51 -030039obj-y += common/ platform/ pci/ usb/ mmc/ firewire/ spi/
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030040obj-$(CONFIG_VIDEO_DEV) += radio/
41