autotools.bbclass: print make clean

It makes us easier to see make clean failed.

(From OE-Core rev: c34d9e66a1a97952965128ab84c691202a60985b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Robert Yang
2015-01-14 00:55:33 -08:00
committed by Richard Purdie
parent 41e6eae923
commit 4bbe189d5d

View File

@@ -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