Merge branch 'main' of https://github.com/efabless/caravel_project_example into main
diff --git a/Makefile b/Makefile index 01aa01f..43e7db2 100644 --- a/Makefile +++ b/Makefile
@@ -54,7 +54,7 @@ install: ifeq ($(SUBMODULE),1) @echo "Installing $(CARAVEL_NAME) as a submodule.." - @git submodule add --name $(CARAVEL_NAME) $(CARAVEL_REPO) $(CARAVEL_ROOT) + @if [ ! -d $(CARAVEL_ROOT) ]; then git submodule add --name $(CARAVEL_NAME) $(CARAVEL_REPO) $(CARAVEL_ROOT); fi @git submodule update --init $(MAKE) simlink else