mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
9d59ce08a1
Update the mdio-netlink kmod and userspace mdio-tools to version 1.3.2. [v1.3.2] - 2026-04-14 --------------------- Build fixes and support for Microchip's paged PHYs. Added: - mdio: A new addressing mode "mscc": Used to access PHYs from Microchip that uses C22 register 31 as a page register Fixed: - mdio: Fix VPATH builds and various other build related warnings Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=mdio-tools
|
|
PKG_VERSION:=1.3.2
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_URL:=https://github.com/wkz/mdio-tools
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_VERSION:=a1fca6b8fb3b5a95ebb28324a95673488dddc005
|
|
PKG_MIRROR_HASH:=da219b19a42db0e8f559c33a1dcd3e31a854ed907518b3ffa8f89a09152a9da6
|
|
|
|
PKG_FIXUP:=autoreconf
|
|
|
|
PKG_LICENSE:=GPL-2.0-only
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
PKG_MAINTAINER:=Damien Mascord <tusker@tusker.org>
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/mdio-tools
|
|
SECTION:=net
|
|
CATEGORY:=Utilities
|
|
TITLE:=mdio-tools Linux MDIO register access
|
|
URL:=https://github.com/wkz/mdio-tools.git
|
|
DEPENDS:=+kmod-mdio-netlink +libmnl
|
|
endef
|
|
|
|
define Package/mdio-tools/description
|
|
mdio-tools Linux MDIO register access
|
|
endef
|
|
|
|
define Package/mdio-tools/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mdio/mdio $(1)/usr/bin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mvls/mvls $(1)/usr/bin/
|
|
endef
|
|
|
|
define Build/Prepare
|
|
$(call Build/Prepare/Default)
|
|
$(SED) 's/m4_esyscmd_s(.*)/$(PKG_VERSION)/' $(PKG_BUILD_DIR)/configure.ac
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,mdio-tools))
|