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 | 3099e75 | 2005-06-20 21:15:16 -0700 | [diff] [blame] | 6 | config.o file.o buffer.o sysfs.o devio.o notify.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | |
| 8 | ifeq ($(CONFIG_PCI),y) |
| 9 | usbcore-objs += hcd-pci.o |
| 10 | endif |
| 11 | |
| 12 | ifeq ($(CONFIG_USB_DEVICEFS),y) |
Kay Sievers | fbf82fd | 2005-07-31 01:05:53 +0200 | [diff] [blame] | 13 | usbcore-objs += inode.o devices.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | endif |
| 15 | |
| 16 | obj-$(CONFIG_USB) += usbcore.o |
Greg Kroah-Hartman | 654f311 | 2005-11-17 09:48:09 -0800 | [diff] [blame] | 17 | |
| 18 | ifeq ($(CONFIG_USB_DEBUG),y) |
| 19 | EXTRA_CFLAGS += -DDEBUG |
| 20 | endif |