Makefile 817 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Makefile for the kernel multimedia device drivers.
  4. #
  5. media-objs := media-device.o media-devnode.o media-entity.o \
  6. media-request.o
  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. # Now, let's link-in the media core
  15. #
  16. ifeq ($(CONFIG_MEDIA_CONTROLLER),y)
  17. obj-$(CONFIG_MEDIA_SUPPORT) += media.o
  18. endif
  19. obj-$(CONFIG_VIDEO_DEV) += v4l2-core/
  20. obj-$(CONFIG_DVB_CORE) += dvb-core/
  21. # There are both core and drivers at RC subtree - merge before drivers
  22. obj-y += rc/
  23. obj-$(CONFIG_CEC_CORE) += cec/
  24. #
  25. # Finally, merge the drivers that require the core
  26. #
  27. obj-y += common/ platform/ pci/ usb/ mmc/ firewire/ spi/
  28. obj-$(CONFIG_VIDEO_DEV) += radio/