]> code.ossystems Code Review - openembedded-core.git/commitdiff
base.bbclass: Avoid explicit ${MAKE} in do_configure
authorOtavio Salvador <otavio@ossystems.com.br>
Wed, 7 Jan 2015 17:25:17 +0000 (15:25 -0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Jan 2015 23:48:24 +0000 (23:48 +0000)
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.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass

index b8f61f3955d7e94a4cb8dca82c54ca072005d25f..de50be1d5b2dd04d7ac12254773af6676fdc0d21 100644 (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