1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for USB Core files and filesystem
6 usbcore-y := usb.o hub.o hcd.o urb.o message.o driver.o
7 usbcore-y += config.o file.o buffer.o sysfs.o endpoint.o
8 usbcore-y += devio.o notify.o generic.o quirks.o devices.o
9 usbcore-y += phy.o port.o
11 usbcore-$(CONFIG_OF) += of.o
12 usbcore-$(CONFIG_USB_PCI) += hcd-pci.o
13 usbcore-$(CONFIG_ACPI) += usb-acpi.o
15 obj-$(CONFIG_USB) += usbcore.o
17 obj-$(CONFIG_USB_LEDS_TRIGGER_USBPORT) += ledtrig-usbport.o