mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
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
This commit is contained in:
parent
9f87a0d352
commit
49dcbf9f43
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user