Skip to content

Commit 4661ffc

Browse files
Felipe Balbigregkh
authored andcommitted
usb: don't enter usb subdirectories directly
Instead, make we enter usb/ directory on all needed cases and enter the subdirectories from drivers/usb/Makefile. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 3ab810f commit 4661ffc

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

‎drivers/Makefile‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,10 @@ obj-$(CONFIG_ATA_OVER_ETH) += block/aoe/
6464
obj-$(CONFIG_PARIDE) += block/paride/
6565
obj-$(CONFIG_TC) += tc/
6666
obj-$(CONFIG_UWB) += uwb/
67-
obj-$(CONFIG_USB_OTG_UTILS) += usb/otg/
67+
obj-$(CONFIG_USB_OTG_UTILS) += usb/
6868
obj-$(CONFIG_USB) += usb/
69-
obj-$(CONFIG_USB_MUSB_HDRC) += usb/musb/
70-
obj-$(CONFIG_USB_RENESAS_USBHS) += usb/renesas_usbhs/
7169
obj-$(CONFIG_PCI) += usb/
72-
obj-$(CONFIG_USB_GADGET) += usb/gadget/
70+
obj-$(CONFIG_USB_GADGET) += usb/
7371
obj-$(CONFIG_SERIO) += input/serio/
7472
obj-$(CONFIG_GAMEPORT) += input/gameport/
7573
obj-$(CONFIG_INPUT) += input/

‎drivers/usb/Makefile‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,8 @@ obj-$(CONFIG_EARLY_PRINTK_DBGP) += early/
4545

4646
obj-$(CONFIG_USB_ATM) += atm/
4747
obj-$(CONFIG_USB_SPEEDTOUCH) += atm/
48+
49+
obj-$(CONFIG_USB_MUSB_HDRC) += musb/
50+
obj-$(CONFIG_USB_RENESAS_USBHS) += renesas_usbhs/
51+
obj-$(CONFIG_USB_OTG_UTILS) += otg/
52+
obj-$(CONFIG_USB_GADGET) += gadget/

0 commit comments

Comments
 (0)