mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-07 11:30:37 +00:00
kernel: Make kmod-phylink depend on kmod-libphy
The CONFIG_PHYLINK Kconfig option in the kernel selects CONFIG_LIBPHY. Add this dependency to fix the all kernel modules build on MIPS malta and armvirt with kernel 6.1. With kernel 5.15 mod-phylink and kmod-sfp are empty packages because no OpenWrt kmod is selecting a module which needs sfp or phylink support. Fixes: #12758 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
fd572feef8
commit
3c55d8698a
@ -111,6 +111,7 @@ $(eval $(call KernelPackage,libphy))
|
|||||||
define KernelPackage/phylink
|
define KernelPackage/phylink
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
TITLE:=Model for MAC to optional PHY connection
|
TITLE:=Model for MAC to optional PHY connection
|
||||||
|
DEPENDS:=+kmod-libphy
|
||||||
KCONFIG:=CONFIG_PHYLINK
|
KCONFIG:=CONFIG_PHYLINK
|
||||||
FILES:=$(LINUX_DIR)/drivers/net/phy/phylink.ko
|
FILES:=$(LINUX_DIR)/drivers/net/phy/phylink.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,15,phylink,1)
|
AUTOLOAD:=$(call AutoLoad,15,phylink,1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user