2 # Makefile for DWC_otg Highspeed USB controller driver
5 ifeq ($(CONFIG_DWC_OTG_DEBUG
),y
)
6 EXTRA_CFLAGS
+= -DDEBUG
9 # Use one of the following flags to compile the software in host-only or
11 ifeq ($(CONFIG_DWC_OTG_HOST_ONLY
),y
)
12 EXTRA_CFLAGS
+= -DDWC_HOST_ONLY
13 EXTRA_CFLAGS
+= -DDWC_EN_ISOC
16 ifeq ($(CONFIG_DWC_OTG_DEVICE_ONLY
),y
)
17 EXTRA_CFLAGS
+= -DDWC_DEVICE_ONLY
20 obj-
$(CONFIG_DWC_OTG
) := dwc_otg.o
22 dwc_otg-objs
:= dwc_otg_driver.o dwc_otg_attr.o
23 dwc_otg-objs
+= dwc_otg_cil.o dwc_otg_cil_intr.o
24 dwc_otg-objs
+= dwc_otg_pcd.o dwc_otg_pcd_intr.o
25 dwc_otg-objs
+= dwc_otg_hcd.o dwc_otg_hcd_intr.o dwc_otg_hcd_queue.o