aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2016-09-21 11:01:34 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2016-09-21 11:06:01 -0700
commit424ee2ef47feaa51b61dc7a34f5a533ef40aab14 (patch)
tree667dfa934006bf57b460c2ac9b23435d66f31677
parent4d7e0824dbc1d57d0ff987a4499bd118b3dbe563 (diff)
downloadriscv-tools-424ee2ef47feaa51b61dc7a34f5a533ef40aab14.zip
riscv-tools-424ee2ef47feaa51b61dc7a34f5a533ef40aab14.tar.gz
riscv-tools-424ee2ef47feaa51b61dc7a34f5a533ef40aab14.tar.bz2
Provide an RV32IMA build script, rather than RV32IM
The old script was actually building an RV32IMA toolchain and an RV32IM spike. This reconciles the difference, and then allows building riscv-pk.
-rwxr-xr-xbuild-rv32ima.sh (renamed from build-rv32im.sh)3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-rv32im.sh b/build-rv32ima.sh
index 6eecac9..8f75705 100755
--- a/build-rv32im.sh
+++ b/build-rv32ima.sh
@@ -8,7 +8,8 @@
echo "Starting RISC-V Toolchain build process"
build_project riscv-fesvr --prefix=$RISCV
-build_project riscv-isa-sim --prefix=$RISCV --with-fesvr=$RISCV --with-isa=RV32IM
+build_project riscv-isa-sim --prefix=$RISCV --with-fesvr=$RISCV --with-isa=RV32IMA
build_project riscv-gnu-toolchain --prefix=$RISCV --with-arch=RV32IMA
+CC= CXX= build_project riscv-pk --prefix=$RISCV --host=riscv32-unknown-elf
echo -e "\\nRISC-V Toolchain installation completed!"