]> code.ossystems Code Review - openembedded-core.git/commitdiff
autotools: don't warn about obsolete usage
authorRoss Burton <ross.burton@arm.com>
Wed, 11 Nov 2020 15:26:16 +0000 (15:26 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 7 Feb 2021 22:26:38 +0000 (22:26 +0000)
New autoconf warns about obsolete macro usage, but there is quite
a lot of obsolete usage in the wild which isn't really in our problem.

Signed-off-by: Ross Burton <ross.burton@arm.com>
meta/classes/autotools.bbclass

index 2ceb790b5cfb4e39ac017239a17aac5f52c48c40..36eb56c70d97a280061a00c13f74c10ccbf99832 100644 (file)
@@ -229,7 +229,7 @@ autotools_do_configure() {
                done
 
                bbnote Executing ACLOCAL=\"$ACLOCAL\" autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} $acpaths
-               ACLOCAL="$ACLOCAL" autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} $acpaths || die "autoreconf execution failed."
+               ACLOCAL="$ACLOCAL" autoreconf -Wcross -Wno-obsolete --verbose --install --force ${EXTRA_AUTORECONF} $acpaths || die "autoreconf execution failed."
                cd $olddir
        fi
        if [ -e ${CONFIGURE_SCRIPT} ]; then