Переглянути джерело

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>
Ross Burton 2 роки тому
батько
коміт
36bff1aa4b
1 змінених файлів з 5 додано та 2 видалено
  1. 5 2
      meta/recipes-extended/stress-ng/stress-ng_0.14.06.bb

+ 5 - 2
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
 }