1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# Makefile for the kernel multimedia device drivers. 41da177e4SLinus Torvalds# 51da177e4SLinus Torvalds 61daae517SMauro Carvalho Chehab# 71daae517SMauro Carvalho Chehab# I2C drivers should come before other drivers, otherwise they'll fail 81daae517SMauro Carvalho Chehab# when compiled as builtin drivers 91daae517SMauro Carvalho Chehab# 101daae517SMauro Carvalho Chehabobj-y += i2c/ tuners/ 111daae517SMauro Carvalho Chehabobj-$(CONFIG_DVB_CORE) += dvb-frontends/ 121daae517SMauro Carvalho Chehab 131daae517SMauro Carvalho Chehab# 14c612e54fSHans Verkuil# Now, let's link-in the media controller core 151daae517SMauro Carvalho Chehab# 16cf4b9211SLaurent Pinchartifeq ($(CONFIG_MEDIA_CONTROLLER),y) 17c612e54fSHans Verkuil obj-$(CONFIG_MEDIA_SUPPORT) += mc/ 18cf4b9211SLaurent Pinchartendif 19cf4b9211SLaurent Pinchart 201daae517SMauro Carvalho Chehabobj-$(CONFIG_VIDEO_DEV) += v4l2-core/ 211daae517SMauro Carvalho Chehabobj-$(CONFIG_DVB_CORE) += dvb-core/ 227c91f062SMauro Carvalho Chehab 231daae517SMauro Carvalho Chehab# There are both core and drivers at RC subtree - merge before drivers 241daae517SMauro Carvalho Chehabobj-y += rc/ 251daae517SMauro Carvalho Chehab 269177e51dSHans Verkuilobj-$(CONFIG_CEC_CORE) += cec/ 279177e51dSHans Verkuil 281daae517SMauro Carvalho Chehab# 291daae517SMauro Carvalho Chehab# Finally, merge the drivers that require the core 301daae517SMauro Carvalho Chehab# 311daae517SMauro Carvalho Chehab 327aae6e2dSCharles-Antoine Couretobj-y += common/ platform/ pci/ usb/ mmc/ firewire/ spi/ 331daae517SMauro Carvalho Chehabobj-$(CONFIG_VIDEO_DEV) += radio/ 341daae517SMauro Carvalho Chehab 35