diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-04-09 12:29:19 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-04-09 12:29:19 +0200 |
commit | 579b60aef9a4c5379027511b7566223cb36214df (patch) | |
tree | e50e7980d2431bb0e61323df8b890301c0235cbe /README.md | |
parent | d657e732c6bac2e50a8dacd39b68c3bfdb037843 (diff) | |
download | picorv32-579b60aef9a4c5379027511b7566223cb36214df.tar.gz picorv32-579b60aef9a4c5379027511b7566223cb36214df.zip |
Added "make build-riscv32i-tools" and friends
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -547,6 +547,20 @@ The commands will all be named using the prefix `riscv32-unknown-elf-`, which makes it easy to install them side-by-side with the regular riscv-tools (those are using the name prefix `riscv64-unknown-elf-` by default). +The following make targets build toolchains for `RV32I[M][C]` using this sequence +of commands (not including installing prerequisites): + +| Command | Install Directory | ISA | +|:---------------------------------------- |:------------------ |:-------- | +| `make -j$(nproc) build-riscv32i-tools` | `/opt/riscv32i/` | `RV32I` | +| `make -j$(nproc) build-riscv32ic-tools` | `/opt/riscv32ic/` | `RV32IC` | +| `make -j$(nproc) build-riscv32im-tools` | `/opt/riscv32im/` | `RV32IM` | +| `make -j$(nproc) build-riscv32imc-tools` | `/opt/riscv32imc/` | `RV32IMC` | + +By default calling any of those make targets will (re-)download the toolchain +sources. Run `make download-tools` to download the sources to `/var/cache/distfiles/` +once in advance. + *Note: This instructions are for git rev 3134bf4 (2016-04-08) of riscv-gnu-toolchain.* |