blob: 620f275a45c9903069a1ebd7bb24370de71f3f4e [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the kernel multimedia device drivers.
3#
4
Laurent Pinchart53e269c2009-12-09 08:40:00 -03005media-objs := media-device.o media-devnode.o media-entity.o
Laurent Pinchartcf4b9212009-12-09 08:39:56 -03006
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -03007#
8# I2C drivers should come before other drivers, otherwise they'll fail
9# when compiled as builtin drivers
10#
11obj-y += i2c/ tuners/
12obj-$(CONFIG_DVB_CORE) += dvb-frontends/
13
14#
15# Now, let's link-in the media core
16#
Laurent Pinchartcf4b9212009-12-09 08:39:56 -030017ifeq ($(CONFIG_MEDIA_CONTROLLER),y)
18 obj-$(CONFIG_MEDIA_SUPPORT) += media.o
19endif
20
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030021obj-$(CONFIG_VIDEO_DEV) += v4l2-core/
22obj-$(CONFIG_DVB_CORE) += dvb-core/
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -030023
Mauro Carvalho Chehab1daae512012-08-24 19:44:44 -030024# There are both core and drivers at RC subtree - merge before drivers
25obj-y += rc/
26
27#
28# Finally, merge the drivers that require the core
29#
30
31obj-y += common/ platform/ pci/ usb/ mmc/ firewire/ parport/
32obj-$(CONFIG_VIDEO_DEV) += radio/
33