aboutsummaryrefslogblamecommitdiffstats
path: root/drivers/usb/chipidea/Makefile
blob: a99d980454a6073cf35a88b429c4d98bfdc030b5 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                               

                                                    
                                                       
                                                
                                                 
                                                  
 

                            
                                                

                                          
                      
                                                        

     
                     
                                                                      
     
ccflags-$(CONFIG_USB_CHIPIDEA_DEBUG) := -DDEBUG

obj-$(CONFIG_USB_CHIPIDEA)		+= ci_hdrc.o

ci_hdrc-y				:= core.o otg.o
ci_hdrc-$(CONFIG_USB_CHIPIDEA_UDC)	+= udc.o
ci_hdrc-$(CONFIG_USB_CHIPIDEA_HOST)	+= host.o
ci_hdrc-$(CONFIG_USB_CHIPIDEA_DEBUG)	+= debug.o

# Glue/Bridge layers go here

obj-$(CONFIG_USB_CHIPIDEA)	+= ci_hdrc_msm.o

# PCI doesn't provide stubs, need to check
ifneq ($(CONFIG_PCI),)
	obj-$(CONFIG_USB_CHIPIDEA)	+= ci_hdrc_pci.o
endif

ifneq ($(CONFIG_OF),)
	obj-$(CONFIG_USB_CHIPIDEA)	+= ci_hdrc_imx.o usbmisc_imx.o
endif