mirror of https://github.com/hak5/openwrt-owl.git
kernel: fix kernel build for chipidea w/o usb-gadget
This resolves a module dependency kernel regression in r40905 with the usb-chipidea module if usb-gadget was not selected. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 40992owl
parent
cdd9e952e5
commit
6fe4cc42d2
|
@ -1373,10 +1373,10 @@ ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),lt,3.11.0)),1)
|
||||||
else
|
else
|
||||||
FILES:=\
|
FILES:=\
|
||||||
$(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko \
|
$(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko \
|
||||||
$(if $(CONFIG_OF),$(LINUX_DIR)/drivers/usb/gadget/udc-core.ko) \
|
$(if $(CONFIG_USB_GADGET),$(LINUX_DIR)/drivers/usb/gadget/udc-core.ko) \
|
||||||
$(if $(CONFIG_OF),$(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc_imx.ko) \
|
$(if $(CONFIG_OF),$(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc_imx.ko) \
|
||||||
$(if $(CONFIG_OF),$(LINUX_DIR)/drivers/usb/chipidea/usbmisc_imx.ko)
|
$(if $(CONFIG_OF),$(LINUX_DIR)/drivers/usb/chipidea/usbmisc_imx.ko)
|
||||||
AUTOLOAD:=$(call AutoLoad,51,ci_hdrc $(if $(CONFIG_OF),ci_hdrc_imx usbmisc_imxudc-core),1)
|
AUTOLOAD:=$(call AutoLoad,51,ci_hdrc $(if $(CONFIG_OF),ci_hdrc_imx usbmisc_imx),1)
|
||||||
endif
|
endif
|
||||||
$(call AddDepends/usb)
|
$(call AddDepends/usb)
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in New Issue