Skip to contentSkip to conversation

linuxptp: Add recipe for linux ptp

PATCH In review Sam Nelson 2 participants 2 messages Mar 4, 2014

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH v6 1/1 linuxptp: Add recipe for linux ptp

- linuxptp is an implementation of precision time protocol (PTP)

---
Change in Patch v6:
* Removed inherit autotools

Change in Patch v5
* Fix issues with passing extra Cflags
---

---
 .../recipes-connectivity/linuxptp/linuxptp_1.3.bb  |   21 ++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100755 meta-arago-extras/recipes-connectivity/linuxptp/linuxptp_1.3.bb
meta-arago-extras/recipes-connectivity/linuxptp/linuxptp_1.3.bb new file +21 -0
new file mode 100755
index 0000000..85062aa
@@ -0,0 +1,21 @@
+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"
+PR = "r0"
+
+SRC_URI = "http://iweb.dl.sourceforge.net/project/linuxptp/v${PV}/linuxptp-${PV}.tgz"
+SRC_URI[md5sum] = "664706a86fe1413391d4536080548501"
+SRC_URI[sha256sum] = "b1651186689ef06e56add506bd9bb55a700ca56e3f92ba71d08f3ad12fad3085"
+
+EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} ARCH=${TARGET_ARCH} \
+		EXTRA_CFLAGS="-D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME \
+		-DHAVE_ONESTEP_SYNC""
+
+do_install() {
+	install -d ${D}${bindir}/
+	install -c -m 755 ${S}/ptp4l ${D}${bindir}/
+}
+
Signature · 1 line
1.7.9.5
Acked-by on v6 1/1
#1 lore raw
Quoted 3 lines · Sam Nelson

- linuxptp is an implementation of precision time protocol (PTP)

Quoted 47 lines

---
Change in Patch v6:
* Removed inherit autotools

Change in Patch v5
* Fix issues with passing extra Cflags
---

---
 .../recipes-connectivity/linuxptp/linuxptp_1.3.bb  |   21 ++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100755 meta-arago-extras/recipes-connectivity/linuxptp/linuxptp_1.3.bb
meta-arago-extras/recipes-connectivity/linuxptp/linuxptp_1.3.bb new file +21 -0
new file mode 100755
index 0000000..85062aa
@@ -0,0 +1,21 @@
+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"
+PR = "r0"
+
+SRC_URI = "http://iweb.dl.sourceforge.net/project/linuxptp/v${PV}/linuxptp-${PV}.tgz"
+SRC_URI[md5sum] = "664706a86fe1413391d4536080548501"
+SRC_URI[sha256sum] = "b1651186689ef06e56add506bd9bb55a700ca56e3f92ba71d08f3ad12fad3085"
+
+EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} ARCH=${TARGET_ARCH} \
+		EXTRA_CFLAGS="-D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME \
+		-DHAVE_ONESTEP_SYNC""
+
+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