[VENTUS][RISCV][fix] Setting PATH in assemble.sh to get correct tools

This commit is contained in:
zhoujing 2023-07-14 11:58:45 +08:00
parent fabfe7b62c
commit cb6fe8a2a1
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@
echo "converting object file:"
echo $1
script_dir=$(cd "$(dirname "$0")" && pwd)
export PATH=$script_dir/install/bin:$PATH
llvm-objdump -d --mattr=+v $1.riscv > $1.dump
llvm-objcopy -O binary -j .text $1.riscv $1.temp
hexdump -e '1/4 "%08x" "\n"' $1.temp > $1.vmem