linuxptp: Add recipe for linux ptp
PATCH v2 1/1 linuxptp: Add recipe for linux ptp
- linuxptp is an implementation of precision time protocol (PTP)
---
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
meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb new file +24 -0
@@ -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}/ +} +
Signature · 1 line
1.7.9.5
Quoted 4 lines · Sam Nelson
- linuxptp is an implementation of precision time protocol (PTP)
Signed-off-by Sam Nelson <[email protected]>
Quoted 8 lines
---
Change from previous patch
* Removed redundant setting ofSTAGING_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...
Quoted 37 lines
meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb new file +24
-0@@ -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}/ +} +Signature · 6 lines
1.7.9.5 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 20 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, February 12, 2014 11:48 AM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH v2] linuxptp: Add recipe for linux ptpQuoted 10 lines · Sam Nelson
- linuxptp is an implementation of precision time protocol (PTP)
Signed-off-by Sam Nelson <[email protected]>---
Change from previous patch
* Removed redundant setting ofSTAGING_KERNEL_DIR
------ .../recipes-bsp/linuxptp/linuxptp_1.0.bb | 24
Quoted 7 lines
++++++++++++++++++++
Quoted 2 lines
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.
Quoted 4 lines
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.
Quoted 43 lines
Review
Quoted 3 lines
(quoted diff) +0
-0b/meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb
meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb line 1
Quoted 6 lines
new file mode 100755
index 0000000..6d3d3a1meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb new file +1
-0@@ -0,0 +1,24 @@ +DESCRIPTION = "This software is an implementation of the Precision TimeProtocol (PTP) \
meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb
Quoted 5 lines
meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb new file +5
-0+according to IEEE standard 1588 for Linux" +HOMEPAGE = "http://linuxptp.sourceforge.net/" +SECTION = "console/network" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM ="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb
Quoted 12 lines
meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb new file +12
-0+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}"
Quoted 13 lines
meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb new file +6
-1+ +do_install() { + install -d ${D}${bindir}/ + install -c -m 755 ${S}/ptp4l ${D}${bindir}/ +} + --1.7.9.5
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago