summaryrefslogtreecommitdiff
path: root/meta/classes/autotools.bbclass
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-01-29 17:04:29 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-31 13:29:37 +0000
commit5e89a79ae7f26735e523917555251313995d01d4 (patch)
tree64ba06d7768005e151518415d07aaee5cc797286 /meta/classes/autotools.bbclass
parent7a51776a830167e43cbd185505f62f328704e271 (diff)
downloadopenembedded-core-5e89a79ae7f26735e523917555251313995d01d4.tar.gz
openembedded-core-5e89a79ae7f26735e523917555251313995d01d4.tar.bz2
openembedded-core-5e89a79ae7f26735e523917555251313995d01d4.zip
autotools.bbclass: use oe_runmake instead of ${MAKE}
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>
Diffstat (limited to 'meta/classes/autotools.bbclass')
-rw-r--r--meta/classes/autotools.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 4601148fc3..826762d402 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -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