mdio-tools: add recipes

Self-description from the README: mdio-tools is a low-level debug tool
for communicating with devices attached to an MDIO bus.

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Enguerrand de Ribaucourt 2022-08-22 05:44:31 +00:00 committed by Khem Raj
parent 8403930ab4
commit 821e2e0cdf
3 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,13 @@
require mdio-tools.inc
DEPENDS += "virtual/kernel libmnl"
# This module requires Linux 5.6 higher
S = "${WORKDIR}/git/kernel"
inherit module
EXTRA_OEMAKE = "KDIR=${STAGING_KERNEL_DIR}"
MODULES_INSTALL_TARGET = "install"
RPROVIDES:${PN} += "kernel-module-mdio-netlink"

View File

@ -0,0 +1,9 @@
DESCRIPTION = "A low-level debug tool for communicating with devices attached to an MDIO bus"
SECTION = "networking"
HOMEPAGE = "https://github.com/wkz/mdio-tools"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
SRC_URI = "git://github.com/wkz/mdio-tools.git;protocol=https;branch=master"
SRCREV = "07cbff2d5e2de05037e5e7edd5044d678394c8d1"
PV = "1.1.1"

View File

@ -0,0 +1,9 @@
require mdio-tools.inc
DEPENDS += "libmnl"
S = "${WORKDIR}/git"
inherit pkgconfig autotools
RDEPENDS:${PN} = "kernel-module-mdio-netlink"