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