Skip to contentSkip to conversation

Fix makefile so that CONFIG_WDM and CONFIG_TMC work.

PATCH New Andrew Lutomirski 1 participant 1 message Apr 28, 2009 USB

lore
Share & tools
lore
#0 lore raw

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.

---

I hit this on a custom kernel for an embedded system with a TMC device.

drivers/usb/Makefile +2 -0
index b2ceb4a..09b6783 100644
@@ -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/