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