2 # Makefile for DWC_otg Highspeed USB controller driver
5 EXTRA_CFLAGS += -DDWC_HS_ELECT_TST
6 #EXTRA_CFLAGS += -Dlinux -DDWC_HS_ELECT_TST
7 #EXTRA_CFLAGS += -DDWC_EN_ISOC
9 ifneq ($(CONFIG_DWC_HOST_ONLY),)
10 EXTRA_CFLAGS += -DDWC_HOST_ONLY
13 ifneq ($(CONFIG_DWC_DEVICE_ONLY),)
14 EXTRA_CFLAGS += -DDWC_DEVICE_ONLY
17 ifneq ($(CONFIG_DWC_DEBUG),)
18 EXTRA_CFLAGS += -DDEBUG
21 obj-$(CONFIG_USB_DWC_OTG) := dwc_otg.o
23 dwc_otg-objs := otg_driver.o otg_attr.o
24 dwc_otg-objs += otg_cil.o otg_cil_intr.o
25 dwc_otg-objs += otg_pcd.o otg_pcd_intr.o
26 dwc_otg-objs += otg_hcd.o otg_hcd_intr.o otg_hcd_queue.o