forked from pulp-platform/culsans
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (22 loc) · 709 Bytes
/
Makefile
File metadata and controls
31 lines (22 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
VERILATE ?= 0
NB_CORES ?= 2
unit-tests:
make -C tests VERILATE=$(VERILATE) NB_CORES=$(NB_CORES) unit
regr-tests:
make -C tests VERILATE=$(VERILATE) NB_CORES=$(NB_CORES) regr
integration-tests:
make -C tests VERILATE=$(VERILATE) NB_CORES=$(NB_CORES) integration
test: regr-tests #integration-tests
sanity-tests:
make -C tests VERILATE=$(VERILATE) NB_CORES=$(NB_CORES) sanity
fpga:
make -C fpga all
sdk:
cd cva6-sdk/opensbi && git apply ../../patch/opensbi.patch
cd cva6-sdk && git apply ../patch/cva6-sdk.patch
make -C cva6-sdk images
clean:
make -C fpga clean
make -C tests clean
make -C cva6-sdk clean-all
.PHONY : fpga test sanity-tests unit-tests regr-tests integration-tests sdk clean