On Fri, 26 Aug 2011, Michal Nazarewicz wrote: > On Fri, 26 Aug 2011 20:49:05 +0200, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> > wrote: > > I don't know. Michal, can you look into this? What we want is: > > > > common.o gets included in the main kernel if either CONFIG_USB > > or CONFIG_USB_GADGET is set to Y. > > > > Otherwise, if either symbol is set to M then common.o gets > > built into its own little module. Perhaps some other stuff > > could get put in there too, though at the moment I can't > > think of anything. > > Wouldn't that be accomplished by a tristate Kconfig option selected by > USB and USB_GADGET? Or a tristate that defaults to “y” but depends on > USB or USB_GADGET? Like I said, I don't know. Try it and see. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html