aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linaro.org>2017-10-11 09:55:26 -0500
committerAníbal Limón <anibal.limon@linaro.org>2017-10-11 09:55:26 -0500
commit5d9b4031622a010742b855d9e0bf71888570a788 (patch)
tree5583d5a39a26a4b4969f154bd10b3bca29e5c39e
parent3f66ec3301fb9f53380c00d520a0445cd30c779c (diff)
downloadmeta-linaro-5d9b4031622a010742b855d9e0bf71888570a788.tar.gz
meta-linaro/recipes-extra: Add stress-ng recipe
A tool to generate load and stress a system, currently this recipe is on a couple of layers [1] and is not updated, a good reason to have in meta-oe. This recipe was send to meta-oe [2] keep it for now in this layer. [1] https://layers.openembedded.org/layerindex/branch/master/recipes/?q=stress-ng [2] http://lists.openembedded.org/pipermail/openembedded-devel/2017-October/115178.html Change-Id: Id3ca1901f3c0649cc37891913cb6f1f7319852f4 Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
-rw-r--r--meta-linaro/recipes-extra/stress-ng/stress-ng_0.08.17.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-linaro/recipes-extra/stress-ng/stress-ng_0.08.17.bb b/meta-linaro/recipes-extra/stress-ng/stress-ng_0.08.17.bb
new file mode 100644
index 00000000..f8b0a0d2
--- /dev/null
+++ b/meta-linaro/recipes-extra/stress-ng/stress-ng_0.08.17.bb
@@ -0,0 +1,18 @@
+SUMMARY = "A tool to load and stress a computer system"
+HOMEPAGE = "http://kernel.ubuntu.com/~cking/stress-ng/"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+DEPENDS = "zlib libaio"
+
+SRC_URI = "http://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.gz"
+
+SRC_URI[md5sum] = "e0f6497a8c06f5d652bc2ad88d449c12"
+SRC_URI[sha256sum] = "37cc73e42f5bdb0e0571ba88f6a69b8f05ee28e51afcafc2231c1058b1a5dd18"
+
+CFLAGS += "-Wall -Wextra -DVERSION='"$(VERSION)"' -O2"
+
+do_install_append() {
+ install -d ${D}${bindir}
+ install -m 755 ${S}/stress-ng ${D}${bindir}/stress-ng
+}