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