summaryrefslogtreecommitdiffstats
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:08:24 +0000
commit4bbe189d5dc72b1ecd40da483f17be320bed8875 (patch)
treefe8c4e3ec30d74436847484a4a71db2bf760e6e9
parent41e6eae92376bb2ed4917678efbafee8db883795 (diff)
downloadpoky-4bbe189d5dc72b1ecd40da483f17be320bed8875.tar.gz
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>
-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() {
111 # regenerate them even if CFLAGS/LDFLAGS are different 111 # regenerate them even if CFLAGS/LDFLAGS are different
112 cd ${S} 112 cd ${S}
113 if [ "${CLEANBROKEN}" != "1" -a \( -e Makefile -o -e makefile -o -e GNUmakefile \) ]; then 113 if [ "${CLEANBROKEN}" != "1" -a \( -e Makefile -o -e makefile -o -e GNUmakefile \) ]; then
114 echo "Running \"${MAKE} clean\" in ${S}"
114 ${MAKE} clean 115 ${MAKE} clean
115 fi 116 fi
116 find ${S} -name \*.la -delete 117 find ${S} -name \*.la -delete