summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-11-07 22:09:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-09 15:43:52 +0000
commit36bff1aa4b0a4e9d4c80676ae7c137710e4d283c (patch)
tree6aa6688464ef320ed4224b275ebdd63db425d69e /meta/recipes-extended
parent246051f11b2b83236be9487df8dfd74bd9d3722d (diff)
downloadpoky-36bff1aa4b0a4e9d4c80676ae7c137710e4d283c.tar.gz
stress-ng: improve makefile use
Set VERBOSE=1 so the compile logs are useful, perform the configure in do_configure, and set bindir correctly. (From OE-Core rev: 51fd68954dde1af9cfd5c8b38f5e8f5e852deaaf) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/stress-ng/stress-ng_0.14.06.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.14.06.bb b/meta/recipes-extended/stress-ng/stress-ng_0.14.06.bb
index 359560b9e2..b4068b0598 100644
--- a/meta/recipes-extended/stress-ng/stress-ng_0.14.06.bb
+++ b/meta/recipes-extended/stress-ng/stress-ng_0.14.06.bb
@@ -18,12 +18,15 @@ RCONFLICTS:${PN} = "stress"
18 18
19inherit bash-completion 19inherit bash-completion
20 20
21do_compile:prepend() { 21EXTRA_OEMAKE = "VERBOSE=1"
22
23do_configure() {
22 mkdir -p configs 24 mkdir -p configs
23 touch configs/HAVE_APPARMOR 25 touch configs/HAVE_APPARMOR
26 oe_runmake makeconfig
24} 27}
25 28
26do_install() { 29do_install() {
27 oe_runmake DESTDIR=${D} install 30 oe_runmake DESTDIR=${D} BINDIR=${bindir} install
28 ln -s stress-ng ${D}${bindir}/stress 31 ln -s stress-ng ${D}${bindir}/stress
29} 32}