kumquat-buildroot/package/mdio-tools/mdio-tools.mk
Robert Marko 8fdf8731e7 package/mdio-tools: new package
mdio-tools are kernel module and accompanying tools for low-level
debugging of devices attached on MDIO bus like PHY-s, switches etc.

Userspace tools provide C22 or C45 reads and writes, benchmarking
and even dedicated Marvell Link Street tools via the included
kernel module.

Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-10-27 11:52:44 +02:00

22 lines
631 B
Makefile

################################################################################
#
# mdio-tools
#
################################################################################
MDIO_TOOLS_VERSION = 1.2.0
MDIO_TOOLS_SITE = https://github.com/wkz/mdio-tools/releases/download/$(MDIO_TOOLS_VERSION)
MDIO_TOOLS_LICENSE = GPL-2.0
MDIO_TOOLS_LICENSE_FILES = COPYING
MDIO_TOOLS_DEPENDENCIES = host-pkgconf libmnl
MDIO_TOOLS_MODULE_SUBDIRS = kernel
define MDIO_TOOLS_LINUX_CONFIG_FIXUPS
$(call KCONFIG_ENABLE_OPT,CONFIG_NET)
$(call KCONFIG_ENABLE_OPT,CONFIG_MDIO_DEVICE)
endef
$(eval $(kernel-module))
$(eval $(autotools-package))