From 65b6e30d74af28ad9d9301517b7fed182dd1d014 Mon Sep 17 00:00:00 2001 From: Kito Cheng Date: Mon, 4 Jan 2021 11:22:48 +0800 Subject: Update doc to suggest don't init submodule manually --- README.md | 11 +++-------- 1 file 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 -- cgit v1.1