summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-01-14 00:55:33 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-16 23:06:42 +0000
commitc34d9e66a1a97952965128ab84c691202a60985b (patch)
tree8c33acfc81523894874bfb56886bd7e3eadfb0b2
parent3918dd643e45ca7009559b5e04f925b924707a36 (diff)
downloadopenembedded-core-c34d9e66a1a97952965128ab84c691202a60985b.tar.gz
openembedded-core-c34d9e66a1a97952965128ab84c691202a60985b.tar.bz2
openembedded-core-c34d9e66a1a97952965128ab84c691202a60985b.zip
autotools.bbclass: print make clean
It makes us easier to see make clean failed. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-rw-r--r--meta/classes/autotools.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index ca04e7976e..402ee1bf01 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -111,6 +111,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
fi
find ${S} -name \*.la -delete