diff options
author | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-11 20:03:58 +0000 |
---|---|---|
committer | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-11 20:03:58 +0000 |
commit | 00f29ce9a496f61255d08d521b5374ffa0e9d031 (patch) | |
tree | 570397989f27e1a242d600cc148d73d40d1c065f /target/linux/cns3xxx/files/drivers/usb/dwc/Makefile | |
parent | 133d66da06e979b099f831b63f28ab0670992547 (diff) |
cns3xxx: convert dwc_otg patches to files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34162 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 000000000..58f3db75c --- /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 |