summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
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"