Merge branch 'main' of https://github.com/tuohangzeng/openfasoc_cryo_caravel into main
diff --git a/Makefile b/Makefile
index 4e877be..37b341c 100644
--- a/Makefile
+++ b/Makefile
@@ -21,14 +21,16 @@
# Install lite version of caravel, (1): caravel-lite, (0): caravel
CARAVEL_LITE?=1
-ifeq ($(CARAVEL_LITE),1)
+MPW_TAG ?= mpw-5c
+
+ifeq ($(CARAVEL_LITE),1)
CARAVEL_NAME := caravel-lite
CARAVEL_REPO := https://github.com/efabless/caravel-lite
- CARAVEL_TAG := 'mpw-5a'
+ CARAVEL_TAG := $(MPW_TAG)
else
CARAVEL_NAME := caravel
CARAVEL_REPO := https://github.com/efabless/caravel
- CARAVEL_TAG := 'mpw-5a'
+ CARAVEL_TAG := $(MPW_TAG)
endif
# Include Caravel Makefile Targets
@@ -100,7 +102,7 @@
# Default installs to the user home directory, override by "export PRECHECK_ROOT=<precheck-installation-path>"
.PHONY: precheck
precheck:
- @git clone --depth=1 --branch mpw-5a https://github.com/efabless/mpw_precheck.git $(PRECHECK_ROOT)
+ @git clone --depth=1 --branch $(MPW_TAG) https://github.com/efabless/mpw_precheck.git $(PRECHECK_ROOT)
@docker pull efabless/mpw_precheck:latest
.PHONY: run-precheck