diff options
author | Ross Burton <ross.burton@intel.com> | 2014-12-04 14:17:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-05 17:43:14 +0000 |
commit | ffbcb440c43e5e00e73ced67a2c888e9863a1d00 (patch) | |
tree | b5d4a0147e99b15e16858de10e9385325ddc2e17 /meta/classes/autotools.bbclass | |
parent | a9e95c3cd771b16bbf4c9eaa05c79d7b4ca7272a (diff) | |
download | openembedded-core-ffbcb440c43e5e00e73ced67a2c888e9863a1d00.tar.gz openembedded-core-ffbcb440c43e5e00e73ced67a2c888e9863a1d00.tar.bz2 openembedded-core-ffbcb440c43e5e00e73ced67a2c888e9863a1d00.zip |
autotools.bbclass: respect CLEANBROKEN
autotools.bbclass should respect CLEANBROKEN as it invokes 'make clean' on
configure.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/autotools.bbclass')
-rw-r--r-- | meta/classes/autotools.bbclass | 2 |
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() { # At least remove the .la files since automake won't automatically # regenerate them even if CFLAGS/LDFLAGS are different cd ${S} - if [ -e Makefile -o -e makefile -o -e GNUmakefile ]; then + if [ "${CLEANBROKEN}" != "1" -a \( -e Makefile -o -e makefile -o -e GNUmakefile \) ]; then ${MAKE} clean fi find ${S} -name \*.la -delete |