autotools.bbclass: use oe_runmake instead of ${MAKE}
Use oe_runmake like in base.bbclass so that EXTRA_OEMAKE will be respected. (From OE-Core rev: 5e89a79ae7f26735e523917555251313995d01d4) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
f4f9f2f4d9
commit
ca0617963a
|
@ -112,8 +112,7 @@ autotools_preconfigure() {
|
|||
# regenerate them even if CFLAGS/LDFLAGS are different
|
||||
cd ${S}
|
||||
if [ "${CLEANBROKEN}" != "1" -a \( -e Makefile -o -e makefile -o -e GNUmakefile \) ]; then
|
||||
echo "Running \"${MAKE} clean\" in ${S}"
|
||||
${MAKE} clean
|
||||
oe_runmake clean
|
||||
fi
|
||||
find ${S} -ignore_readdir_race -name \*.la -delete
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue