cvw/Makefile

24 lines
687 B
Makefile
Raw Normal View History

2021-12-21 05:10:14 +00:00
all:
make install
make compile
make regression
2021-12-21 05:10:14 +00:00
# install copies over the Makefile.include from riscv-isa-sim
# And corrects the TARGETDIR path and the RISCV_PREFIXZ
install:
cp ${RISCV}/riscv-isa-sim/arch_test_target/spike/Makefile.include addins/riscv-arch-test/
sed -i '/export TARGETDIR ?=/c\export TARGETDIR ?= ${RISCV}/riscv-isa-sim/arch_test_target' addins/riscv-arch-test/Makefile.include
echo export RISCV_PREFIX = riscv64-unknown-elf- >> addins/riscv-arch-test/Makefile.include
compile:
2021-12-01 07:02:02 +00:00
make -C addins/riscv-arch-test
make -C addins/riscv-arch-test XLEN=32
cd addins/riscv-arch-test; exe2memfile.pl work/*/*/*.elf
2021-12-21 05:10:14 +00:00
regression:
2021-11-17 20:17:56 +00:00
make -C wally-pipelined/regression