diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2016-03-22 22:57:36 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.200> | 2016-04-04 22:05:20 +0000 |
commit | 9aa02c372cbc12fdd9064ec503b7136f4e70d885 (patch) | |
tree | 3c38996ae44b8302f5d2f6fbad44adc49be91dc3 /meta-ivi-common/recipes-test/netpipe/netpipe_3.7.2.bb | |
parent | 7a0588cdc35429e3d960bc9d37fe26ea4d28d22f (diff) |
Add recipe for netpipe package for QA
This adds a recipe for netpipe (NPtcp, NPtcp6, NPmemcpy)
to be used in QA tests like JTA and others.
Change-Id: I8b5c1bc8500498de6d72bfab8b624ecb4efa8ec6
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-ivi-common/recipes-test/netpipe/netpipe_3.7.2.bb')
-rw-r--r-- | meta-ivi-common/recipes-test/netpipe/netpipe_3.7.2.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-ivi-common/recipes-test/netpipe/netpipe_3.7.2.bb b/meta-ivi-common/recipes-test/netpipe/netpipe_3.7.2.bb new file mode 100644 index 000000000..6a4004ea8 --- /dev/null +++ b/meta-ivi-common/recipes-test/netpipe/netpipe_3.7.2.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "Network Protocol Independent Performance Evaluator" +LICENSE = "GPL-1.0" +URL = "http://bitspjoule.org/netpipe" + +# PV from recipe filename +SRC_URI = "http://bitspjoule.org/netpipe/code/NetPIPE-${PV}.tar.gz" +# change makefile to support env variables of bitbake +SRC_URI += "file://netpipe-makefile.patch" + +SRC_URI[md5sum] = "653071f785404bb68f8aaeff89fb1f33" +SRC_URI[sha256sum] = "13dac884ff52951636f651c421f5ff4a853218a95aa28a4a852402ee385a2ab8" + +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d" + +# bitbake expects ${PN}-${PV} which would be netpipe-3.7.2 but the tarball has: +S = "${WORKDIR}/NetPIPE-${PV}" + +# added after 'make' as argument +EXTRA_OEMAKE = "tcp tcp6 memcpy" + +do_install () { + install -d ${D}${bindir} + install -m 0755 NPtcp ${D}${bindir} + install -m 0755 NPtcp6 ${D}${bindir} + install -m 0755 NPmemcpy ${D}${bindir} +} |