Linux 4.14-rc6
[linux-block.git] / drivers / media / Makefile
CommitLineData
1da177e4
LT
1#
2# Makefile for the kernel multimedia device drivers.
3#
4
53e269c1 5media-objs := media-device.o media-devnode.o media-entity.o
cf4b9211 6
1daae517
MCC
7#
8# I2C drivers should come before other drivers, otherwise they'll fail
9# when compiled as builtin drivers
10#
11obj-y += i2c/ tuners/
12obj-$(CONFIG_DVB_CORE) += dvb-frontends/
13
14#
15# Now, let's link-in the media core
16#
cf4b9211
LP
17ifeq ($(CONFIG_MEDIA_CONTROLLER),y)
18 obj-$(CONFIG_MEDIA_SUPPORT) += media.o
19endif
20
1daae517
MCC
21obj-$(CONFIG_VIDEO_DEV) += v4l2-core/
22obj-$(CONFIG_DVB_CORE) += dvb-core/
23
24# There are both core and drivers at RC subtree - merge before drivers
25obj-y += rc/
26
9177e51d
HV
27obj-$(CONFIG_CEC_CORE) += cec/
28
1daae517
MCC
29#
30# Finally, merge the drivers that require the core
31#
32
7aae6e2d 33obj-y += common/ platform/ pci/ usb/ mmc/ firewire/ spi/
1daae517 34obj-$(CONFIG_VIDEO_DEV) += radio/
7c91f062 35