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

View file

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