58f3db75c75a1f97ac0c262624940884aae7276e
[openwrt/openwrt.git] / target / linux / cns3xxx / files / drivers / usb / dwc / Makefile
1 #
2 # Makefile for DWC_otg Highspeed USB controller driver
3 #
4
5 EXTRA_CFLAGS += -DDWC_HS_ELECT_TST
6 #EXTRA_CFLAGS += -Dlinux -DDWC_HS_ELECT_TST
7 #EXTRA_CFLAGS += -DDWC_EN_ISOC
8
9 ifneq ($(CONFIG_DWC_HOST_ONLY),)
10 EXTRA_CFLAGS += -DDWC_HOST_ONLY
11 endif
12
13 ifneq ($(CONFIG_DWC_DEVICE_ONLY),)
14 EXTRA_CFLAGS += -DDWC_DEVICE_ONLY
15 endif
16
17 ifneq ($(CONFIG_DWC_DEBUG),)
18 EXTRA_CFLAGS += -DDEBUG
19 endif
20
21 obj-$(CONFIG_USB_DWC_OTG) := dwc_otg.o
22
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