Marc Kleine-Budde wrote: > From: Michael Grzeschik <[email protected]> > > Its a simple workload generator for POSIX systems. It imposes a > configurable amount of CPU, memory, I/O, and disk stress on the system.
looks much better than sox cheers, Marc > Signed-off-by: Michael Grzeschik <[email protected]> > --- > rules/stress.in | 8 +++++ > rules/stress.make | 83 > +++++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 91 insertions(+), 0 deletions(-) > create mode 100644 rules/stress.in > create mode 100644 rules/stress.make > > diff --git a/rules/stress.in b/rules/stress.in > new file mode 100644 > index 0000000..b015d4b > --- /dev/null > +++ b/rules/stress.in > @@ -0,0 +1,8 @@ > +## SECTION=test_suites add an empty line here, please > +config STRESS > + tristate > + prompt "stress " > + help > + stress is a simple workload generator for POSIX systems. > + It imposes a configurable amount of CPU, memory, I/O, and disk > stress on the system. > + It is written in C, and is free software licensed under the > GPLv2. please indent with one tab and two spaces > diff --git a/rules/stress.make b/rules/stress.make > new file mode 100644 > index 0000000..bb01420 > --- /dev/null > +++ b/rules/stress.make > @@ -0,0 +1,83 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2002-2007 by Pengutronix e.K., Hildesheim, Germany > +# 2009 by Marc Kleine-Budde <[email protected]> please adjust the copyright. > +# > +# 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) += stress > + > +# > +# Paths and names > +# > +STRESS_VERSION := 1.0.1 > +STRESS := stress-$(STRESS_VERSION) > +STRESS_SUFFIX := tar.gz > +STRESS_URL := > http://weather.ou.edu/~apw/projects/stress/$(STRESS).$(STRESS_SUFFIX) > +STRESS_SOURCE := $(SRCDIR)/$(STRESS).$(STRESS_SUFFIX) > +STRESS_DIR := $(BUILDDIR)/$(STRESS) > +STRESS_LICENSE := stress in the help text you say it's licensed GLPv2, please adjust > + > +# > ---------------------------------------------------------------------------- > +# Get > +# > ---------------------------------------------------------------------------- > + > +$(STRESS_SOURCE): > + @$(call targetinfo) > + @$(call get, STRESS) > + > +# > ---------------------------------------------------------------------------- > +# Prepare > +# > ---------------------------------------------------------------------------- > + > +STRESS_PATH := PATH=$(CROSS_PATH) > +STRESS_ENV := $(CROSS_ENV) please remove > + > +# > +# autoconf > +# > +STRESS_AUTOCONF := \ > + $(CROSS_AUTOCONF_USR) > + > + > +# > ---------------------------------------------------------------------------- > +# Target-Install > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/stress.targetinstall: > + @$(call targetinfo) > + > +ifndef PTXCONF_STRESS_STATIC > + @$(call install_init, stress) > + @$(call install_fixup, stress,PACKAGE,stress) > + @$(call install_fixup, stress,PRIORITY,optional) > + @$(call install_fixup, stress,VERSION,$(STRESS_VERSION)) > + @$(call install_fixup, stress,SECTION,base) > + @$(call install_fixup, stress,AUTHOR,"Michael Grzeschik > <[email protected]>") > + @$(call install_fixup, stress,DEPENDS,) > + @$(call install_fixup, stress,DESCRIPTION,missing) > + > + @$(call install_copy, stress, 0, 0, 0755, -, \ > + /usr/bin/stress) > + > + @$(call install_finish, stress) > +endif > + @$(call touch) > + > +# > ---------------------------------------------------------------------------- > +# Clean > +# > ---------------------------------------------------------------------------- > + > +stress_clean: > + rm -rf $(STATEDIR)/stress.* > + rm -rf $(PKGDIR)/stress_* > + rm -rf $(STRESS_DIR) please remove > + > +# vim: syntax=make -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list [email protected]
