[OE-core] [PATCH] stress-ng: add 0.05.09

Denys Dmytriyenko denis at denix.org
Wed Jan 27 19:08:39 UTC 2016


On Tue, Jan 26, 2016 at 02:18:41PM -0200, Otavio Salvador wrote:
> On Tue, Jan 26, 2016 at 2:14 PM, Denys Dmytriyenko <denis at denix.org> wrote:
> > On Tue, Jan 26, 2016 at 02:01:14PM -0200, Otavio Salvador wrote:
> >> On Tue, Jan 26, 2016 at 1:34 AM, Denys Dmytriyenko <denis at denix.org> wrote:
> >> > From: Denys Dmytriyenko <denys at ti.com>
> >> >
> >> > A clean room re-implementation and extension of the original stress tool.
> >> >
> >> > Signed-off-by: Denys Dmytriyenko <denys at ti.com>
> >> > ---
> >> >  meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb | 15 +++++++++++++++
> >> >  1 file changed, 15 insertions(+)
> >> >  create mode 100644 meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb
> >> >
> >> > diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb b/meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb
> >> > new file mode 100644
> >> > index 0000000..2e92c53
> >> > --- /dev/null
> >> > +++ b/meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb
> >> > @@ -0,0 +1,15 @@
> >> > +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"
> >> > +
> >> > +SRC_URI = "http://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.gz"
> >> > +
> >> > +SRC_URI[md5sum] = "fe65047991f654ffaac3c59ea9537763"
> >> > +SRC_URI[sha256sum] = "d785b5f2df042d42c43ddfd5bbafa19151ed96f0c483d7f44c737f492b52ddd6"
> >> > +
> >> > +CFLAGS += "-Wall -Wextra -DVERSION='"$(VERSION)"' -O2"
> >>
> >> Where version comes from?
> >
> > From the Makefile
> 
> And $(VERSION) ? I think you need to use ${PV} here.

Yes, $(VERSION) is defined by the Makefile. I'd rather avoid magling CFLAGS 
completely...

-- 
Denys



More information about the Openembedded-core mailing list