From: Ross Burton Date: Mon, 7 Nov 2022 22:09:10 +0000 (+0000) Subject: stress-ng: improve makefile use X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~2556 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51fd68954dde1af9cfd5c8b38f5e8f5e852deaaf;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git stress-ng: improve makefile use Set VERBOSE=1 so the compile logs are useful, perform the configure in do_configure, and set bindir correctly. Signed-off-by: Ross Burton Signed-off-by: Alexandre Belloni --- 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 359560b9e24..b4068b0598b 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" inherit bash-completion -do_compile:prepend() { +EXTRA_OEMAKE = "VERBOSE=1" + +do_configure() { mkdir -p configs touch configs/HAVE_APPARMOR + oe_runmake makeconfig } do_install() { - oe_runmake DESTDIR=${D} install + oe_runmake DESTDIR=${D} BINDIR=${bindir} install ln -s stress-ng ${D}${bindir}/stress }