1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for USB Core files and filesystem 4# 5 6usbcore-y := usb.o hub.o hcd.o urb.o message.o driver.o 7usbcore-y += config.o file.o buffer.o sysfs.o endpoint.o 8usbcore-y += devio.o notify.o generic.o quirks.o devices.o 9usbcore-y += phy.o port.o 10 11usbcore-$(CONFIG_OF) += of.o 12usbcore-$(CONFIG_USB_PCI) += hcd-pci.o 13usbcore-$(CONFIG_ACPI) += usb-acpi.o 14 15ifdef CONFIG_USB_ONBOARD_DEV 16usbcore-y += ../misc/onboard_usb_dev_pdevs.o 17endif 18 19obj-$(CONFIG_USB) += usbcore.o 20 21obj-$(CONFIG_USB_LEDS_TRIGGER_USBPORT) += ledtrig-usbport.o 22