Signed-off-by: Jan Luebbe <j...@pengutronix.de> --- rules/stress-ng.in | 11 ++++++++++ rules/stress-ng.make | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 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..747302ac830b --- /dev/null +++ b/rules/stress-ng.in @@ -0,0 +1,11 @@ +## SECTION=test_suites + +config STRESS_NG + tristate + prompt "stress-ng" + 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 <j...@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 <j...@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