xref: /linux/drivers/usb/core/Makefile (revision 36ec807b627b4c0a0a382f0ae48eac7187d14b2b)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Makefile for USB Core files and filesystem
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
60a2b8a0dSmatt mooneyusbcore-y := usb.o hub.o hcd.o urb.o message.o driver.o
70a2b8a0dSmatt mooneyusbcore-y += config.o file.o buffer.o sysfs.o endpoint.o
80a2b8a0dSmatt mooneyusbcore-y += devio.o notify.o generic.o quirks.o devices.o
907dbff0dSMartin Blumenstinglusbcore-y += phy.o port.o
101da177e4SLinus Torvalds
110573f2c5SPeter Chenusbcore-$(CONFIG_OF)		+= of.o
122c93e790Syuan linyuusbcore-$(CONFIG_USB_PCI)		+= hcd-pci.o
13da0af6e7SMatthew Garrettusbcore-$(CONFIG_ACPI)		+= usb-acpi.o
141da177e4SLinus Torvalds
15*31e7f6c0SJavier Carrascoifdef CONFIG_USB_ONBOARD_DEV
16*31e7f6c0SJavier Carrascousbcore-y			+= ../misc/onboard_usb_dev_pdevs.o
178bc06364SMatthias Kaehlckeendif
188bc06364SMatthias Kaehlcke
191da177e4SLinus Torvaldsobj-$(CONFIG_USB)		+= usbcore.o
200f247626SRafał Miłecki
210f247626SRafał Miłeckiobj-$(CONFIG_USB_LEDS_TRIGGER_USBPORT)	+= ledtrig-usbport.o
22