Otherwise it will fail as follows:
failed to find a module named mdio-netlink
ERROR: mdio-netlink module not detected, and could not be loaded.
Run-tested on: ramips/mt7621
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
include $(TOPDIR)/rules.mk
PKG_NAME:=mdio-tools
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE_URL:=https://github.com/wkz/mdio-tools
PKG_SOURCE_PROTO:=git
CATEGORY:=Utilities
TITLE:=mdio-tools Linux MDIO register access
URL:=https://github.com/wkz/mdio-tools.git
- DEPENDS:=+libmnl
+ DEPENDS:=+kmod-mdio-netlink +libmnl
endef
define Package/mdio-tools/description