blob: b6078706fb939d7f1d3aeb9466f6498f8857f366 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for USB Core files and filesystem
3#
4
Greg Kroah-Hartmanddae41b2005-11-16 13:41:28 -08005usbcore-objs := usb.o hub.o hcd.o urb.o message.o driver.o \
Greg Kroah-Hartman84412f62006-06-14 12:14:34 -07006 config.o file.o buffer.o sysfs.o endpoint.o \
Oliver Neukum7ceec1f2007-01-26 14:26:21 +01007 devio.o notify.o generic.o quirks.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07008
9ifeq ($(CONFIG_PCI),y)
10 usbcore-objs += hcd-pci.o
11endif
12
13ifeq ($(CONFIG_USB_DEVICEFS),y)
Kay Sieversfbf82fd2005-07-31 01:05:53 +020014 usbcore-objs += inode.o devices.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070015endif
16
17obj-$(CONFIG_USB) += usbcore.o
Greg Kroah-Hartman654f3112005-11-17 09:48:09 -080018
19ifeq ($(CONFIG_USB_DEBUG),y)
20EXTRA_CFLAGS += -DDEBUG
21endif