diff options
author | James <> | 2013-03-17 12:16:37 +0000 |
---|---|---|
committer | James <> | 2013-03-17 12:16:37 +0000 |
commit | 27b76ab0671089c47506615a796a261e993896a7 (patch) | |
tree | 61213d67e7fa87b20356b23798558e2c4212c42f /target/linux/cns3xxx/files/drivers/usb/dwc/Makefile | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'target/linux/cns3xxx/files/drivers/usb/dwc/Makefile')
-rw-r--r-- | target/linux/cns3xxx/files/drivers/usb/dwc/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/cns3xxx/files/drivers/usb/dwc/Makefile b/target/linux/cns3xxx/files/drivers/usb/dwc/Makefile new file mode 100644 index 0000000..58f3db7 --- /dev/null +++ b/target/linux/cns3xxx/files/drivers/usb/dwc/Makefile @@ -0,0 +1,26 @@ +# +# Makefile for DWC_otg Highspeed USB controller driver +# + +EXTRA_CFLAGS += -DDWC_HS_ELECT_TST +#EXTRA_CFLAGS += -Dlinux -DDWC_HS_ELECT_TST +#EXTRA_CFLAGS += -DDWC_EN_ISOC + +ifneq ($(CONFIG_DWC_HOST_ONLY),) +EXTRA_CFLAGS += -DDWC_HOST_ONLY +endif + +ifneq ($(CONFIG_DWC_DEVICE_ONLY),) +EXTRA_CFLAGS += -DDWC_DEVICE_ONLY +endif + +ifneq ($(CONFIG_DWC_DEBUG),) +EXTRA_CFLAGS += -DDEBUG +endif + +obj-$(CONFIG_USB_DWC_OTG) := dwc_otg.o + +dwc_otg-objs := otg_driver.o otg_attr.o +dwc_otg-objs += otg_cil.o otg_cil_intr.o +dwc_otg-objs += otg_pcd.o otg_pcd_intr.o +dwc_otg-objs += otg_hcd.o otg_hcd_intr.o otg_hcd_queue.o |