Adding submodule update script for FPGA tools.
This commit is contained in:
11
scripts/init-fpga.sh
Executable file
11
scripts/init-fpga.sh
Executable 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
|
||||||
@@ -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-synopsys-plugins.update none
|
||||||
git config submodule.vlsi/hammer-mentor-plugins.update none
|
git config submodule.vlsi/hammer-mentor-plugins.update none
|
||||||
git config submodule.software/firemarshal.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
|
git submodule update --init --recursive #--jobs 8
|
||||||
|
|
||||||
# Un-ignore toolchain submodules
|
# Un-ignore toolchain submodules
|
||||||
|
|||||||
Reference in New Issue
Block a user