Skip to contentSkip to conversation

linuxptp: Add recipe for linux ptp

PATCH Superseded Sam Nelson 2 participants 2 messages Feb 11, 2014

v1 of 6 Superseded Latest is v6 →

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH 1/1 linuxptp: Add recipe for linux ptp

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

---
 .../recipes-bsp/linuxptp/linuxptp_1.0.bb           |   25 ++++++++++++++++++++
 1 file changed, 25 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 +25 -0
new file mode 100755
index 0000000..c7482aa
@@ -0,0 +1,25 @@
+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 
+
+STAGING_KERNEL_DIR = "${STAGING_DIR}/${MACHINE_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
+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
#1 lore raw
Quoted 9 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Monday, February 10, 2014 7:25 PM
To: [email protected]
Subject: [meta-arago] [PATCH] linuxptp: Add recipe for linux ptp

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

Same question about submitting to lower layers.

Quoted 36 lines

---
.../recipes-bsp/linuxptp/linuxptp_1.0.bb | 25
++++++++++++++++++++

1 file changed, 25 insertions(+)

create mode 100755 meta-arago-extras/recipes-
bsp/linuxptp/linuxptp_1.0.bb

(quoted diff) +0 -0

bsp/linuxptp/linuxptp_1.0.bb b/meta-arago-extras/recipes- bsp/linuxptp/linuxptp_1.0.bb
new file mode 100755
index 0000000..c7482aa

meta-arago-extras/recipes-bsp/linuxptp/linuxptp_1.0.bb new file +1 -0
@@ -0,0 +1,25 @@
+DESCRIPTION = "This software is an implementation of the

Precision Time Protocol (PTP) \

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 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
+
+STAGING_KERNEL_DIR =
Quoted 1 line

"${STAGING_DIR}/${MACHINE_ARCH}${TARGET_VENDOR}-${TARGET_OS}"

Isn't this already set? Why the need to reset it?

Quoted 15 lines

+EXTRA_OEMAKE = "KBUILD_OUTPUT=${STAGING_KERNEL_DIR} CROSS_COMPILE=${TARGET_PREFIX} ARCH=${TARGET_ARCH}"

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