summaryrefslogtreecommitdiff
path: root/target/linux/bcm53xx
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-12-29 17:15:32 +0100
committerRafał Miłecki <rafal@milecki.pl>2017-12-29 17:25:51 +0100
commit6e922a075654a770b8a1cf5e654b266c52912516 (patch)
tree6530ee3e849a3159b7c028044a9ce1e458c6c556 /target/linux/bcm53xx
parent302aa793c0c5cddad016c61c70e01cbec52516be (diff)
downloadmtk-20170518-6e922a075654a770b8a1cf5e654b266c52912516.zip
mtk-20170518-6e922a075654a770b8a1cf5e654b266c52912516.tar.gz
mtk-20170518-6e922a075654a770b8a1cf5e654b266c52912516.tar.bz2
bcm53xx: make USB packages compatible with kernels 4.13+
In kernels 4.13+ modules are located in an extra "broadcom" subdir. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/bcm53xx')
-rw-r--r--target/linux/bcm53xx/modules.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/bcm53xx/modules.mk b/target/linux/bcm53xx/modules.mk
index ad799b8..2a3149b 100644
--- a/target/linux/bcm53xx/modules.mk
+++ b/target/linux/bcm53xx/modules.mk
@@ -9,7 +9,9 @@ define KernelPackage/phy-bcm-ns-usb2
KCONFIG:=CONFIG_PHY_BCM_NS_USB2
DEPENDS:=@TARGET_bcm53xx
SUBMENU:=$(USB_MENU)
- FILES:=$(LINUX_DIR)/drivers/phy/phy-bcm-ns-usb2.ko
+ FILES:=\
+ $(LINUX_DIR)/drivers/phy/phy-bcm-ns-usb2.ko@lt4.13 \
+ $(LINUX_DIR)/drivers/phy/broadcom/phy-bcm-ns-usb2.ko@gt4.13
AUTOLOAD:=$(call AutoLoad,45,phy-bcm-ns-usb2,1)
endef
@@ -25,7 +27,9 @@ define KernelPackage/phy-bcm-ns-usb3
KCONFIG:=CONFIG_PHY_BCM_NS_USB3
DEPENDS:=@TARGET_bcm53xx
SUBMENU:=$(USB_MENU)
- FILES:=$(LINUX_DIR)/drivers/phy/phy-bcm-ns-usb3.ko
+ FILES:=\
+ $(LINUX_DIR)/drivers/phy/phy-bcm-ns-usb3.ko@lt4.13 \
+ $(LINUX_DIR)/drivers/phy/broadcom/phy-bcm-ns-usb3.ko@ge4.13
AUTOLOAD:=$(call AutoLoad,45,phy-bcm-ns-usb3,1)
endef