diff options
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" | ||
