Adding submodule update script for FPGA tools.

This commit is contained in:
James Dunn
2020-09-02 13:27:31 -07:00
parent a8834c7766
commit 3b6d584672
2 changed files with 13 additions and 0 deletions

11
scripts/init-fpga.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# exit script if any command fails
set -e
set -o pipefail
# Enable submodule update for FPGA tools.
git config --unset submodule.fpga/fpga-shells.update
# Initialize local FPGA tools.
git submodule update --init --recursive fpga/fpga-shells
# Disable submodule update for FPGA tools.
git config submodule.fpga/fpga-shells.update none

View File

@@ -39,6 +39,8 @@ git config submodule.vlsi/hammer-cadence-plugins.update none
git config submodule.vlsi/hammer-synopsys-plugins.update none
git config submodule.vlsi/hammer-mentor-plugins.update none
git config submodule.software/firemarshal.update none
# Disable updates to the local FPGA tools
git config submodule.fpga/fpga-shells.update none
git submodule update --init --recursive #--jobs 8
# Un-ignore toolchain submodules