diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2012-09-06 20:11:09 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-09-10 14:36:04 +0200 |
commit | a84d9e5361bcfbff1c84481bd9c04fc58a56d83b (patch) | |
tree | d84989410bb1e1b2a32cf9e7b782053ce9c1c4ad /drivers/usb/gadget/Makefile | |
parent | usb: gadget: pxa25x: make it compile with debug again (diff) | |
download | linux-a84d9e5361bcfbff1c84481bd9c04fc58a56d83b.tar.xz linux-a84d9e5361bcfbff1c84481bd9c04fc58a56d83b.zip |
usb: gadget: start with libcomposite
This patch aims to be simple. It removes #include usbstribgs.c line from each
gadget and creates libcomposite.ko which has only one member, that is
usbstribgs.c.
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/Makefile')
-rw-r--r-- | drivers/usb/gadget/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile index d84f92325a74..eadbc86333f6 100644 --- a/drivers/usb/gadget/Makefile +++ b/drivers/usb/gadget/Makefile @@ -4,6 +4,8 @@ ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG obj-$(CONFIG_USB_GADGET) += udc-core.o +obj-$(CONFIG_USB_LIBCOMPOSITE) += libcomposite.o +libcomposite-y := usbstring.o obj-$(CONFIG_USB_DUMMY_HCD) += dummy_hcd.o obj-$(CONFIG_USB_NET2272) += net2272.o obj-$(CONFIG_USB_NET2280) += net2280.o |