21 lines
387 B
Makefile
21 lines
387 B
Makefile
#
|
|
# Makefile for USB Core files and filesystem
|
|
#
|
|
|
|
usbcore-objs := usb.o hub.o hcd.o urb.o message.o driver.o \
|
|
config.o file.o buffer.o sysfs.o devio.o notify.o
|
|
|
|
ifeq ($(CONFIG_PCI),y)
|
|
usbcore-objs += hcd-pci.o
|
|
endif
|
|
|
|
ifeq ($(CONFIG_USB_DEVICEFS),y)
|
|
usbcore-objs += inode.o devices.o
|
|
endif
|
|
|
|
obj-$(CONFIG_USB) += usbcore.o
|
|
|
|
ifeq ($(CONFIG_USB_DEBUG),y)
|
|
EXTRA_CFLAGS += -DDEBUG
|
|
endif
|