summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorEnguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>2022-08-22 05:44:31 +0000
committerKhem Raj <raj.khem@gmail.com>2022-08-22 08:57:20 -0700
commit821e2e0cdf582c5079170a90dff4358fa2cac103 (patch)
tree2f0fab0767fce3621205a781c7962da690e84bf1 /meta-networking
parent8403930ab43bc56829496180d28d74d07a14d912 (diff)
downloadmeta-openembedded-821e2e0cdf582c5079170a90dff4358fa2cac103.tar.gz
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>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-support/mdio-tools/mdio-netlink_git.bb13
-rw-r--r--meta-networking/recipes-support/mdio-tools/mdio-tools.inc9
-rw-r--r--meta-networking/recipes-support/mdio-tools/mdio-tools_git.bb9
3 files changed, 31 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/mdio-tools/mdio-netlink_git.bb b/meta-networking/recipes-support/mdio-tools/mdio-netlink_git.bb
new file mode 100644
index 0000000000..b50d33f908
--- /dev/null
+++ b/meta-networking/recipes-support/mdio-tools/mdio-netlink_git.bb
@@ -0,0 +1,13 @@
1require mdio-tools.inc
2
3DEPENDS += "virtual/kernel libmnl"
4# This module requires Linux 5.6 higher
5
6S = "${WORKDIR}/git/kernel"
7
8inherit module
9
10EXTRA_OEMAKE = "KDIR=${STAGING_KERNEL_DIR}"
11MODULES_INSTALL_TARGET = "install"
12
13RPROVIDES:${PN} += "kernel-module-mdio-netlink"
diff --git a/meta-networking/recipes-support/mdio-tools/mdio-tools.inc b/meta-networking/recipes-support/mdio-tools/mdio-tools.inc
new file mode 100644
index 0000000000..a8a435fadd
--- /dev/null
+++ b/meta-networking/recipes-support/mdio-tools/mdio-tools.inc
@@ -0,0 +1,9 @@
1DESCRIPTION = "A low-level debug tool for communicating with devices attached to an MDIO bus"
2SECTION = "networking"
3HOMEPAGE = "https://github.com/wkz/mdio-tools"
4LICENSE = "GPL-2.0-or-later"
5LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6
7SRC_URI = "git://github.com/wkz/mdio-tools.git;protocol=https;branch=master"
8SRCREV = "07cbff2d5e2de05037e5e7edd5044d678394c8d1"
9PV = "1.1.1"
diff --git a/meta-networking/recipes-support/mdio-tools/mdio-tools_git.bb b/meta-networking/recipes-support/mdio-tools/mdio-tools_git.bb
new file mode 100644
index 0000000000..cd4df3da05
--- /dev/null
+++ b/meta-networking/recipes-support/mdio-tools/mdio-tools_git.bb
@@ -0,0 +1,9 @@
1require mdio-tools.inc
2
3DEPENDS += "libmnl"
4
5S = "${WORKDIR}/git"
6
7inherit pkgconfig autotools
8
9RDEPENDS:${PN} = "kernel-module-mdio-netlink"