diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-12-28 21:04:27 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-20 22:46:17 +0000 |
commit | 657bc00c4c8e941afac67a577423e5851cde9966 (patch) | |
tree | b3b71ffdfd0f2a691e7d931305f0abbd2e65aa5a /meta/recipes-extended/bash/bash.inc | |
parent | f236145ce42d3486ee25dd099d6ee2f5a6597cf1 (diff) | |
download | poky-657bc00c4c8e941afac67a577423e5851cde9966.tar.gz |
bash: update 5.0 -> 5.1
[RP: Add aclocal support and patch m4 handling to adapt to OE]
(From OE-Core rev: ab4406dfdbd5e21f6fff0865228ebf5da1274505)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.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, 7 insertions, 1 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc index 1ebb33bdcd..17d9560475 100644 --- a/meta/recipes-extended/bash/bash.inc +++ b/meta/recipes-extended/bash/bash.inc | |||
@@ -6,7 +6,7 @@ DEPENDS = "ncurses bison-native virtual/libiconv" | |||
6 | 6 | ||
7 | inherit autotools gettext texinfo update-alternatives ptest | 7 | inherit autotools gettext texinfo update-alternatives ptest |
8 | 8 | ||
9 | EXTRA_AUTORECONF += "--exclude=autoheader --exclude=aclocal" | 9 | EXTRA_AUTORECONF += "--exclude=autoheader" |
10 | EXTRA_OECONF = "--enable-job-control --without-bash-malloc bash_cv_wexitstatus_offset=8" | 10 | EXTRA_OECONF = "--enable-job-control --without-bash-malloc bash_cv_wexitstatus_offset=8" |
11 | 11 | ||
12 | # If NON_INTERACTIVE_LOGIN_SHELLS is defined, all login shells read the | 12 | # If NON_INTERACTIVE_LOGIN_SHELLS is defined, all login shells read the |
@@ -38,6 +38,12 @@ RDEPENDS_${PN}-ptest_append_libc-glibc = " \ | |||
38 | 38 | ||
39 | CACHED_CONFIGUREVARS += "headersdir=${includedir}/${PN}" | 39 | CACHED_CONFIGUREVARS += "headersdir=${includedir}/${PN}" |
40 | 40 | ||
41 | do_configure_prepend () { | ||
42 | if [ ! -e ${S}/acinclude.m4 ]; then | ||
43 | cat ${S}/aclocal.m4 > ${S}/acinclude.m4 | ||
44 | fi | ||
45 | } | ||
46 | |||
41 | do_compile_prepend() { | 47 | do_compile_prepend() { |
42 | # Remove any leftover .build files. This ensures that bash always has the | 48 | # Remove any leftover .build files. This ensures that bash always has the |
43 | # same version number and keeps builds reproducible | 49 | # same version number and keeps builds reproducible |