Add an option to build-setup to only init submodules

This commit is contained in:
David Biancolin 2018-07-31 14:17:44 -07:00
parent 87ff72cd0b
commit ac57b497a5
1 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,9 @@ FASTINSTALL=false
if [ $# -eq 0 ]; then
# handle case where no args passed. default to FASTINSTALL false
FASTINSTALL=false
elif [ "$1" = "submodules-only" ]; then
# Only initialize submodules
exit
elif [ "$1" = "fast" ]; then
git clone https://github.com/firesim/firesim-riscv-tools-prebuilt.git
cd firesim-riscv-tools-prebuilt