aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/dwc_otg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/dwc_otg/Makefile')
-rw-r--r--drivers/usb/gadget/dwc_otg/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/usb/gadget/dwc_otg/Makefile b/drivers/usb/gadget/dwc_otg/Makefile
new file mode 100644
index 00000000000..4d690a46658
--- /dev/null
+++ b/drivers/usb/gadget/dwc_otg/Makefile
@@ -0,0 +1,12 @@
+#
+# Makefile for DWC_otg Highspeed USB controller driver
+#
+
+KBUILD_CPPFLAGS += -Dlinux
+
+obj-$(CONFIG_USB_DWC_OTG) += dwc_otg.o
+
+dwc_otg-y := dwc_otg_driver.o dwc_otg_attr.o dwc_otg_cil.o \
+ dwc_otg_cil_intr.o dwc_otg_pcd.o dwc_otg_pcd_intr.o \
+ dwc_otg_hcd.o dwc_otg_hcd_intr.o dwc_otg_hcd_queue.o
+dwc_otg-$(CONFIG_DWC_USE_PLB_DMA) += ppc4xx_dma.o