mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
eglibc: force make to use /bin/bash
The eglibc core build still has a number of issues with /bin/dash.
Recently found is both sysdeps/unix/make-syscalls.sh and it's output,
which make calls via SHELL do not play well with /bin/dash. By force
make to use /bin/bash via SHELL setting it works correctly.
Currenly known issues are: make-syscalls.sh line with a bad substitution,
which can be corrected by:
vdso_symver="$(printf '%s\n' ${vdso_symver} | sed 's/\./_/')"
Following that there is an issue with emiting a '\n' through a second
echo and then to the compiler. There maybe more issues beyond that.
[YOCTO #3080]
(From OE-Core rev: 9d002f7cdc5309c4d850a76e4fd73ff04c980a07)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
650d20107d
commit
cfbf6fad48
@@ -51,6 +51,11 @@ EXTRA_OEMAKE[vardepsexclude] += "EGLIBCPARALLELISM"
|
|||||||
EXTRA_OEMAKE += "${EGLIBCPARALLELISM}"
|
EXTRA_OEMAKE += "${EGLIBCPARALLELISM}"
|
||||||
PARALLEL_MAKE = ""
|
PARALLEL_MAKE = ""
|
||||||
|
|
||||||
|
# eglibc make-syscalls.sh has a number of issues with /bin/dash and
|
||||||
|
# it's output which make calls via the SHELL also has issues, so
|
||||||
|
# ensure make uses /bin/bash
|
||||||
|
EXTRA_OEMAKE += "SHELL=/bin/bash"
|
||||||
|
|
||||||
OE_FEATURES = "${@features_to_eglibc_settings(d)}"
|
OE_FEATURES = "${@features_to_eglibc_settings(d)}"
|
||||||
do_configure_prepend() {
|
do_configure_prepend() {
|
||||||
sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in
|
sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ require eglibc.inc
|
|||||||
SRCREV = "20393"
|
SRCREV = "20393"
|
||||||
|
|
||||||
DEPENDS += "gperf-native kconfig-frontends-native"
|
DEPENDS += "gperf-native kconfig-frontends-native"
|
||||||
PR = "r14"
|
PR = "r15"
|
||||||
PR_append = "+svnr${SRCPV}"
|
PR_append = "+svnr${SRCPV}"
|
||||||
|
|
||||||
EGLIBC_BRANCH="eglibc-2_16"
|
EGLIBC_BRANCH="eglibc-2_16"
|
||||||
|
|||||||
Reference in New Issue
Block a user