From: Jan Luebbe <jlu@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Jan Luebbe <jlu@pengutronix.de>
Subject: [ptxdist] [PATCH v2] stress-ng: add new package
Date: Wed, 31 Jan 2018 16:00:06 +0100 [thread overview]
Message-ID: <20180131150006.23060-1-jlu@pengutronix.de> (raw)
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
---
rules/stress-ng.in | 12 +++++++++++
rules/stress-ng.make | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+)
create mode 100644 rules/stress-ng.in
create mode 100644 rules/stress-ng.make
diff --git a/rules/stress-ng.in b/rules/stress-ng.in
new file mode 100644
index 000000000000..1397ef24f053
--- /dev/null
+++ b/rules/stress-ng.in
@@ -0,0 +1,12 @@
+## SECTION=test_suites
+
+config STRESS_NG
+ tristate
+ prompt "stress-ng"
+ select LIBAIO
+ select LIBBSD
+ select ZLIB
+ help
+ stress-ng will stress test a computer system in various selectable
+ ways. It was designed to exercise various physical subsystems of a
+ computer as well as the various operating system kernel interfaces.
diff --git a/rules/stress-ng.make b/rules/stress-ng.make
new file mode 100644
index 000000000000..15969d2a1436
--- /dev/null
+++ b/rules/stress-ng.make
@@ -0,0 +1,57 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Jan Luebbe <jlu@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_STRESS_NG) += stress-ng
+
+#
+# Paths and names
+#
+STRESS_NG_VERSION := 0.09.13
+STRESS_NG_MD5 := 37eaef85fb352760c9f92c09c2c992dc
+STRESS_NG := stress-ng-$(STRESS_NG_VERSION)
+STRESS_NG_SUFFIX := tar.xz
+STRESS_NG_URL := http://kernel.ubuntu.com/~cking/tarballs/stress-ng/$(STRESS_NG).$(STRESS_NG_SUFFIX)
+STRESS_NG_SOURCE := $(SRCDIR)/$(STRESS_NG).$(STRESS_NG_SUFFIX)
+STRESS_NG_DIR := $(BUILDDIR)/$(STRESS_NG)
+STRESS_NG_LICENSE := GPL-2.0+
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+STRESS_NG_CONF_TOOL := NO
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+STRESS_NG_MAKE_ENV := $(CROSS_ENV)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/stress-ng.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, stress-ng)
+ @$(call install_fixup, stress-ng,PRIORITY,optional)
+ @$(call install_fixup, stress-ng,SECTION,base)
+ @$(call install_fixup, stress-ng,AUTHOR,"Jan Luebbe <jlu@pengutronix.de>")
+ @$(call install_fixup, stress-ng,DESCRIPTION,missing)
+
+ @$(call install_copy, stress-ng, 0, 0, 0755, -, /usr/bin/stress-ng)
+
+ @$(call install_finish, stress-ng)
+
+ @$(call touch)
--
2.11.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
reply other threads:[~2018-01-31 15:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180131150006.23060-1-jlu@pengutronix.de \
--to=jlu@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox