diff options
| author | Ross Burton <ross.burton@arm.com> | 2025-01-08 15:46:36 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-10 11:23:45 +0000 |
| commit | a619a39d1575b76d9a89d4d7420a321465b8e676 (patch) | |
| tree | 8cd49db7d4dc6da2b3061ecea7aef071cbb58d36 /meta/classes-recipe | |
| parent | 9c7c3fe0ab53316c87ff521d6a89d6d5cff7e87c (diff) | |
| download | poky-a619a39d1575b76d9a89d4d7420a321465b8e676.tar.gz | |
autotools: remove aclocal --automake-acdir, relocated so knows the right path
A relocated aclocal in the native sysroot has the right paths already:
$ cat /work/ross/build/tmp/work/cortexa57-poky-linux/expect/5.45.4/recipe-sysroot-native/usr/bin/aclocal
my @automake_includes = ('/work/ross/build/tmp/work/cortexa57-poky-linux/expect/5.45.4/recipe-sysroot-native/usr/share/aclocal-' . $APIVERSION);
Thus there is no need to tell aclocal the path explicitly.
(From OE-Core rev: 002e03132b8ba1f1b254c8a63ff70db2a5d16518)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe')
| -rw-r--r-- | meta/classes-recipe/autotools.bbclass | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/meta/classes-recipe/autotools.bbclass b/meta/classes-recipe/autotools.bbclass index 9e89ce40b9..4e7bf6696d 100644 --- a/meta/classes-recipe/autotools.bbclass +++ b/meta/classes-recipe/autotools.bbclass | |||
| @@ -183,12 +183,6 @@ autotools_do_configure() { | |||
| 183 | acpaths="${acpaths}" | 183 | acpaths="${acpaths}" |
| 184 | fi | 184 | fi |
| 185 | acpaths="$acpaths ${ACLOCALEXTRAPATH}" | 185 | acpaths="$acpaths ${ACLOCALEXTRAPATH}" |
| 186 | AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]\+$//};q'` | ||
| 187 | automake --version | ||
| 188 | echo "AUTOV is $AUTOV" | ||
| 189 | if [ -d ${STAGING_DATADIR_NATIVE}/aclocal-$AUTOV ]; then | ||
| 190 | ACLOCAL="$ACLOCAL --automake-acdir=${STAGING_DATADIR_NATIVE}/aclocal-$AUTOV" | ||
| 191 | fi | ||
| 192 | # autoreconf is too shy to overwrite aclocal.m4 if it doesn't look | 186 | # autoreconf is too shy to overwrite aclocal.m4 if it doesn't look |
| 193 | # like it was auto-generated. Work around this by blowing it away | 187 | # like it was auto-generated. Work around this by blowing it away |
| 194 | # by hand, unless the package specifically asked not to run aclocal. | 188 | # by hand, unless the package specifically asked not to run aclocal. |
