]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
autotools: log when we're removing aclocal.m4
authorRoss Burton <ross.burton@arm.com>
Wed, 8 Jan 2025 15:46:35 +0000 (15:46 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Jan 2025 11:22:20 +0000 (11:22 +0000)
Some mysterious autotools errors are because upstream has a custom
aclocal.m4 that we're deleting it unless we know we're not even running
aclocal.  There's a case to be made for removing this deletion logic
on the grounds that aclocal should know what it is doing, but for now
make it clear that we're deleting a file by saying so in the task log.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/autotools.bbclass

index a1d8e4b36030113c1ef6e24d5d79395a3bdcb6c9..9e89ce40b9e9966e781dfa6afe5e4bbe611fa6e3 100644 (file)
@@ -193,6 +193,7 @@ autotools_do_configure() {
                # like it was auto-generated.  Work around this by blowing it away
                # by hand, unless the package specifically asked not to run aclocal.
                if ! echo ${EXTRA_AUTORECONF} | grep -q "aclocal"; then
+                       bbnote Removing existing aclocal.m4
                        rm -f aclocal.m4
                fi
                if [ -e configure.in ]; then