From 5d9b4031622a010742b855d9e0bf71888570a788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= Date: Wed, 11 Oct 2017 09:55:26 -0500 Subject: meta-linaro/recipes-extra: Add stress-ng recipe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .../recipes-extra/stress-ng/stress-ng_0.08.17.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-linaro/recipes-extra/stress-ng/stress-ng_0.08.17.bb (limited to 'meta-linaro') 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 +} -- cgit v1.2.3