aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/Makefile
blob: be6cfce01afb60e2dd8a491697723fe928992dac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ccflags-$(CONFIG_USB_DWC3_DEBUG)	:= -DDEBUG
ccflags-$(CONFIG_USB_DWC3_VERBOSE)	+= -DVERBOSE_DEBUG

obj-$(CONFIG_USB_DWC3)			+= dwc3.o

dwc3-y					:= core.o

ifneq ($(CONFIG_USB_DWC3_GADGET),)
	dwc3-y				+= gadget.o ep0.o
endif

ifneq ($(CONFIG_ARCH_OMAP5),)
	obj-$(CONFIG_USB_DWC3)		+= dwc3-omap.o
endif

ifneq ($(CONFIG_PCI),)
	obj-$(CONFIG_USB_DWC3)		+= dwc3-haps.o
endif

ifneq ($(CONFIG_DEBUG_FS),)
	dwc3-y				+= debugfs.o
endif