forked from haui/InfiniTime_mirror
Docker build script : use $GCC_ARM_PATH in wget command that downloads GCC to avoid code duplication.
This commit is contained in:
parent
ea024ebd05
commit
d249e328ba
|
@ -46,7 +46,7 @@ main() {
|
|||
}
|
||||
|
||||
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() {
|
||||
|
|
Loading…
Reference in a new issue