From 3fe00ce32aae94a26a81b0ab6ef37de5c893e5db Mon Sep 17 00:00:00 2001 From: Christopher Celio Date: Wed, 4 May 2016 16:23:21 -0700 Subject: [PATCH] Update README.md - Removed instruction to checkout riscv-tests (as they are now globally installed when building the riscv-tools). - Clarified the riscv-tools set-up information to clarify that the rocket-chip/riscv-tools is the version to build. --- README.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6310a1f0..e6d40990 100644 --- a/README.md +++ b/README.md @@ -22,18 +22,26 @@ the RISC-V Rocket Core. For more information on Rocket Chip, please consult our $ git clone https://github.com/ucb-bar/rocket-chip.git $ cd rocket-chip $ git submodule update --init - $ cd riscv-tools - $ git submodule update --init --recursive riscv-tests ### Setting up the RISCV environment variable To build the rocket-chip repository, you must point the RISCV -environment variable to your riscv-tools installation directory. If you -do not yet have riscv-tools installed, please follow the directions in -the -[riscv-tools/README](https://github.com/riscv/riscv-tools/blob/master/README.md). +environment variable to your riscv-tools installation directory. $ export RISCV=/path/to/riscv/toolchain/installation + +The riscv-tools repository is already included in +rocket-chip as a git submodule. You **must** build this version +of riscv-tools: + + $ cd rocket-chip/riscv-tools + $ git submodule update --init --recursive + $ export RISCV=/path/to/install/riscv/toolchain + $ ./build.sh + +For more information (or if you run into any issues), please consult the +[riscv-tools/README](https://github.com/riscv/riscv-tools/blob/master/README.md). + ### Building The Project