summaryrefslogtreecommitdiffstats
path: root/drivers/usb/roles/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/roles/Makefile')
-rw-r--r--drivers/usb/roles/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/roles/Makefile b/drivers/usb/roles/Makefile
new file mode 100644
index 0000000000..757a7d2797
--- /dev/null
+++ b/drivers/usb/roles/Makefile
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0
+
+obj-$(CONFIG_USB_ROLE_SWITCH) += roles.o
+roles-y := class.o
+obj-$(CONFIG_USB_ROLES_INTEL_XHCI) += intel-xhci-usb-role-switch.o