1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-19 00:27:31 +02:00
openwrt-xburst/target/linux/cns3xxx/files/drivers/usb/dwc/Makefile
luka 00f29ce9a4 cns3xxx: convert dwc_otg patches to files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-11 20:03:58 +00:00

27 lines
604 B
Makefile

#
# 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