[oe] [meta-networking][PATCH v3] phytool: Add recipe

Koen Kooi koen at dominion.thruhere.net
Fri Oct 7 06:10:56 UTC 2016


Op 06-10-16 om 07:59 schreef Mike Looijmans:
> 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>
> ---
> v3: Add SRCPV to PV
>     Indent using spaces instead of tab
> v2: Fix LICENSE filename and checksum
>     Honor LDFLAGS value (patch accepted upstream)
>  meta-networking/recipes-support/phytool/phytool.bb | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>  create mode 100644 meta-networking/recipes-support/phytool/phytool.bb
> 
> diff --git a/meta-networking/recipes-support/phytool/phytool.bb b/meta-networking/recipes-support/phytool/phytool.bb
> new file mode 100644
> index 0000000..e4391df
> --- /dev/null
> +++ b/meta-networking/recipes-support/phytool/phytool.bb
> @@ -0,0 +1,14 @@
> +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"
> +
> +do_install() {
> +    install -d ${D}${prefix}/bin

${D}${bindir}

> +    oe_runmake 'DESTDIR=${D}' 'PREFIX=${prefix}' install
> +}
> 





More information about the Openembedded-devel mailing list