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