2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
# Makefile for USB Core files and filesystem
|
|
|
|
#
|
|
|
|
|
|
|
|
usbcore-objs := usb.o hub.o hcd.o urb.o message.o \
|
2005-06-21 12:15:16 +08:00
|
|
|
config.o file.o buffer.o sysfs.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
|