modules: fix usb-gadget build on 3.18

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 44235
lede-17.01
Zoltan Herpai 2015-02-01 09:35:52 +00:00
parent 10c8d8c483
commit b0826467ee
1 changed files with 3 additions and 1 deletions

View File

@ -217,7 +217,9 @@ $(eval $(call KernelPackage,usb-phy-twl6030))
define KernelPackage/usb-gadget define KernelPackage/usb-gadget
TITLE:=USB Gadget support TITLE:=USB Gadget support
KCONFIG:=CONFIG_USB_GADGET KCONFIG:=CONFIG_USB_GADGET
FILES:=$(LINUX_DIR)/drivers/usb/gadget/udc-core.ko FILES:=\
$(LINUX_DIR)/drivers/usb/gadget/udc-core.ko@lt3.18 \
$(LINUX_DIR)/drivers/usb/gadget/udc/udc-core.ko@ge3.18
AUTOLOAD:=$(call AutoLoad,45,udc-core) AUTOLOAD:=$(call AutoLoad,45,udc-core)
DEPENDS:=@USB_GADGET_SUPPORT DEPENDS:=@USB_GADGET_SUPPORT
$(call AddDepends/usb) $(call AddDepends/usb)