diff options
| author | Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com> | 2022-08-22 05:44:31 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-08-22 08:57:20 -0700 |
| commit | 821e2e0cdf582c5079170a90dff4358fa2cac103 (patch) | |
| tree | 2f0fab0767fce3621205a781c7962da690e84bf1 /meta-networking | |
| parent | 8403930ab43bc56829496180d28d74d07a14d912 (diff) | |
| download | meta-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')
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 @@ | |||
| 1 | require mdio-tools.inc | ||
| 2 | |||
| 3 | DEPENDS += "virtual/kernel libmnl" | ||
| 4 | # This module requires Linux 5.6 higher | ||
| 5 | |||
| 6 | S = "${WORKDIR}/git/kernel" | ||
| 7 | |||
| 8 | inherit module | ||
| 9 | |||
| 10 | EXTRA_OEMAKE = "KDIR=${STAGING_KERNEL_DIR}" | ||
| 11 | MODULES_INSTALL_TARGET = "install" | ||
| 12 | |||
| 13 | 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 0000000000..a8a435fadd --- /dev/null +++ b/meta-networking/recipes-support/mdio-tools/mdio-tools.inc | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | DESCRIPTION = "A low-level debug tool for communicating with devices attached to an MDIO bus" | ||
| 2 | SECTION = "networking" | ||
| 3 | HOMEPAGE = "https://github.com/wkz/mdio-tools" | ||
| 4 | LICENSE = "GPL-2.0-or-later" | ||
| 5 | LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
| 6 | |||
| 7 | SRC_URI = "git://github.com/wkz/mdio-tools.git;protocol=https;branch=master" | ||
| 8 | SRCREV = "07cbff2d5e2de05037e5e7edd5044d678394c8d1" | ||
| 9 | PV = "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 @@ | |||
| 1 | require mdio-tools.inc | ||
| 2 | |||
| 3 | DEPENDS += "libmnl" | ||
| 4 | |||
| 5 | S = "${WORKDIR}/git" | ||
| 6 | |||
| 7 | inherit pkgconfig autotools | ||
| 8 | |||
| 9 | RDEPENDS:${PN} = "kernel-module-mdio-netlink" | ||
