packages/net/mdio-tools/Makefile
Robert Marko ddf1bccc76 mdio-tools: update to 1.2.0
Update the mdio-netlink kmod and userspace mdio-tools to version 1.2.0.
This allows dropping the time64 musl patch which was upstreamed.

[v1.2.0] - 2022-09-15
---------------------

- mdio: A new addressing mode "mmd-c22": Used to access MMDs attached
  to MDIO controllers without Clause 45 support by using registers 13
  and 14 in the device's Clause 22 register space
- mdio: Pretty print gigabit link capability information from a PHY's
  extended status register
- mdio: Pretty print lots of status information from MMDs (C45 PHYs)
- mvls: Decode priority override information of ATU entries

- mvls: Table listings now always prints out the device information,
  even on single chip systems.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2022-09-19 19:50:16 +02:00

43 lines
1 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=mdio-tools
PKG_RELEASE:=1
PKG_SOURCE_URL:=https://github.com/wkz/mdio-tools
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=1.2.0
PKG_MIRROR_HASH:=396fd48662e0f4182b9c9db6e34d71dafd9e557d5021e8dc28edfc99d6ebc387
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))