mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 09:32:11 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
55db8777c2
commit
a1abb63f0b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user