Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for USB Core files and filesystem |
| 3 | # |
| 4 | |
Greg Kroah-Hartman | ddae41b | 2005-11-16 13:41:28 -0800 | [diff] [blame] | 5 | usbcore-objs := usb.o hub.o hcd.o urb.o message.o driver.o \ |
Greg Kroah-Hartman | 84412f6 | 2006-06-14 12:14:34 -0700 | [diff] [blame] | 6 | config.o file.o buffer.o sysfs.o endpoint.o \ |
Oliver Neukum | 7ceec1f | 2007-01-26 14:26:21 +0100 | [diff] [blame] | 7 | devio.o notify.o generic.o quirks.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | |
| 9 | ifeq ($(CONFIG_PCI),y) |
| 10 | usbcore-objs += hcd-pci.o |
| 11 | endif |
| 12 | |
| 13 | ifeq ($(CONFIG_USB_DEVICEFS),y) |
Kay Sievers | fbf82fd | 2005-07-31 01:05:53 +0200 | [diff] [blame] | 14 | usbcore-objs += inode.o devices.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | endif |
| 16 | |
| 17 | obj-$(CONFIG_USB) += usbcore.o |
Greg Kroah-Hartman | 654f311 | 2005-11-17 09:48:09 -0800 | [diff] [blame] | 18 | |
| 19 | ifeq ($(CONFIG_USB_DEBUG),y) |
| 20 | EXTRA_CFLAGS += -DDEBUG |
| 21 | endif |