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