summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity
diff options
context:
space:
mode:
authorLauren Post <lauren.post@freescale.com>2014-03-07 15:26:09 -0600
committerMartin Jansa <Martin.Jansa@gmail.com>2014-03-15 15:25:26 +0100
commitc29189f45bdc7097f927b9f89d36f4bbad5ca67f (patch)
tree3523b9c782b1150b33f159662037985902164128 /meta-oe/recipes-connectivity
parent5b8498b53dcdf2ed797cbd2049dd3856ef17e2ff (diff)
downloadmeta-openembedded-c29189f45bdc7097f927b9f89d36f4bbad5ca67f.tar.gz
linuxptp: Create 1.4 version
Precision Time Protocol (PTP) according to IEEE standard 1588 Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity')
-rw-r--r--meta-oe/recipes-connectivity/linuxptp/linuxptp_1.4.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/linuxptp/linuxptp_1.4.bb b/meta-oe/recipes-connectivity/linuxptp/linuxptp_1.4.bb
new file mode 100644
index 000000000..c708b13f3
--- /dev/null
+++ b/meta-oe/recipes-connectivity/linuxptp/linuxptp_1.4.bb
@@ -0,0 +1,26 @@
1DESCRIPTION = "Precision Time Protocol (PTP) according to IEEE standard 1588 for Linux"
2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
4
5DEPENDS = "virtual/kernel"
6
7SRC_URI = "http://sourceforge.net/projects/linuxptp/files/v${PV}/linuxptp-${PV}.tgz"
8
9SRC_URI[md5sum] = "a37ad2b2ef7d1ebc4d64a66d3fe55cdf"
10SRC_URI[sha256sum] = "6cfd5291fb7394cc9f25458927874a203971b66b76d1c9d6568e007d0cbd81f2"
11
12inherit autotools pkgconfig
13
14EXTRA_OEMAKE = 'KBUILD_OUTPUT="${STAGING_KERNEL_DIR}" CROSS_COMPILE="${TARGET_PREFIX}"'
15
16do_configure_append () {
17 find ${S} -name makefile | xargs sed -i 's,^\(CC\|CFLAGS\|prefix\|AR\)=,\1 ?=,g'
18}
19
20do_install () {
21 install -d ${D}/${bindir}
22 install -p ${S}/ptp4l ${D}/${bindir}
23 install -p ${S}/pmc ${D}/${bindir}
24 install -p ${S}/phc2sys ${D}/${bindir}
25 install -p ${S}/hwstamp_ctl ${D}/${bindir}
26}