Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Makefile for USB Core files and filesystem | |
3 | # | |
4 | ||
5 | usbcore-objs := usb.o hub.o hcd.o urb.o message.o driver.o \ | |
6 | config.o file.o buffer.o sysfs.o endpoint.o \ | |
7 | devio.o notify.o generic.o quirks.o | |
8 | ||
9 | ifeq ($(CONFIG_PCI),y) | |
10 | usbcore-objs += hcd-pci.o | |
11 | endif | |
12 | ||
13 | ifeq ($(CONFIG_USB_DEVICEFS),y) | |
14 | usbcore-objs += inode.o devices.o | |
15 | endif | |
16 | ||
17 | obj-$(CONFIG_USB) += usbcore.o | |
18 | ||
19 | ifeq ($(CONFIG_USB_DEBUG),y) | |
20 | EXTRA_CFLAGS += -DDEBUG | |
21 | endif |