diff options
author | Jan Luebbe <jlu@pengutronix.de> | 2018-01-31 16:00:06 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-02-01 11:56:10 +0100 |
commit | 6d8c439125fb7894f2f76c0d21d2f8f2fede2a8c (patch) | |
tree | 16ee473a465ba58ce7ec3fed338466556a0770e5 | |
parent | f2dad551d0eef1b06bdb0474121ad27cb7b8247e (diff) | |
download | ptxdist-6d8c439125fb7894f2f76c0d21d2f8f2fede2a8c.tar.gz ptxdist-6d8c439125fb7894f2f76c0d21d2f8f2fede2a8c.tar.xz |
stress-ng: add new package
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/stress-ng.in | 12 | ||||
-rw-r--r-- | rules/stress-ng.make | 57 |
2 files changed, 69 insertions, 0 deletions
diff --git a/rules/stress-ng.in b/rules/stress-ng.in new file mode 100644 index 000000000..1397ef24f --- /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 000000000..15969d2a1 --- /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) |