* [PATCH v2] linuxptp: Add recipe for linux ptp
@ 2014-02-11 23:56 Sam Nelson
2014-02-12 16:48 ` Denys Dmytriyenko
0 siblings, 1 reply; 3+ messages in thread
From: Sam Nelson @ 2014-02-11 23:56 UTC (permalink / raw)
To: meta-arago
- linuxptp is an implementation of precision time protocol (PTP)
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
---
Change from previous patch
* Removed redundant setting of STAGING_KERNEL_DIR
---
---
.../recipes-bsp/linuxptp/linuxptp_1.0.bb | 24 ++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100755 meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb
diff --git a/meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb b/meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb
new file mode 100755
index 0000000..6d3d3a1
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "This software is an implementation of the Precision Time Protocol (PTP) \
+according to IEEE standard 1588 for Linux"
+HOMEPAGE = "http://linuxptp.sourceforge.net/"
+SECTION = "console/network"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+DEPENDS += "virtual/kernel"
+PR = "r0"
+
+SRC_URI = "git://git.code.sf.net/p/linuxptp/code;protocol=git"
+
+SRCREV = "74e703727ec9b1c334c7bfbba9be1cabf4b7b461"
+
+S = "${WORKDIR}/git"
+
+inherit autotools
+
+EXTRA_OEMAKE = "KBUILD_OUTPUT=${STAGING_KERNEL_DIR} CROSS_COMPILE=${TARGET_PREFIX} ARCH=${TARGET_ARCH}"
+
+do_install() {
+ install -d ${D}${bindir}/
+ install -c -m 755 ${S}/ptp4l ${D}${bindir}/
+}
+
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] linuxptp: Add recipe for linux ptp
2014-02-11 23:56 [PATCH v2] linuxptp: Add recipe for linux ptp Sam Nelson
@ 2014-02-12 16:48 ` Denys Dmytriyenko
2014-02-12 18:21 ` Nelson, Sam
0 siblings, 1 reply; 3+ messages in thread
From: Denys Dmytriyenko @ 2014-02-12 16:48 UTC (permalink / raw)
To: Sam Nelson; +Cc: meta-arago
On Tue, Feb 11, 2014 at 06:56:58PM -0500, Sam Nelson wrote:
> - linuxptp is an implementation of precision time protocol (PTP)
>
> Signed-off-by: Sam Nelson <sam.nelson@ti.com>
>
> ---
> Change from previous patch
> * Removed redundant setting of STAGING_KERNEL_DIR
> ---
> ---
> .../recipes-bsp/linuxptp/linuxptp_1.0.bb | 24 ++++++++++++++++++++
> 1 file changed, 24 insertions(+)
> create mode 100755 meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb
You keep adding everything to recipes-bsp... This one is not really BSP
specific. For networking stuff, there's recipes-connectivity directory.
Otherwise looks good. BTW, does that SRCREV correspond to any official
release? If it is, handling tarball would be easier than checking out from
a git repository - release tarballs are usually mirrored much wider...
> diff --git a/meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb b/meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb
> new file mode 100755
> index 0000000..6d3d3a1
> --- /dev/null
> +++ b/meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb
> @@ -0,0 +1,24 @@
> +DESCRIPTION = "This software is an implementation of the Precision Time Protocol (PTP) \
> +according to IEEE standard 1588 for Linux"
> +HOMEPAGE = "http://linuxptp.sourceforge.net/"
> +SECTION = "console/network"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
> +DEPENDS += "virtual/kernel"
> +PR = "r0"
> +
> +SRC_URI = "git://git.code.sf.net/p/linuxptp/code;protocol=git"
> +
> +SRCREV = "74e703727ec9b1c334c7bfbba9be1cabf4b7b461"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit autotools
> +
> +EXTRA_OEMAKE = "KBUILD_OUTPUT=${STAGING_KERNEL_DIR} CROSS_COMPILE=${TARGET_PREFIX} ARCH=${TARGET_ARCH}"
> +
> +do_install() {
> + install -d ${D}${bindir}/
> + install -c -m 755 ${S}/ptp4l ${D}${bindir}/
> +}
> +
> --
> 1.7.9.5
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] linuxptp: Add recipe for linux ptp
2014-02-12 16:48 ` Denys Dmytriyenko
@ 2014-02-12 18:21 ` Nelson, Sam
0 siblings, 0 replies; 3+ messages in thread
From: Nelson, Sam @ 2014-02-12 18:21 UTC (permalink / raw)
To: Dmytriyenko, Denys; +Cc: meta-arago@arago-project.org
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Wednesday, February 12, 2014 11:48 AM
> To: Nelson, Sam
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH v2] linuxptp: Add recipe for linux ptp
>
> On Tue, Feb 11, 2014 at 06:56:58PM -0500, Sam Nelson wrote:
> > - linuxptp is an implementation of precision time protocol (PTP)
> >
> > Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> >
> > ---
> > Change from previous patch
> > * Removed redundant setting of STAGING_KERNEL_DIR
> > ---
> > ---
> > .../recipes-bsp/linuxptp/linuxptp_1.0.bb | 24
> ++++++++++++++++++++
> > 1 file changed, 24 insertions(+)
> > create mode 100755 meta-arago-extras/recipes-
> bsp/linuxptp/linuxptp_1.0.bb
>
> You keep adding everything to recipes-bsp... This one is not really BSP
> specific. For networking stuff, there's recipes-connectivity directory.
[Sam] I will move to recipes-connectivity.
>
> Otherwise looks good. BTW, does that SRCREV correspond to any official
> release? If it is, handling tarball would be easier than checking out from
> a git repository - release tarballs are usually mirrored much wider...
[Sam]That is a good point. I will use tarball instead of git and send the updated patch.
>
>
> > diff --git a/meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb
> b/meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb
> > new file mode 100755
> > index 0000000..6d3d3a1
> > --- /dev/null
> > +++ b/meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb
> > @@ -0,0 +1,24 @@
> > +DESCRIPTION = "This software is an implementation of the Precision Time
> Protocol (PTP) \
> > +according to IEEE standard 1588 for Linux"
> > +HOMEPAGE = "http://linuxptp.sourceforge.net/"
> > +SECTION = "console/network"
> > +LICENSE = "GPLv2"
> > +LIC_FILES_CHKSUM =
> "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
> > +DEPENDS += "virtual/kernel"
> > +PR = "r0"
> > +
> > +SRC_URI = "git://git.code.sf.net/p/linuxptp/code;protocol=git"
> > +
> > +SRCREV = "74e703727ec9b1c334c7bfbba9be1cabf4b7b461"
> > +
> > +S = "${WORKDIR}/git"
> > +
> > +inherit autotools
> > +
> > +EXTRA_OEMAKE = "KBUILD_OUTPUT=${STAGING_KERNEL_DIR}
> CROSS_COMPILE=${TARGET_PREFIX} ARCH=${TARGET_ARCH}"
> > +
> > +do_install() {
> > + install -d ${D}${bindir}/
> > + install -c -m 755 ${S}/ptp4l ${D}${bindir}/
> > +}
> > +
> > --
> > 1.7.9.5
> >
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-02-12 18:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-11 23:56 [PATCH v2] linuxptp: Add recipe for linux ptp Sam Nelson
2014-02-12 16:48 ` Denys Dmytriyenko
2014-02-12 18:21 ` Nelson, Sam
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.