[oe-commits] [meta-openembedded] 08/17: phytool: Add recipe

git at git.openembedded.org git at git.openembedded.org
Wed Oct 12 10:10:01 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 4a8175bacbcf91574009ad3df135869f09579790
Author: mike.looijmans at topic.nl <mike.looijmans at topic.nl>
AuthorDate: Fri Oct 7 08:36:17 2016 +0200

    phytool: Add recipe
    
    A nice tool to directly read, write and interpret ethernet PHY data.
    Very useful when debugging PHY or MDIO problems, which ethtool does
    not do.
    
    Signed-off-by: Mike Looijmans <mike.looijmans at topic.nl>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-networking/recipes-support/phytool/phytool.bb | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/meta-networking/recipes-support/phytool/phytool.bb b/meta-networking/recipes-support/phytool/phytool.bb
new file mode 100644
index 0000000..4ed3ed1
--- /dev/null
+++ b/meta-networking/recipes-support/phytool/phytool.bb
@@ -0,0 +1,15 @@
+SUMMARY = "PHY interface tool for Linux"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=39bba7d2cf0ba1036f2a6e2be52fe3f0"
+
+PV = "1.0.1+git${SRCPV}"
+SRCREV = "3149bfdb4f513e2f0da0a7d0bc5d0873578696f2"
+SRC_URI = "git://github.com/wkz/phytool.git"
+
+S = "${WORKDIR}/git"
+
+# The Makefile has "$PREFIX/bin" hardcoded into it, hence not using $bindir here
+do_install() {
+    install -d ${D}${prefix}/bin
+    oe_runmake 'DESTDIR=${D}' 'PREFIX=${prefix}' install
+}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list