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