Merge tag 'regulator-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[sfrench/cifs-2.6.git] / drivers / media / Makefile
1 #
2 # Makefile for the kernel multimedia device drivers.
3 #
4
5 ifeq ($(CONFIG_MEDIA_CEC_EDID),y)
6   obj-$(CONFIG_MEDIA_SUPPORT) += cec-edid.o
7 endif
8
9 media-objs      := media-device.o media-devnode.o media-entity.o
10
11 #
12 # I2C drivers should come before other drivers, otherwise they'll fail
13 # when compiled as builtin drivers
14 #
15 obj-y += i2c/ tuners/
16 obj-$(CONFIG_DVB_CORE)  += dvb-frontends/
17
18 #
19 # Now, let's link-in the media core
20 #
21 ifeq ($(CONFIG_MEDIA_CONTROLLER),y)
22   obj-$(CONFIG_MEDIA_SUPPORT) += media.o
23 endif
24
25 obj-$(CONFIG_VIDEO_DEV) += v4l2-core/
26 obj-$(CONFIG_DVB_CORE)  += dvb-core/
27
28 # There are both core and drivers at RC subtree - merge before drivers
29 obj-y += rc/
30
31 #
32 # Finally, merge the drivers that require the core
33 #
34
35 obj-y += common/ platform/ pci/ usb/ mmc/ firewire/
36 obj-$(CONFIG_VIDEO_DEV) += radio/
37