mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-24 21:44:29 +00:00
16 lines
586 B
Bash
Executable File
16 lines
586 B
Bash
Executable File
#!/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
|