diff options
Diffstat (limited to 'drivers/usb/gadget/Makefile')
-rw-r--r-- | drivers/usb/gadget/Makefile | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile index fcb5cb9094d9..2267fa0b51b2 100644 --- a/drivers/usb/gadget/Makefile +++ b/drivers/usb/gadget/Makefile | |||
@@ -22,24 +22,15 @@ obj-$(CONFIG_USB_M66592) += m66592-udc.o | |||
22 | # | 22 | # |
23 | # USB gadget drivers | 23 | # USB gadget drivers |
24 | # | 24 | # |
25 | C_UTILS = composite.o usbstring.o config.o epautoconf.o | 25 | g_zero-objs := zero.o |
26 | 26 | g_ether-objs := ether.o | |
27 | g_zero-objs := zero.o f_sourcesink.o f_loopback.o $(C_UTILS) | 27 | g_serial-objs := serial.o |
28 | g_ether-objs := ether.o u_ether.o f_subset.o f_ecm.o $(C_UTILS) | 28 | g_midi-objs := gmidi.o |
29 | g_serial-objs := serial.o u_serial.o f_acm.o f_serial.o $(C_UTILS) | ||
30 | g_midi-objs := gmidi.o usbstring.o config.o epautoconf.o | ||
31 | gadgetfs-objs := inode.o | 29 | gadgetfs-objs := inode.o |
32 | g_file_storage-objs := file_storage.o usbstring.o config.o \ | 30 | g_file_storage-objs := file_storage.o |
33 | epautoconf.o | 31 | g_printer-objs := printer.o |
34 | g_printer-objs := printer.o usbstring.o config.o \ | 32 | g_cdc-objs := cdc2.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) | ||
38 | 33 | ||
39 | ifeq ($(CONFIG_USB_ETH_RNDIS),y) | ||
40 | g_ether-objs += f_rndis.o rndis.o | ||
41 | endif | ||
42 | |||
43 | obj-$(CONFIG_USB_ZERO) += g_zero.o | 34 | obj-$(CONFIG_USB_ZERO) += g_zero.o |
44 | obj-$(CONFIG_USB_ETH) += g_ether.o | 35 | obj-$(CONFIG_USB_ETH) += g_ether.o |
45 | obj-$(CONFIG_USB_GADGETFS) += gadgetfs.o | 36 | obj-$(CONFIG_USB_GADGETFS) += gadgetfs.o |