[ramips] add feature gpio
[openwrt/svn-archive/archive.git] / target / linux / ramips / files / drivers / usb / dwc_otg / Makefile
1 #
2 # Makefile for DWC_otg Highspeed USB controller driver
3 #
4
5 ifeq ($(CONFIG_DWC_OTG_DEBUG),y)
6 EXTRA_CFLAGS += -DDEBUG
7 endif
8
9 # Use one of the following flags to compile the software in host-only or
10 # device-only mode.
11 ifeq ($(CONFIG_DWC_OTG_HOST_ONLY),y)
12 EXTRA_CFLAGS += -DDWC_HOST_ONLY
13 EXTRA_CFLAGS += -DDWC_EN_ISOC
14 endif
15
16 ifeq ($(CONFIG_DWC_OTG_DEVICE_ONLY),y)
17 EXTRA_CFLAGS += -DDWC_DEVICE_ONLY
18 endif
19
20 obj-$(CONFIG_DWC_OTG) := dwc_otg.o
21
22 dwc_otg-objs := dwc_otg_driver.o dwc_otg_attr.o
23 dwc_otg-objs += dwc_otg_cil.o dwc_otg_cil_intr.o
24 dwc_otg-objs += dwc_otg_pcd.o dwc_otg_pcd_intr.o
25 dwc_otg-objs += dwc_otg_hcd.o dwc_otg_hcd_intr.o dwc_otg_hcd_queue.o