Docker build script : use $GCC_ARM_PATH in wget command that downloads GCC to avoid code duplication.

This commit is contained in:
Jean-François Milants 2023-01-04 16:57:39 +01:00
parent ea024ebd05
commit d249e328ba

View file

@ -46,7 +46,7 @@ main() {
} }
GetGcc() { GetGcc() {
wget -q https://developer.arm.com/-/media/Files/downloads/gnu/$GCC_ARM_VER/binrel/arm-gnu-toolchain-$GCC_ARM_VER-$MACHINE-arm-none-eabi.tar.xz -O - | tar -xJ -C $TOOLS_DIR/ wget -q https://developer.arm.com/-/media/Files/downloads/gnu/$GCC_ARM_VER/binrel/$GCC_ARM_PATH.tar.xz -O - | tar -xJ -C $TOOLS_DIR/
} }
GetMcuBoot() { GetMcuBoot() {