# SPDX-License-Identifier: GPL-2.0 # # Makefile for the kernel multimedia device drivers. # # # I2C drivers should come before other drivers, otherwise they'll fail # when compiled as builtin drivers # obj-y += i2c/ tuners/ obj-$([31mCONFIG_DVB_CORE[0m) += dvb-frontends/ # # Now, let's link-in the media controller core # ifeq ($([31mCONFIG_MEDIA_CONTROLLER[0m),y) obj-$([31mCONFIG_MEDIA_SUPPORT[0m) += mc/ endif obj-$([31mCONFIG_VIDEO_DEV[0m) += v4l2-core/ obj-$([31mCONFIG_DVB_CORE[0m) += dvb-core/ # There are both core and drivers at RC subtree - merge before drivers obj-y += rc/ obj-$([31mCONFIG_CEC_CORE[0m) += cec/ # # Finally, merge the drivers that require the core # obj-y += common/ platform/ pci/ usb/ mmc/ firewire/ spi/ obj-$([31mCONFIG_VIDEO_DEV[0m) += radio/ |