Skip to content

Commit 23f5c4d

Browse files
committed
scripts: Fix incorrect Linux host tools setup invocation
When invoking the host tools setup SFX, the POSIX setup script incorrectly assumed that the host architecture for Linux is always x86-64. This commit updates the setup script to invoke the host tools setup SFX of the host architecture that is running the script. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent 7ee32e0 commit 23f5c4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/template_setup_posix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ if [ "${do_hosttools}" = "y" ]; then
102102
echo "Installing host tools ..."
103103
case ${OSTYPE} in
104104
linux-gnu*)
105-
./zephyr-sdk-x86_64-hosttools-standalone-0.9.sh -y -d .
105+
./zephyr-sdk-${HOSTTYPE}-hosttools-standalone-0.9.sh -y -d .
106106
;;
107107
darwin*)
108108
echo "SKIPPED: macOS host tools are not available yet."

0 commit comments

Comments
 (0)