Makefile 754 B

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