Makefile 422 B

123456789101112131415161718192021
  1. #
  2. # Makefile for USB Core files and filesystem
  3. #
  4. usbcore-objs := usb.o hub.o hcd.o urb.o message.o driver.o \
  5. config.o file.o buffer.o sysfs.o endpoint.o \
  6. devio.o notify.o generic.o quirks.o
  7. ifeq ($(CONFIG_PCI),y)
  8. usbcore-objs += hcd-pci.o
  9. endif
  10. ifeq ($(CONFIG_USB_DEVICEFS),y)
  11. usbcore-objs += inode.o devices.o
  12. endif
  13. obj-$(CONFIG_USB) += usbcore.o
  14. ifeq ($(CONFIG_USB_DEBUG),y)
  15. EXTRA_CFLAGS += -DDEBUG
  16. endif