]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/usb/chipidea/Makefile
usb: chipidea: split the driver code into units
[karo-tx-linux.git] / drivers / usb / chipidea / Makefile
index e56bedbf9da247f5ea083c98767289cc7640802c..a8279aac6a4a32e4f35652de5696fa7aaadf38c6 100644 (file)
@@ -1,6 +1,8 @@
 obj-$(CONFIG_USB_CHIPIDEA)             += ci_hdrc.o
 
-ci_hdrc-y                              := ci13xxx_udc.o
+ci_hdrc-y                              := core.o
+ci_hdrc-$(CONFIG_USB_CHIPIDEA_UDC)     += udc.o
+ci_hdrc-$(CONFIG_USB_CHIPIDEA_DEBUG)   += debug.o
 
 ifneq ($(CONFIG_PCI),)
        obj-$(CONFIG_USB_CHIPIDEA)      += ci13xxx_pci.o