36e56a3458
This revised patch (as713b) moves a few routines among source files in usbcore. Some driver-related code in usb.c (claiming interfaces and matching IDs) is moved to driver.c, where it belongs. Also the usb_generic stuff in driver.c is moved to a new source file: generic.c. (That's the reason for revising the patch.) Although not very big now, it will get bigger in a later patch. None of the code has been changed; it has only been re-arranged. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
22 lines
413 B
Makefile
22 lines
413 B
Makefile
#
|
|
# Makefile for USB Core files and filesystem
|
|
#
|
|
|
|
usbcore-objs := usb.o hub.o hcd.o urb.o message.o driver.o \
|
|
config.o file.o buffer.o sysfs.o endpoint.o \
|
|
devio.o notify.o generic.o
|
|
|
|
ifeq ($(CONFIG_PCI),y)
|
|
usbcore-objs += hcd-pci.o
|
|
endif
|
|
|
|
ifeq ($(CONFIG_USB_DEVICEFS),y)
|
|
usbcore-objs += inode.o devices.o
|
|
endif
|
|
|
|
obj-$(CONFIG_USB) += usbcore.o
|
|
|
|
ifeq ($(CONFIG_USB_DEBUG),y)
|
|
EXTRA_CFLAGS += -DDEBUG
|
|
endif
|