* [meta-networking][PATCH v3] phytool: Add recipe
@ 2016-10-06 5:59 Mike Looijmans
2016-10-07 6:10 ` Koen Kooi
0 siblings, 1 reply; 5+ messages in thread
From: Mike Looijmans @ 2016-10-06 5:59 UTC (permalink / raw)
To: openembedded-devel
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@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
+ oe_runmake 'DESTDIR=${D}' 'PREFIX=${prefix}' install
+}
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [meta-networking][PATCH v3] phytool: Add recipe
2016-10-06 5:59 [meta-networking][PATCH v3] phytool: Add recipe Mike Looijmans
@ 2016-10-07 6:10 ` Koen Kooi
2016-10-07 6:23 ` Mike Looijmans
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Koen Kooi @ 2016-10-07 6:10 UTC (permalink / raw)
To: openembedded-devel
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@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
> +}
>
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [meta-networking][PATCH v3] phytool: Add recipe
2016-10-07 6:10 ` Koen Kooi
@ 2016-10-07 6:23 ` Mike Looijmans
2016-10-07 6:31 ` [meta-networking][PATCH v4] " Mike Looijmans
2016-10-07 6:36 ` [meta-networking][PATCH v5] " Mike Looijmans
2 siblings, 0 replies; 5+ messages in thread
From: Mike Looijmans @ 2016-10-07 6:23 UTC (permalink / raw)
To: openembedded-devel
On 07-10-16 08:10, Koen Kooi wrote:
> 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@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}
The makefile installs to $PREFIX/bin so I deliberately put the same folder in
the recipe (the makefile doesn't create the directory). If anyone changes
$bindir the install will fail.
I see I need to add a comment to explain that.
>> + oe_runmake 'DESTDIR=${D}' 'PREFIX=${prefix}' install
>> +}
>>
>
>
Kind regards,
Mike Looijmans
System Expert
TOPIC Products
Materiaalweg 4, NL-5681 RJ Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: mike.looijmans@topicproducts.com
Website: www.topicproducts.com
Please consider the environment before printing this e-mail
^ permalink raw reply [flat|nested] 5+ messages in thread* [meta-networking][PATCH v4] phytool: Add recipe
2016-10-07 6:10 ` Koen Kooi
2016-10-07 6:23 ` Mike Looijmans
@ 2016-10-07 6:31 ` Mike Looijmans
2016-10-07 6:36 ` [meta-networking][PATCH v5] " Mike Looijmans
2 siblings, 0 replies; 5+ messages in thread
From: Mike Looijmans @ 2016-10-07 6:31 UTC (permalink / raw)
To: openembedded-devel
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@topic.nl>
---
v4: Add comment on why $bindir is not being used
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
+ oe_runmake 'DESTDIR=${D}' 'PREFIX=${prefix}' install
+}
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* [meta-networking][PATCH v5] phytool: Add recipe
2016-10-07 6:10 ` Koen Kooi
2016-10-07 6:23 ` Mike Looijmans
2016-10-07 6:31 ` [meta-networking][PATCH v4] " Mike Looijmans
@ 2016-10-07 6:36 ` Mike Looijmans
2 siblings, 0 replies; 5+ messages in thread
From: Mike Looijmans @ 2016-10-07 6:36 UTC (permalink / raw)
To: openembedded-devel
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@topic.nl>
---
v5: Correct revision, v4 got sent with the v3 patch contents
v4: Add comment on why $bindir is not being used
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 | 15 +++++++++++++++
1 file changed, 15 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..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
+}
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-10-07 6:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-06 5:59 [meta-networking][PATCH v3] phytool: Add recipe Mike Looijmans
2016-10-07 6:10 ` Koen Kooi
2016-10-07 6:23 ` Mike Looijmans
2016-10-07 6:31 ` [meta-networking][PATCH v4] " Mike Looijmans
2016-10-07 6:36 ` [meta-networking][PATCH v5] " Mike Looijmans
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.