Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #
  2. # for USB OTG silicon based on Mentor Graphics INVENTRA designs
  3. #
  4. obj-$(CONFIG_USB_MUSB_HDRC) += musb_hdrc.o
  5. musb_hdrc-y := musb_core.o
  6. musb_hdrc-$(CONFIG_USB_GADGET_MUSB_HDRC) += musb_gadget_ep0.o musb_gadget.o
  7. musb_hdrc-$(CONFIG_USB_MUSB_HDRC_HCD) += musb_virthub.o musb_host.o
  8. musb_hdrc-$(CONFIG_DEBUG_FS) += musb_debugfs.o
  9. # Hardware Glue Layer
  10. obj-$(CONFIG_USB_MUSB_OMAP2PLUS) += omap2430.o
  11. obj-$(CONFIG_USB_MUSB_AM35X) += am35x.o
  12. obj-$(CONFIG_USB_MUSB_TUSB6010) += tusb6010.o
  13. obj-$(CONFIG_USB_MUSB_DAVINCI) += davinci.o
  14. obj-$(CONFIG_USB_MUSB_DA8XX) += da8xx.o
  15. obj-$(CONFIG_USB_MUSB_BLACKFIN) += blackfin.o
  16. obj-$(CONFIG_USB_MUSB_UX500) += ux500.o
  17. # the kconfig must guarantee that only one of the
  18. # possible I/O schemes will be enabled at a time ...
  19. # PIO only, or DMA (several potential schemes).
  20. # though PIO is always there to back up DMA, and for ep0
  21. ifneq ($(CONFIG_MUSB_PIO_ONLY),y)
  22. ifeq ($(CONFIG_USB_INVENTRA_DMA),y)
  23. musb_hdrc-y += musbhsdma.o
  24. else
  25. ifeq ($(CONFIG_USB_TI_CPPI_DMA),y)
  26. musb_hdrc-y += cppi_dma.o
  27. else
  28. ifeq ($(CONFIG_USB_TUSB_OMAP_DMA),y)
  29. musb_hdrc-y += tusb6010_omap.o
  30. else
  31. ifeq ($(CONFIG_USB_UX500_DMA),y)
  32. musb_hdrc-y += ux500_dma.o
  33. endif
  34. endif
  35. endif
  36. endif
  37. endif