diff options
author | Lauren Post <lauren.post@freescale.com> | 2014-03-07 15:26:09 -0600 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-03-15 15:25:26 +0100 |
commit | c29189f45bdc7097f927b9f89d36f4bbad5ca67f (patch) | |
tree | 3523b9c782b1150b33f159662037985902164128 /meta-oe/recipes-connectivity | |
parent | 5b8498b53dcdf2ed797cbd2049dd3856ef17e2ff (diff) | |
download | meta-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.bb | 26 |
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 @@ | |||
1 | DESCRIPTION = "Precision Time Protocol (PTP) according to IEEE standard 1588 for Linux" | ||
2 | LICENSE = "GPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
4 | |||
5 | DEPENDS = "virtual/kernel" | ||
6 | |||
7 | SRC_URI = "http://sourceforge.net/projects/linuxptp/files/v${PV}/linuxptp-${PV}.tgz" | ||
8 | |||
9 | SRC_URI[md5sum] = "a37ad2b2ef7d1ebc4d64a66d3fe55cdf" | ||
10 | SRC_URI[sha256sum] = "6cfd5291fb7394cc9f25458927874a203971b66b76d1c9d6568e007d0cbd81f2" | ||
11 | |||
12 | inherit autotools pkgconfig | ||
13 | |||
14 | EXTRA_OEMAKE = 'KBUILD_OUTPUT="${STAGING_KERNEL_DIR}" CROSS_COMPILE="${TARGET_PREFIX}"' | ||
15 | |||
16 | do_configure_append () { | ||
17 | find ${S} -name makefile | xargs sed -i 's,^\(CC\|CFLAGS\|prefix\|AR\)=,\1 ?=,g' | ||
18 | } | ||
19 | |||
20 | do_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 | } | ||