]> code.ossystems Code Review - openembedded-core.git/commitdiff
autotools.bbclass: use oe_runmake instead of ${MAKE}
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 29 Jan 2016 15:04:29 +0000 (17:04 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 31 Jan 2016 13:29:37 +0000 (13:29 +0000)
Use oe_runmake like in base.bbclass so that EXTRA_OEMAKE will be
respected.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/autotools.bbclass

index 4601148fc362f83737c5923975d17f43404d7ea4..826762d402daf4b6e9a8de44906bc4e52dfcf841 100644 (file)
@@ -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