Skip to content

Commit

Permalink
Download correct linaro toolchain for host machine
Browse files Browse the repository at this point in the history
This updates the `install_linaro.sh` script to change the installed tar based on the linux host architecture, windows mingw behavior is unchanged.

`uname -m` will return the correct machine identifier in the target triple, and correctly change the artifact to download from the linaro binary releases [here](https://releases.linaro.org/components/toolchain/binaries/7.5-2019.12/arm-eabi/)
  • Loading branch information
lockbox authored Feb 15, 2024
1 parent 05fb502 commit c8ad15b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/install_linaro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if [ x$OS == "xWindows_NT" ]
then
GCCFILE=gcc-linaro-7.5.0-2019.12-i686-mingw32_arm-eabi
else
GCCFILE=gcc-linaro-7.5.0-2019.12-i686_arm-eabi
GCCFILE=gcc-linaro-7.5.0-2019.12-${uname -m}_arm-eabi
fi

if [ -f ${GCCFILE}.tar.xz ]
Expand Down

0 comments on commit c8ad15b

Please sign in to comment.