cvw/Makefile

27 lines
1.0 KiB
Makefile
Raw Normal View History

2023-02-04 12:29:27 +00:00
# David_Harris@hmc.edu 2023
# Top-level Makefile for CORE-V-Wally
# SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1
2021-12-21 05:10:14 +00:00
all:
make install
make regression
2021-12-21 05:10:14 +00:00
# install copies over the Makefile.include from riscv-isa-sim
2023-01-16 04:27:12 +00:00
# And corrects the TARGETDIR path and the RISCV_PREFIX
2021-12-21 05:10:14 +00:00
install:
2023-01-16 04:27:12 +00:00
# *** 1/15/23 dh: check if any of this is still needed
#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
##cd tests/linux-testgen/linux-testvectors; source ./tvLinker.sh # needs to be run in local directory
##rm tests/imperas-riscv-tests/riscv-ovpsim-plus/bin/Linux64/riscvOVPsimPlus.exe
##ln -s ${RISCV}/imperas-riscv-tests/riscv-ovpsim-plus/bin/Linux64/riscvOVPsimPlus.exe tests/imperas-riscv-tests/riscv-ovpsim-plus/bin/Linux64/riscvOVPsimPlus.exe
2021-12-21 05:10:14 +00:00
regression:
2023-02-02 22:48:23 +00:00
make -C sim
2021-11-17 20:17:56 +00:00
2022-01-20 14:17:26 +00:00
clean:
2023-02-02 22:48:23 +00:00
make clean -C sim
2021-11-17 20:17:56 +00:00