Fix makefile so that CONFIG_WDM and CONFIG_TMC work.
PATCH 1/1 Fix makefile so that CONFIG_WDM and CONFIG_TMC work.
From: Andy Lutomirski <[email protected]>
If CONFIG_USB_ACM and CONFIG_USB_PRINTER are not set, then cdc-wdm and usbtmc won't get built.
Signed-off-by Andy Lutomirski <[email protected]>
---
I hit this on a custom kernel for an embedded system with a TMC device.
drivers/usb/Makefile +2 -0
@@ -26,6 +26,8 @@ obj-$(CONFIG_USB_WUSB) += wusbcore/ obj-$(CONFIG_USB_ACM) += class/ obj-$(CONFIG_USB_PRINTER) += class/ +obj-$(CONFIG_USB_WDM) += class/ +obj-$(CONFIG_USB_TMC) += class/ obj-$(CONFIG_USB_STORAGE) += storage/ obj-$(CONFIG_USB) += storage/