mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-23 21:14:37 +00:00
Replaced build-coremark.sh with Makefile
This commit is contained in:
parent
7bdd9b2860
commit
c06a7e2bbd
@ -5,10 +5,10 @@ coremark.bare.riscv.objdump: coremark.bare.riscv
|
||||
riscv64-unknown-elf-objdump -D coremark.bare.riscv > coremark.bare.riscv.objdump
|
||||
|
||||
coremark.bare.riscv:
|
||||
make -C coremark PORT_DIR=./riscv64-baremetal compile RISCV=/courses/e190ax/riscvcompiler XCFLAGS="-march=rv64im"
|
||||
make -C coremark PORT_DIR=/home/harris/riscv-wally/benchmarks/riscv-coremark/riscv64-baremetal compile RISCV=/courses/e190ax/riscvcompiler XCFLAGS="-march=rv64im"
|
||||
mv coremark/coremark.bare.riscv .
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
clean:
|
||||
rm coremark.bare.riscv*
|
||||
rm -f coremark.bare.riscv*
|
@ -1,15 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
BASEDIR=$PWD
|
||||
|
||||
# run the compile
|
||||
echo "Start compilation"
|
||||
|
||||
#make -C ../../addins/coremark PORT_DIR=$BASEDIR/riscv64-baremetal compile RISCV=/courses/e190ax/riscvcompiler XCFLAGS="-march=rv64im"
|
||||
#mv ../../addins/coremark/coremark.bare.riscv $BASEDIR
|
||||
make -C coremark PORT_DIR=$BASEDIR/riscv64-baremetal compile RISCV=/courses/e190ax/riscvcompiler XCFLAGS="-march=rv64im"
|
||||
mv coremark/coremark.bare.riscv $BASEDIR
|
||||
riscv64-unknown-elf-objdump -D coremark.bare.riscv > coremark.bare.riscv.objdump #> coremarkcodemod.bare.riscv.objdump
|
||||
exe2memfile.pl coremark.bare.riscv
|
Loading…
Reference in New Issue
Block a user