diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2015-11-21 17:36:31 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2015-11-21 17:36:31 +0000 |
commit | 49dcbf9f437062dd1357c434f0db15846b210452 (patch) | |
tree | f5132b11b60cd36d915b35ced8fd08a70da7c4e5 /package/kernel | |
parent | 9f87a0d352faf8183560581cfbfb15a9c226d65e (diff) | |
download | upstream-49dcbf9f437062dd1357c434f0db15846b210452.tar.gz upstream-49dcbf9f437062dd1357c434f0db15846b210452.tar.bz2 upstream-49dcbf9f437062dd1357c434f0db15846b210452.zip |
kernel: fix build of kmod-dwc2
dwc2_platform.koi is included in dwc2.ko with kernel 4.3.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47550
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/linux/modules/usb.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index 487a17de10..d47c552f5f 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -486,8 +486,10 @@ define KernelPackage/usb-dwc2 CONFIG_USB_DWC2_TRACK_MISSED_SOFS=n \ CONFIG_USB_DWC2_DEBUG_PERIODIC=n FILES:= \ - $(LINUX_DIR)/drivers/usb/dwc2/dwc2.ko \ - $(LINUX_DIR)/drivers/usb/dwc2/dwc2_platform.ko + $(LINUX_DIR)/drivers/usb/dwc2/dwc2.ko + ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/dwc2/dwc2_platform.ko),) + FILES+=$(LINUX_DIR)/drivers/usb/dwc2/dwc2_platform.ko + endif AUTOLOAD:=$(call AutoLoad,54,dwc2 dwc2_platform,1) $(call AddDepends/usb) endef |