@@ -40,7 +40,7 @@ arm64_gcc_toolchain() {
4040 basefile=arm-gnu-toolchain-13.2.rel1-mingw-w64-i686-aarch64-none-elf
4141 cd " ${NUTTXTOOLS} "
4242 # Download the latest ARM64 GCC toolchain prebuilt by ARM
43- wget --quiet https://developer.arm.com/-/media/Files/downloads/gnu/13.2.Rel1/binrel/${basefile} .zip
43+ curl -O -L https://developer.arm.com/-/media/Files/downloads/gnu/13.2.Rel1/binrel/${basefile} .zip
4444 unzip -qo ${basefile} .zip
4545 mv ${basefile} gcc-aarch64-none-elf
4646 rm ${basefile} .zip
@@ -53,7 +53,7 @@ gen_romfs() {
5353 add_path " ${NUTTXTOOLS} " /genromfs/usr/bin
5454
5555 if ! type genromfs > /dev/null 2>&1 ; then
56- git clone https://bitbucket.org/nuttx/tools.git " ${NUTTXTOOLS} " /nuttx-tools
56+ git clone --depth 1 https://bitbucket.org/nuttx/tools.git " ${NUTTXTOOLS} " /nuttx-tools
5757 cd " ${NUTTXTOOLS} " /nuttx-tools
5858 tar zxf genromfs-0.5.2.tar.gz
5959 cd genromfs-0.5.2
@@ -67,7 +67,7 @@ kconfig_frontends() {
6767 add_path " ${NUTTXTOOLS} " /kconfig-frontends/bin
6868
6969 if [ ! -f " ${NUTTXTOOLS} /kconfig-frontends/bin/kconfig-conf" ]; then
70- git clone https://bitbucket.org/nuttx/tools.git " ${NUTTXTOOLS} " /nuttx-tools
70+ git clone --depth 1 https://bitbucket.org/nuttx/tools.git " ${NUTTXTOOLS} " /nuttx-tools
7171 cd " ${NUTTXTOOLS} " /nuttx-tools/kconfig-frontends
7272 ./configure --prefix=" ${NUTTXTOOLS} " /kconfig-frontends \
7373 --enable-mconf --disable-kconfig --disable-nconf --disable-qconf \
@@ -89,7 +89,7 @@ riscv_gcc_toolchain() {
8989 basefile=xpack-riscv-none-elf-gcc-13.2.0-2-win32-x64
9090 cd " ${NUTTXTOOLS} "
9191 # Download the latest RISCV GCC toolchain prebuilt by xPack
92- wget --quiet https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v13.2.0-2/${basefile} .zip
92+ curl -O -L https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v13.2.0-2/${basefile} .zip
9393 unzip -qo ${basefile} .zip
9494 mv xpack-riscv-none-elf-gcc-13.2.0-2 riscv-none-elf-gcc
9595 rm ${basefile} .zip
0 commit comments