Merge pull request 'add command to download prerequisites' (#1) from Pavel/sh-elf-gcc:master into master

Reviewed-on: https://gitea.planet-casio.com/Lephenixnoir/sh-elf-gcc/pulls/1
This commit is contained in:
Lephenixnoir 2021-11-20 15:33:28 +01:00
commit 0c7154437d
1 changed files with 6 additions and 0 deletions

View File

@ -55,6 +55,12 @@ fi
echo "$TAG Extracting $ARCHIVE..."
unxz -c < $ARCHIVE | tar -xf -
# Download prerequisites
cd gcc-$VERSION
./contrib/download_prerequisites
cd ..
# Create build folder
[[ -d "build" ]] && rm -rf build