2 # Makefile for the kernel USB device drivers.
7 # The target object and module list name.
11 # Objects that export symbols.
17 list-multi
:= usbcore.o
18 usbcore-objs
:= usb.o usb-debug.o hub.o
20 # Optional parts of multipart objects.
22 ifeq ($(CONFIG_USB_DEVICEFS
),y
)
23 usbcore-objs
+= devio.o inode.o drivers.o devices.o
33 # Each configuration option enables a list of files.
35 obj-
$(CONFIG_USB
) += usbcore.o
36 obj-
$(CONFIG_USB_UHCI
) += usb-uhci.o
37 obj-
$(CONFIG_USB_UHCI_ALT
) += uhci.o
38 obj-
$(CONFIG_USB_OHCI
) += usb-ohci.o
40 obj-
$(CONFIG_USB_MOUSE
) += usbmouse.o
41 obj-
$(CONFIG_USB_HID
) += hid.o
42 obj-
$(CONFIG_USB_KBD
) += usbkbd.o
43 obj-
$(CONFIG_USB_WACOM
) += wacom.o
45 obj-
$(CONFIG_USB_SCANNER
) += scanner.o
46 obj-
$(CONFIG_USB_ACM
) += acm.o
47 obj-
$(CONFIG_USB_PRINTER
) += printer.o
48 obj-
$(CONFIG_USB_AUDIO
) += audio.o
49 obj-
$(CONFIG_USB_IBMCAM
) += ibmcam.o
50 obj-
$(CONFIG_USB_DC2XX
) += dc2xx.o
51 obj-
$(CONFIG_USB_MDC800
) += mdc800.o
52 obj-
$(CONFIG_USB_USS720
) += uss720.o
53 obj-
$(CONFIG_USB_DABUSB
) += dabusb.o
54 obj-
$(CONFIG_USB_PLUSB
) += plusb.o
55 obj-
$(CONFIG_USB_OV511
) += ov511.o
56 obj-
$(CONFIG_USB_PEGASUS
) += pegasus.o
57 obj-
$(CONFIG_USB_RIO500
) += rio500.o
58 obj-
$(CONFIG_USB_DSBR
) += dsbr100.o
59 obj-
$(CONFIG_USB_MICROTEK
) += microtek.o
60 obj-
$(CONFIG_USB_BLUETOOTH
) += bluetooth.o
61 obj-
$(CONFIG_USB_NET1080
) += net1080.o
63 # Object files in subdirectories
65 subdir-
$(CONFIG_USB_SERIAL
) += serial
66 subdir-
$(CONFIG_USB_STORAGE
) += storage
68 ifeq ($(CONFIG_USB_SERIAL
),y
)
69 obj-y
+= serial
/usb-serial.o
72 ifeq ($(CONFIG_USB_STORAGE
),y
)
73 obj-y
+= storage
/storage.o
76 include $(TOPDIR
)/Rules.make
78 # Link rules for multi-part drivers.
80 usbcore.o
: $(usbcore-objs
)
81 $(LD
) -r
-o
$@
$(usbcore-objs
)