summaryrefslogtreecommitdiffstats
path: root/drivers/usb/common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/common/Makefile')
-rw-r--r--drivers/usb/common/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/usb/common/Makefile b/drivers/usb/common/Makefile
index 752646167e1..ca2f8bd0e43 100644
--- a/drivers/usb/common/Makefile
+++ b/drivers/usb/common/Makefile
@@ -2,5 +2,8 @@
# Makefile for the usb common parts.
#
-obj-$(CONFIG_USB_COMMON) += usb-common.o
+obj-$(CONFIG_USB_COMMON) += usb-common.o
+usb-common-y += common.o
+usb-common-$(CONFIG_USB_LED_TRIG) += led.o
+
obj-$(CONFIG_USB_OTG_FSM) += usb-otg-fsm.o