From: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
To: openembedded-devel@lists.openembedded.org
Cc: raj.khem@gmail.com, joe@deserted.net,
Enguerrand de Ribaucourt
<enguerrand.de-ribaucourt@savoirfairelinux.com>
Subject: [meta-networking][PATCH V2] mdio-tools: add recipes
Date: Tue, 1 Feb 2022 15:26:10 +0100 [thread overview]
Message-ID: <20220201142608.186135-1-enguerrand.de-ribaucourt@savoirfairelinux.com> (raw)
In-Reply-To: <94691>
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>
---
.../mdio-tools/mdio-netlink_1.0.1.bb | 13 +++++++++++++
.../recipes-support/mdio-tools/mdio-tools.inc | 8 ++++++++
.../recipes-support/mdio-tools/mdio-tools_1.0.1.bb | 9 +++++++++
3 files changed, 30 insertions(+)
create mode 100644 meta-networking/recipes-support/mdio-tools/mdio-netlink_1.0.1.bb
create mode 100644 meta-networking/recipes-support/mdio-tools/mdio-tools.inc
create mode 100644 meta-networking/recipes-support/mdio-tools/mdio-tools_1.0.1.bb
diff --git a/meta-networking/recipes-support/mdio-tools/mdio-netlink_1.0.1.bb b/meta-networking/recipes-support/mdio-tools/mdio-netlink_1.0.1.bb
new file mode 100644
index 000000000..b50d33f90
--- /dev/null
+++ b/meta-networking/recipes-support/mdio-tools/mdio-netlink_1.0.1.bb
@@ -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"
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 000000000..bba8960d8
--- /dev/null
+++ b/meta-networking/recipes-support/mdio-tools/mdio-tools.inc
@@ -0,0 +1,8 @@
+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 = "GPLv2"
+LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+SRC_URI = "git://github.com/wkz/mdio-tools.git;protocol=https;branch=master"
+SRCREV = "b40809dd59aa199d8afc307e228b55eeae06b17e"
diff --git a/meta-networking/recipes-support/mdio-tools/mdio-tools_1.0.1.bb b/meta-networking/recipes-support/mdio-tools/mdio-tools_1.0.1.bb
new file mode 100644
index 000000000..cd4df3da0
--- /dev/null
+++ b/meta-networking/recipes-support/mdio-tools/mdio-tools_1.0.1.bb
@@ -0,0 +1,9 @@
+require mdio-tools.inc
+
+DEPENDS += "libmnl"
+
+S = "${WORKDIR}/git"
+
+inherit pkgconfig autotools
+
+RDEPENDS:${PN} = "kernel-module-mdio-netlink"
--
2.25.1
next parent reply other threads:[~2022-02-01 14:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <94691>
2022-02-01 14:26 ` Enguerrand de Ribaucourt [this message]
2022-02-01 14:45 ` [meta-networking][PATCH V2] mdio-tools: add recipes Enguerrand de Ribaucourt
2022-02-02 5:35 ` Khem Raj
2022-02-02 9:59 ` Enguerrand de Ribaucourt
[not found] ` <08c924ec-b924-03fd-9138-cd04083a0c6a@gmail.com>
2022-05-17 5:36 ` Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220201142608.186135-1-enguerrand.de-ribaucourt@savoirfairelinux.com \
--to=enguerrand.de-ribaucourt@savoirfairelinux.com \
--cc=joe@deserted.net \
--cc=openembedded-devel@lists.openembedded.org \
--cc=raj.khem@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.