Makefile 808 B

12345678910111213141516171819202122232425
  1. ccflags-$(CONFIG_USB_DWC2_DEBUG) += -DDEBUG
  2. ccflags-$(CONFIG_USB_DWC2_VERBOSE) += -DVERBOSE_DEBUG
  3. obj-$(CONFIG_USB_DWC2) += dwc2.o
  4. dwc2-y += core.o core_intr.o
  5. # NOTE: This driver at present only implements the Host mode
  6. # of the controller. The existing s3c-hsotg driver supports
  7. # Peripheral mode, but only for the Samsung S3C platforms.
  8. # There are plans to merge the s3c-hsotg driver with this
  9. # driver in the near future to create a dual-role driver. Once
  10. # that is done, Host mode will become an optional feature that
  11. # is selected with a config option.
  12. dwc2-y += hcd.o hcd_intr.o
  13. dwc2-y += hcd_queue.o hcd_ddma.o
  14. ifneq ($(CONFIG_PCI),)
  15. obj-$(CONFIG_USB_DWC2) += dwc2_pci.o
  16. endif
  17. obj-$(CONFIG_USB_DWC2) += dwc2_platform.o
  18. dwc2_pci-y += pci.o
  19. dwc2_platform-y += platform.o