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