summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2025-01-08 15:46:35 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-01-10 11:23:45 +0000
commit9c7c3fe0ab53316c87ff521d6a89d6d5cff7e87c (patch)
tree553311921b72a2f23f59c40b18e28349c199a8cc
parent5d555873441a5e2980b3c84a0755d5abdfea93a1 (diff)
downloadpoky-9c7c3fe0ab53316c87ff521d6a89d6d5cff7e87c.tar.gz
autotools: log when we're removing aclocal.m4
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. (From OE-Core rev: d6efd938af8a8260ae464edf4388afea73293ec7) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes-recipe/autotools.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes-recipe/autotools.bbclass b/meta/classes-recipe/autotools.bbclass
index a1d8e4b360..9e89ce40b9 100644
--- a/meta/classes-recipe/autotools.bbclass
+++ b/meta/classes-recipe/autotools.bbclass
@@ -193,6 +193,7 @@ autotools_do_configure() {
193 # like it was auto-generated. Work around this by blowing it away 193 # like it was auto-generated. Work around this by blowing it away
194 # by hand, unless the package specifically asked not to run aclocal. 194 # by hand, unless the package specifically asked not to run aclocal.
195 if ! echo ${EXTRA_AUTORECONF} | grep -q "aclocal"; then 195 if ! echo ${EXTRA_AUTORECONF} | grep -q "aclocal"; then
196 bbnote Removing existing aclocal.m4
196 rm -f aclocal.m4 197 rm -f aclocal.m4
197 fi 198 fi
198 if [ -e configure.in ]; then 199 if [ -e configure.in ]; then