Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for USB Core files and filesystem
4#
5
6# define_trace.h needs to know how to find our header
7CFLAGS_trace.o := -I$(src)
8
9usbcore-y := usb.o hub.o hcd.o urb.o message.o driver.o
10usbcore-y += config.o file.o buffer.o sysfs.o endpoint.o
11usbcore-y += devio.o notify.o generic.o quirks.o devices.o
12usbcore-y += phy.o port.o trace.o
13
14usbcore-$(CONFIG_OF) += of.o
15usbcore-$(CONFIG_USB_XHCI_SIDEBAND) += offload.o
16usbcore-$(CONFIG_USB_PCI) += hcd-pci.o
17usbcore-$(CONFIG_ACPI) += usb-acpi.o
18
19ifdef CONFIG_USB_ONBOARD_DEV
20usbcore-y += ../misc/onboard_usb_dev_pdevs.o
21endif
22
23obj-$(CONFIG_USB) += usbcore.o
24
25obj-$(CONFIG_USB_LEDS_TRIGGER_USBPORT) += ledtrig-usbport.o