diff options
| author | Ross Burton <ross.burton@arm.com> | 2024-12-19 14:11:45 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-12-20 12:47:19 +0000 |
| commit | ac564b5bacb687599d9518b7d05ceb8c5bcafab1 (patch) | |
| tree | 897c582f8d9a8c851f06d92df7cb152fb6780e70 /meta/recipes-extended/bash/bash.inc | |
| parent | 7adaec468d3a61d88c990b1b319b34850bee7e44 (diff) | |
| download | poky-ac564b5bacb687599d9518b7d05ceb8c5bcafab1.tar.gz | |
bash: remove aclocal workarounds
Instead of patching configure.ac to not load m4 directly and working
around what aclocal and the autotools class do, just exclude the running
of aclocal entirely.
This stops the class removing the existing aclocal.m4 and autoreconf
running aclocal.
(From OE-Core rev: 399918026e3240d6f0829f9fb0da6946a498108e)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/bash/bash.inc')
| -rw-r--r-- | meta/recipes-extended/bash/bash.inc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc index 66058feff3..634209c911 100644 --- a/meta/recipes-extended/bash/bash.inc +++ b/meta/recipes-extended/bash/bash.inc | |||
| @@ -7,7 +7,7 @@ DEPENDS = "ncurses bison-native virtual/libiconv" | |||
| 7 | 7 | ||
| 8 | inherit autotools gettext texinfo update-alternatives ptest | 8 | inherit autotools gettext texinfo update-alternatives ptest |
| 9 | 9 | ||
| 10 | EXTRA_AUTORECONF += "--exclude=autoheader" | 10 | EXTRA_AUTORECONF += "--exclude=autoheader,aclocal" |
| 11 | EXTRA_OECONF = "--enable-job-control --without-bash-malloc bash_cv_wexitstatus_offset=8" | 11 | EXTRA_OECONF = "--enable-job-control --without-bash-malloc bash_cv_wexitstatus_offset=8" |
| 12 | 12 | ||
| 13 | # If NON_INTERACTIVE_LOGIN_SHELLS is defined, all login shells read the | 13 | # If NON_INTERACTIVE_LOGIN_SHELLS is defined, all login shells read the |
| @@ -46,12 +46,6 @@ RDEPENDS:${PN}-ptest:append:libc-glibc = " \ | |||
| 46 | 46 | ||
| 47 | CACHED_CONFIGUREVARS += "headersdir=${includedir}/${PN}" | 47 | CACHED_CONFIGUREVARS += "headersdir=${includedir}/${PN}" |
| 48 | 48 | ||
| 49 | do_configure:prepend () { | ||
| 50 | if [ ! -e ${S}/acinclude.m4 ]; then | ||
| 51 | cat ${S}/aclocal.m4 > ${S}/acinclude.m4 | ||
| 52 | fi | ||
| 53 | } | ||
| 54 | |||
| 55 | do_compile:prepend() { | 49 | do_compile:prepend() { |
| 56 | # Remove any leftover .build files. This ensures that bash always has the | 50 | # Remove any leftover .build files. This ensures that bash always has the |
| 57 | # same version number and keeps builds reproducible | 51 | # same version number and keeps builds reproducible |
