2005-04-16 16:20:36 -06:00
|
|
|
#
|
|
|
|
# Makefile for USB Core files and filesystem
|
|
|
|
#
|
|
|
|
|
2005-11-16 14:41:28 -07:00
|
|
|
usbcore-objs := usb.o hub.o hcd.o urb.o message.o driver.o \
|
2006-06-14 13:14:34 -06:00
|
|
|
config.o file.o buffer.o sysfs.o endpoint.o \
|
2009-04-24 16:16:04 -06:00
|
|
|
devio.o notify.o generic.o quirks.o devices.o
|
2005-04-16 16:20:36 -06:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_PCI),y)
|
|
|
|
usbcore-objs += hcd-pci.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_USB_DEVICEFS),y)
|
2009-04-24 16:16:04 -06:00
|
|
|
usbcore-objs += inode.o
|
2005-04-16 16:20:36 -06:00
|
|
|
endif
|
|
|
|
|
|
|
|
obj-$(CONFIG_USB) += usbcore.o
|
2005-11-17 10:48:09 -07:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_USB_DEBUG),y)
|
|
|
|
EXTRA_CFLAGS += -DDEBUG
|
|
|
|
endif
|