summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/bash/bash.inc
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-12-28 21:04:27 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-20 22:46:17 +0000
commit657bc00c4c8e941afac67a577423e5851cde9966 (patch)
treeb3b71ffdfd0f2a691e7d931305f0abbd2e65aa5a /meta/recipes-extended/bash/bash.inc
parentf236145ce42d3486ee25dd099d6ee2f5a6597cf1 (diff)
downloadpoky-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.inc8
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
7inherit autotools gettext texinfo update-alternatives ptest 7inherit autotools gettext texinfo update-alternatives ptest
8 8
9EXTRA_AUTORECONF += "--exclude=autoheader --exclude=aclocal" 9EXTRA_AUTORECONF += "--exclude=autoheader"
10EXTRA_OECONF = "--enable-job-control --without-bash-malloc bash_cv_wexitstatus_offset=8" 10EXTRA_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
39CACHED_CONFIGUREVARS += "headersdir=${includedir}/${PN}" 39CACHED_CONFIGUREVARS += "headersdir=${includedir}/${PN}"
40 40
41do_configure_prepend () {
42 if [ ! -e ${S}/acinclude.m4 ]; then
43 cat ${S}/aclocal.m4 > ${S}/acinclude.m4
44 fi
45}
46
41do_compile_prepend() { 47do_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