Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # |
| 3 | # Makefile for the kernel multimedia device drivers. |
| 4 | # |
| 5 | |
Mauro Carvalho Chehab | 1daae51 | 2012-08-24 19:44:44 -0300 | [diff] [blame] | 6 | # |
| 7 | # I2C drivers should come before other drivers, otherwise they'll fail |
| 8 | # when compiled as builtin drivers |
| 9 | # |
| 10 | obj-y += i2c/ tuners/ |
| 11 | obj-$(CONFIG_DVB_CORE) += dvb-frontends/ |
| 12 | |
| 13 | # |
Hans Verkuil | c612e54f | 2019-05-02 09:42:31 -0400 | [diff] [blame] | 14 | # Now, let's link-in the media controller core |
Mauro Carvalho Chehab | 1daae51 | 2012-08-24 19:44:44 -0300 | [diff] [blame] | 15 | # |
Laurent Pinchart | cf4b921 | 2009-12-09 08:39:56 -0300 | [diff] [blame] | 16 | ifeq ($(CONFIG_MEDIA_CONTROLLER),y) |
Hans Verkuil | c612e54f | 2019-05-02 09:42:31 -0400 | [diff] [blame] | 17 | obj-$(CONFIG_MEDIA_SUPPORT) += mc/ |
Laurent Pinchart | cf4b921 | 2009-12-09 08:39:56 -0300 | [diff] [blame] | 18 | endif |
| 19 | |
Mauro Carvalho Chehab | 1daae51 | 2012-08-24 19:44:44 -0300 | [diff] [blame] | 20 | obj-$(CONFIG_VIDEO_DEV) += v4l2-core/ |
| 21 | obj-$(CONFIG_DVB_CORE) += dvb-core/ |
Mauro Carvalho Chehab | 7c91f06 | 2008-04-29 21:38:44 -0300 | [diff] [blame] | 22 | |
Mauro Carvalho Chehab | 1daae51 | 2012-08-24 19:44:44 -0300 | [diff] [blame] | 23 | # There are both core and drivers at RC subtree - merge before drivers |
| 24 | obj-y += rc/ |
| 25 | |
Hans Verkuil | 9177e51 | 2017-05-28 05:48:37 -0300 | [diff] [blame] | 26 | obj-$(CONFIG_CEC_CORE) += cec/ |
| 27 | |
Mauro Carvalho Chehab | 1daae51 | 2012-08-24 19:44:44 -0300 | [diff] [blame] | 28 | # |
| 29 | # Finally, merge the drivers that require the core |
| 30 | # |
| 31 | |
Hans Verkuil | dacca5f | 2020-04-16 10:25:59 +0200 | [diff] [blame] | 32 | obj-y += common/ platform/ pci/ usb/ mmc/ firewire/ spi/ test-drivers/ |
Mauro Carvalho Chehab | 1daae51 | 2012-08-24 19:44:44 -0300 | [diff] [blame] | 33 | obj-$(CONFIG_VIDEO_DEV) += radio/ |
| 34 | |