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