mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ramips: rt305x: add dwc_otg driver
Based on a patch by Layne Edwards <ledwards@astrumtech.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27997 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
25
target/linux/ramips/files/drivers/usb/dwc_otg/Makefile
Normal file
25
target/linux/ramips/files/drivers/usb/dwc_otg/Makefile
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user