Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the kernel multimedia device drivers. |
| 3 | # |
| 4 | |
Laurent Pinchart | 53e269c | 2009-12-09 08:40:00 -0300 | [diff] [blame] | 5 | media-objs := media-device.o media-devnode.o media-entity.o |
Laurent Pinchart | cf4b921 | 2009-12-09 08:39:56 -0300 | [diff] [blame] | 6 | |
Mauro Carvalho Chehab | 1daae51 | 2012-08-24 19:44:44 -0300 | [diff] [blame] | 7 | # |
| 8 | # I2C drivers should come before other drivers, otherwise they'll fail |
| 9 | # when compiled as builtin drivers |
| 10 | # |
| 11 | obj-y += i2c/ tuners/ |
| 12 | obj-$(CONFIG_DVB_CORE) += dvb-frontends/ |
| 13 | |
| 14 | # |
| 15 | # Now, let's link-in the media core |
| 16 | # |
Laurent Pinchart | cf4b921 | 2009-12-09 08:39:56 -0300 | [diff] [blame] | 17 | ifeq ($(CONFIG_MEDIA_CONTROLLER),y) |
| 18 | obj-$(CONFIG_MEDIA_SUPPORT) += media.o |
| 19 | endif |
| 20 | |
Mauro Carvalho Chehab | 1daae51 | 2012-08-24 19:44:44 -0300 | [diff] [blame] | 21 | obj-$(CONFIG_VIDEO_DEV) += v4l2-core/ |
| 22 | obj-$(CONFIG_DVB_CORE) += dvb-core/ |
Mauro Carvalho Chehab | 7c91f06 | 2008-04-29 21:38:44 -0300 | [diff] [blame] | 23 | |
Mauro Carvalho Chehab | 1daae51 | 2012-08-24 19:44:44 -0300 | [diff] [blame] | 24 | # There are both core and drivers at RC subtree - merge before drivers |
| 25 | obj-y += rc/ |
| 26 | |
Hans Verkuil | 9177e51 | 2017-05-28 05:48:37 -0300 | [diff] [blame] | 27 | obj-$(CONFIG_CEC_CORE) += cec/ |
| 28 | |
Mauro Carvalho Chehab | 1daae51 | 2012-08-24 19:44:44 -0300 | [diff] [blame] | 29 | # |
| 30 | # Finally, merge the drivers that require the core |
| 31 | # |
| 32 | |
Charles-Antoine Couret | 7aae6e2 | 2016-09-15 12:29:51 -0300 | [diff] [blame] | 33 | obj-y += common/ platform/ pci/ usb/ mmc/ firewire/ spi/ |
Mauro Carvalho Chehab | 1daae51 | 2012-08-24 19:44:44 -0300 | [diff] [blame] | 34 | obj-$(CONFIG_VIDEO_DEV) += radio/ |
| 35 | |