diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-08-15 14:11:55 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-08-15 14:11:55 +0000 |
commit | 169d68c98c6d9c7df824bed5b4d5bc7c39129666 (patch) | |
tree | 412a7fa301a9fabcc83f1b0289968321029ad3d2 /target/linux/ramips/files/drivers/usb/dwc_otg/Makefile | |
parent | 0ca16a4600ac2d51b068c8fa70361ed2f5f0edd7 (diff) | |
download | mtk-20170518-169d68c98c6d9c7df824bed5b4d5bc7c39129666.zip mtk-20170518-169d68c98c6d9c7df824bed5b4d5bc7c39129666.tar.gz mtk-20170518-169d68c98c6d9c7df824bed5b4d5bc7c39129666.tar.bz2 |
ramips: rt305x: add dwc_otg driver
Based on a patch by Layne Edwards <ledwards@astrumtech.net>
SVN-Revision: 27997
Diffstat (limited to 'target/linux/ramips/files/drivers/usb/dwc_otg/Makefile')
-rw-r--r-- | target/linux/ramips/files/drivers/usb/dwc_otg/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/ramips/files/drivers/usb/dwc_otg/Makefile b/target/linux/ramips/files/drivers/usb/dwc_otg/Makefile new file mode 100644 index 0000000..95c5b66 --- /dev/null +++ b/target/linux/ramips/files/drivers/usb/dwc_otg/Makefile @@ -0,0 +1,25 @@ +# +# Makefile for DWC_otg Highspeed USB controller driver +# + +ifeq ($(CONFIG_DWC_OTG_DEBUG),y) +EXTRA_CFLAGS += -DDEBUG +endif + +# Use one of the following flags to compile the software in host-only or +# device-only mode. +ifeq ($(CONFIG_DWC_OTG_HOST_ONLY),y) +EXTRA_CFLAGS += -DDWC_HOST_ONLY +EXTRA_CFLAGS += -DDWC_EN_ISOC +endif + +ifeq ($(CONFIG_DWC_OTG_DEVICE_ONLY),y) +EXTRA_CFLAGS += -DDWC_DEVICE_ONLY +endif + +obj-$(CONFIG_DWC_OTG) := dwc_otg.o + +dwc_otg-objs := dwc_otg_driver.o dwc_otg_attr.o +dwc_otg-objs += dwc_otg_cil.o dwc_otg_cil_intr.o +dwc_otg-objs += dwc_otg_pcd.o dwc_otg_pcd_intr.o +dwc_otg-objs += dwc_otg_hcd.o dwc_otg_hcd_intr.o dwc_otg_hcd_queue.o |