drivers/usb/gadget: select objects by obj-$(CONFIG-...)
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 28 Nov 2013 03:20:14 +0000 (12:20 +0900)
committerTom Rini <trini@ti.com>
Fri, 13 Dec 2013 14:18:44 +0000 (09:18 -0500)
commit4f57a90cfa1872c0142483e426061dca4e3c90c4
treefdf0e35017b73b07077654ba256602201777123b
parent755e08f0e56c014c106b88b8618de2c1987f393b
drivers/usb/gadget: select objects by obj-$(CONFIG-...)

Before switching to the real Kbuild, drivers/usb/gadget/Makefile
must be fixed.
If none of CONFIG_USB_GADGET, CONFIG_USB_ETHER, CONFIG_USB_DEVICE
is defined, both obj- and obj-y get empty.

We need non-empty obj- or obj-y on each Makefile
to generate built-in.o on the real Kbuild.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
drivers/usb/gadget/Makefile