Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] bash: Replace uninative loader path in ptest
@ 2019-05-31 16:57 Joshua Watt
  2019-06-01  6:47 ` Richard Purdie
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Joshua Watt @ 2019-05-31 16:57 UTC (permalink / raw)
  To: openembedded-core

The Makefile used for bash-ptest can pick up the path to the uninative
loader through BUILD_LDFLAGS. This includes the full path to the
uninative loader, which is not reproducible. Replace it with the target
loader in the event that these programs need to be compiled for bash
tests.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
 meta/recipes-extended/bash/bash.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc
index 4b3692c6139..55f2b7704e6 100644
--- a/meta/recipes-extended/bash/bash.inc
+++ b/meta/recipes-extended/bash/bash.inc
@@ -4,7 +4,7 @@ SECTION = "base/shell"
 
 DEPENDS = "ncurses bison-native virtual/libiconv"
 
-inherit autotools gettext texinfo update-alternatives ptest
+inherit autotools gettext texinfo update-alternatives ptest linuxloader
 
 EXTRA_AUTORECONF += "--exclude=autoheader --exclude=aclocal"
 EXTRA_OECONF = "--enable-job-control --without-bash-malloc bash_cv_wexitstatus_offset=8"
@@ -70,6 +70,7 @@ do_install_ptest () {
 	    -e 's|${DEBUG_PREFIX_MAP}||g' \
 	    -e "s,${S},,g" -e "s,${B},,g" -e "s,${STAGING_DIR_NATIVE},,g" \
 	    -e 's:${HOSTTOOLS_DIR}/::g' \
+	    -e 's:${UNINATIVE_LOADER}:${@get_linuxloader(d)}:g' \
 	     ${D}${PTEST_PATH}/Makefile
 }
 
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-06-08  4:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-31 16:57 [PATCH] bash: Replace uninative loader path in ptest Joshua Watt
2019-06-01  6:47 ` Richard Purdie
2019-06-01 15:11   ` Joshua Watt
2019-06-03 15:27 ` [PATCH v2] " Joshua Watt
2019-06-04  7:29   ` Richard Purdie
2019-06-06 20:07   ` [PATCH v3] " Joshua Watt
2019-06-08  4:09 ` ✗ patchtest: failure for bash: Replace uninative loader path in ptest (rev3) Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox