Skip to content

Commit 26a3d2d

Browse files
Removed all .PHONY targets and added recipe for simulate
1 parent e84b1b1 commit 26a3d2d

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

Diff for: Makefile

+8-11
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,20 @@ REGR := regr
44
REGR-DIR := $(dir $(DV_AZADI)/$(REGR)/)
55
gen-regr := $(REGR-DIR)
66

7+
all: simulate
8+
9+
.PHONY: all
10+
711
$(gen-regr): %:
812
mkdir -p $@
913

10-
.PHONY: all
11-
all: env verify
14+
setup: env verify
1215

13-
.PHONY: env
1416
env: google_riscv-dv azadi-new
1517

1618
$(DV_AZADI)/google_riscv-dv:
1719
git clone https://github.com/google/riscv-dv.git $(DV_AZADI)/google_riscv-dv
1820

19-
.PHONY: google_riscv-dv
2021
google_riscv-dv: check-env $(DV_AZADI)/google_riscv-dv
2122
cd $(DV_AZADI)/google_riscv-dv && \
2223
git checkout master && git pull && \
@@ -26,22 +27,18 @@ google_riscv-dv: check-env $(DV_AZADI)/google_riscv-dv
2627
$(DV_AZADI)/azadi-new:
2728
git clone https://github.com/merledu/azadi-new.git $(DV_AZADI)/azadi-new
2829

29-
.PHONY: azadi-new
3030
azadi-new: check-env $(DV_AZADI)/azadi-new
3131
cd $(DV_AZADI)/azadi-new && \
3232
git checkout main && git pull && \
3333
git checkout -qf $(AZADI_COMMIT)
3434

35-
.PHONY: verify
3635
verify: $(gen-regr)
3736
cd $(DV_AZADI)/regr && \
38-
make -f $(DV_AZADI)/azadi-verify/env/core/vendor/core_ibex/Makefile \
39-
TEST=riscv_arithmetic_basic_test \
40-
ITERATIONS=1
37+
make -f $(DV_AZADI)/azadi-verify/env/core/vendor/core_ibex/Makefile TEST=riscv_arithmetic_basic_test ITERATIONS=1
4138

39+
simulate:
40+
make -f $(DV_AZADI)/azadi-verify/env/core/vendor/core_ibex/Makefile
4241

43-
# echo "verify"
44-
# $(info $$DV_AZADI is [${DV_AZADI}])
4542

4643
check-env:
4744
ifndef DV_AZADI

0 commit comments

Comments
 (0)