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