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