aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRonan Barzic <rbarzic@gmail.com>2016-07-01 10:42:45 +0200
committerGitHub <noreply@github.com>2016-07-01 10:42:45 +0200
commit6fb6d2a064b449e2f66929f1ecd18c0acfd86f5f (patch)
treee0596da197eeaa35dae7d817bebb6c90650da324 /README.md
parent2ffda4e4653a5b8d55b86e26019deea5aaa1bb96 (diff)
downloadriscv-gnu-toolchain-6fb6d2a064b449e2f66929f1ecd18c0acfd86f5f.zip
riscv-gnu-toolchain-6fb6d2a064b449e2f66929f1ecd18c0acfd86f5f.tar.gz
riscv-gnu-toolchain-6fb6d2a064b449e2f66929f1ecd18c0acfd86f5f.tar.bz2
Add instruction about submodules
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index a1f52c2..12b8d04 100644
--- a/README.md
+++ b/README.md
@@ -5,6 +5,20 @@ This is the RISC-V C and C++ cross-compiler. It supports two build modes:
a generic ELF/Newlib toolchain and a more sophisticated Linux-ELF/glibc
toolchain.
+### Getting the sources
+
+This repository uses submodules. You need the --recursive option to fetch the submodules automatically
+
+ $ git clone --recursive https://github.com/riscv/riscv-gnu-toolchain
+
+Alternatively :
+
+ $ git clone https://github.com/riscv/riscv-gnu-toolchain
+ $ cd riscv-gnu-toolchain
+ $ git submodule update --init --recursive
+
+
+
### Prerequisites
Several standard packages are needed to build the toolchain. On Ubuntu,