ci: Update gcc-arm-none-eabi to 10.3-2021.10
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
9c7eea7949
commit
572f961136
|
@ -164,10 +164,10 @@ function arm-gcc-toolchain {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
cd "${prebuilt}"
|
cd "${prebuilt}"
|
||||||
wget --quiet https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-${flavor}.tar.bz2
|
wget --quiet https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-${flavor}.tar.bz2
|
||||||
tar jxf gcc-arm-none-eabi-9-2019-q4-major-${flavor}.tar.bz2
|
tar jxf gcc-arm-none-eabi-10.3-2021.10-${flavor}.tar.bz2
|
||||||
mv gcc-arm-none-eabi-9-2019-q4-major gcc-arm-none-eabi
|
mv gcc-arm-none-eabi-10.3-2021.10 gcc-arm-none-eabi
|
||||||
rm gcc-arm-none-eabi-9-2019-q4-major-${flavor}.tar.bz2
|
rm gcc-arm-none-eabi-10.3-2021.10-${flavor}.tar.bz2
|
||||||
fi
|
fi
|
||||||
arm-none-eabi-gcc --version
|
arm-none-eabi-gcc --version
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,7 +84,7 @@ WORKDIR /tools
|
||||||
FROM nuttx-toolchain-base AS nuttx-toolchain-arm
|
FROM nuttx-toolchain-base AS nuttx-toolchain-arm
|
||||||
# Download the latest ARM GCC toolchain prebuilt by ARM
|
# Download the latest ARM GCC toolchain prebuilt by ARM
|
||||||
RUN mkdir gcc-arm-none-eabi && \
|
RUN mkdir gcc-arm-none-eabi && \
|
||||||
curl -s -L "https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2?revision=108bd959-44bd-4619-9c19-26187abf5225&la=en&hash=E788CE92E5DFD64B2A8C246BBA91A249CB8E2D2D" \
|
curl -s -L "https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2" \
|
||||||
| tar -C gcc-arm-none-eabi --strip-components 1 -xj
|
| tar -C gcc-arm-none-eabi --strip-components 1 -xj
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
Loading…
Reference in New Issue