base.bbclass: Avoid explicit ${MAKE} in do_configure

The do_configure may eventually call 'make clean' when the sstate
signature does not match. We should respect EXTRA_OEMAKE when doing
so, so use 'oe_runmake' for it.

(From OE-Core rev: 29cd284cab63fb1f6e82ad90bc8c92c1bbcafa88)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Otavio Salvador 2015-01-07 15:25:17 -02:00 committed by Richard Purdie
parent 2aa210cbc5
commit 41fa9bd7aa
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ base_do_configure() {
if [ "`cat ${CONFIGURESTAMPFILE}`" != "${BB_TASKHASH}" ]; then
cd ${B}
if [ "${CLEANBROKEN}" != "1" -a \( -e Makefile -o -e makefile -o -e GNUmakefile \) ]; then
${MAKE} clean
oe_runmake clean
fi
find ${B} -name \*.la -delete
fi