[oe-commits] Robert Yang : autotools.bbclass: print make clean

git at git.openembedded.org git at git.openembedded.org
Fri Jan 16 23:14:56 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: c34d9e66a1a97952965128ab84c691202a60985b
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c34d9e66a1a97952965128ab84c691202a60985b

Author: Robert Yang <liezhi.yang at windriver.com>
Date:   Wed Jan 14 00:55:33 2015 -0800

autotools.bbclass: print make clean

It makes us easier to see make clean failed.

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>

---

 meta/classes/autotools.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index ca04e79..402ee1b 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



More information about the Openembedded-commits mailing list