summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-12-04 14:17:08 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-05 18:01:07 +0000
commita1abb63f0b7a629a5d8a0033d639078bc0a6d15c (patch)
treea592860d5ea9b4abbbbd3b09ac25e846d4b76bfe /meta
parent55db8777c2e66c9b96ecb74063ac4997d3471b6d (diff)
downloadpoky-a1abb63f0b7a629a5d8a0033d639078bc0a6d15c.tar.gz
autotools.bbclass: respect CLEANBROKEN
autotools.bbclass should respect CLEANBROKEN as it invokes 'make clean' on configure. (From OE-Core rev: ffbcb440c43e5e00e73ced67a2c888e9863a1d00) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/autotools.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index bed8a835d4..ca04e7976e 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -110,7 +110,7 @@ autotools_preconfigure() {
110 # At least remove the .la files since automake won't automatically 110 # At least remove the .la files since automake won't automatically
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 [ -e Makefile -o -e makefile -o -e GNUmakefile ]; then 113 if [ "${CLEANBROKEN}" != "1" -a \( -e Makefile -o -e makefile -o -e GNUmakefile \) ]; then
114 ${MAKE} clean 114 ${MAKE} clean
115 fi 115 fi
116 find ${S} -name \*.la -delete 116 find ${S} -name \*.la -delete