kernel: DSA is missing a OF dependend dep for mdio
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 48727
This commit is contained in:
parent
717bbc3550
commit
5d4acd4e92
@ -19,6 +19,9 @@ define KernelPackage/dsa
|
|||||||
CONFIG_NET_SWITCHDEV=y \
|
CONFIG_NET_SWITCHDEV=y \
|
||||||
CONFIG_NET_DSA_HWMON=n
|
CONFIG_NET_DSA_HWMON=n
|
||||||
DEPENDS:=+kmod-libphy
|
DEPENDS:=+kmod-libphy
|
||||||
|
ifeq ($(CONFIG_OF),y)
|
||||||
|
DEPENDS+=+kmod-of-mdio
|
||||||
|
endif
|
||||||
FILES:=$(LINUX_DIR)/net/dsa/dsa_core.ko
|
FILES:=$(LINUX_DIR)/net/dsa/dsa_core.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,34,dsa_core)
|
AUTOLOAD:=$(call AutoLoad,34,dsa_core)
|
||||||
endef
|
endef
|
||||||
|
Loading…
Reference in New Issue
Block a user