mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
246051f11b
commit
36bff1aa4b
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user