Skip to content
Snippets Groups Projects
Commit 32307552 authored by dam1n19's avatar dam1n19
Browse files

Updated repo init

parent 213dfa52
No related branches found
No related tags found
No related merge requests found
...@@ -18,3 +18,11 @@ ...@@ -18,3 +18,11 @@
path = secworks-sha256 path = secworks-sha256
url = git@git.soton.ac.uk:soclabs/secworks-sha256.git url = git@git.soton.ac.uk:soclabs/secworks-sha256.git
branch = main branch = main
[submodule "$DESIGN_ROOT/accelerator-wrapper"]
branch = main
[submodule "$DESIGN_ROOT/CHIPKIT"]
branch = main
[submodule "$DESIGN_ROOT/nanosoc"]
branch = main
[submodule "$DESIGN_ROOT/socsim"]
branch = main
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
#!/bin/bash #!/bin/bash
echo "set_env root"
# Get Root Location of Design Structure # Get Root Location of Design Structure
if [ -z $DESIGN_ROOT ]; then if [ -z $DESIGN_ROOT ]; then
# If $DESIGN_ROOT hasn't been set yet # If $DESIGN_ROOT hasn't been set yet
...@@ -38,7 +37,6 @@ else ...@@ -38,7 +37,6 @@ else
# Source environment variables for all submodules # Source environment variables for all submodules
for d in $SOC_TOP_DIR/* ; do for d in $SOC_TOP_DIR/* ; do
if [ -e "$d/.git" ]; then if [ -e "$d/.git" ]; then
echo $d
if [ -f "$d/set_env.sh" ]; then if [ -f "$d/set_env.sh" ]; then
# If .git file exists - submodule # If .git file exists - submodule
source $d/set_env.sh source $d/set_env.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment