Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] toolchain-shar-extract: Correct environment-setup script names for multilib
@ 2015-09-29 12:43 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2015-09-29 12:43 UTC (permalink / raw)
  To: openembedded-core

Currently a lib32-core-image-* SDK prints an incorrect environment-setup-*
file name when installing the SDK. Instead of printing the wrong thing, list
the environment setup files present in the SDK.

As it happens this fixes the message printed with buildtools-tarball too
which someone reported to me about the same time as I finished this patch!

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh
index dd92d0e..2ffc2d1 100644
--- a/meta/files/toolchain-shar-extract.sh
+++ b/meta/files/toolchain-shar-extract.sh
@@ -182,7 +182,9 @@ fi
 
 echo "SDK has been successfully set up and is ready to be used."
 echo "Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g."
-echo " \$ . $target_sdk_dir/environment-setup-@REAL_MULTIMACH_TARGET_SYS@"
+for env_setup_script in `ls $target_sdk_dir/environment-setup-*`; do
+	echo " \$ . $target_sdk_dir/$env_setup_script"
+done
 
 exit 0
 




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-09-29 12:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-29 12:43 [PATCH] toolchain-shar-extract: Correct environment-setup script names for multilib Richard Purdie

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