diff options
Diffstat (limited to 'drivers/usb/gadget/Makefile')
-rw-r--r-- | drivers/usb/gadget/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile index e258afd25faf..fcb5cb9094d9 100644 --- a/drivers/usb/gadget/Makefile +++ b/drivers/usb/gadget/Makefile | |||
@@ -22,18 +22,22 @@ obj-$(CONFIG_USB_M66592) += m66592-udc.o | |||
22 | # | 22 | # |
23 | # USB gadget drivers | 23 | # USB gadget drivers |
24 | # | 24 | # |
25 | g_zero-objs := zero.o usbstring.o config.o epautoconf.o | 25 | C_UTILS = composite.o usbstring.o config.o epautoconf.o |
26 | g_ether-objs := ether.o usbstring.o config.o epautoconf.o | 26 | |
27 | g_serial-objs := serial.o usbstring.o config.o epautoconf.o | 27 | g_zero-objs := zero.o f_sourcesink.o f_loopback.o $(C_UTILS) |
28 | g_ether-objs := ether.o u_ether.o f_subset.o f_ecm.o $(C_UTILS) | ||
29 | g_serial-objs := serial.o u_serial.o f_acm.o f_serial.o $(C_UTILS) | ||
28 | g_midi-objs := gmidi.o usbstring.o config.o epautoconf.o | 30 | g_midi-objs := gmidi.o usbstring.o config.o epautoconf.o |
29 | gadgetfs-objs := inode.o | 31 | gadgetfs-objs := inode.o |
30 | g_file_storage-objs := file_storage.o usbstring.o config.o \ | 32 | g_file_storage-objs := file_storage.o usbstring.o config.o \ |
31 | epautoconf.o | 33 | epautoconf.o |
32 | g_printer-objs := printer.o usbstring.o config.o \ | 34 | g_printer-objs := printer.o usbstring.o config.o \ |
33 | epautoconf.o | 35 | epautoconf.o |
36 | g_cdc-objs := cdc2.o u_ether.o f_ecm.o \ | ||
37 | u_serial.o f_acm.o $(C_UTILS) | ||
34 | 38 | ||
35 | ifeq ($(CONFIG_USB_ETH_RNDIS),y) | 39 | ifeq ($(CONFIG_USB_ETH_RNDIS),y) |
36 | g_ether-objs += rndis.o | 40 | g_ether-objs += f_rndis.o rndis.o |
37 | endif | 41 | endif |
38 | 42 | ||
39 | obj-$(CONFIG_USB_ZERO) += g_zero.o | 43 | obj-$(CONFIG_USB_ZERO) += g_zero.o |
@@ -43,4 +47,5 @@ obj-$(CONFIG_USB_FILE_STORAGE) += g_file_storage.o | |||
43 | obj-$(CONFIG_USB_G_SERIAL) += g_serial.o | 47 | obj-$(CONFIG_USB_G_SERIAL) += g_serial.o |
44 | obj-$(CONFIG_USB_G_PRINTER) += g_printer.o | 48 | obj-$(CONFIG_USB_G_PRINTER) += g_printer.o |
45 | obj-$(CONFIG_USB_MIDI_GADGET) += g_midi.o | 49 | obj-$(CONFIG_USB_MIDI_GADGET) += g_midi.o |
50 | obj-$(CONFIG_USB_CDC_COMPOSITE) += g_cdc.o | ||
46 | 51 | ||