aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2021-01-04 11:22:48 +0800
committerKito Cheng <kito.cheng@sifive.com>2021-01-04 11:22:57 +0800
commit65b6e30d74af28ad9d9301517b7fed182dd1d014 (patch)
tree4e5d9a0d7e7307f8cbe60d9c7c3b90512fcacd2d
parentd3dfbee69fc23d083384051d2c3a55da993a9110 (diff)
downloadriscv-gnu-toolchain-65b6e30d74af28ad9d9301517b7fed182dd1d014.zip
riscv-gnu-toolchain-65b6e30d74af28ad9d9301517b7fed182dd1d014.tar.gz
riscv-gnu-toolchain-65b6e30d74af28ad9d9301517b7fed182dd1d014.tar.bz2
Update doc to suggest don't init submodule manually
-rw-r--r--README.md11
1 files changed, 3 insertions, 8 deletions
diff --git a/README.md b/README.md
index 3233894..6f3beac 100644
--- a/README.md
+++ b/README.md
@@ -9,16 +9,11 @@ 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 :
+This repository uses submodules, but submodules will fetch automatically on demand,
+so `--recursive` or `git submodule update --init --recursive` is not needed.
$ git clone https://github.com/riscv/riscv-gnu-toolchain
- $ cd riscv-gnu-toolchain
- $ git submodule update --init --recursive
-
+
**Warning: git clone takes around 6.65 GB of disk and download size**
### Prerequisites