File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -263,25 +263,25 @@ Or you can upgrade specific submodule only.
263263
264264 git submodule update --remote <component>
265265
266- For example, upgrade riscv- gcc only, you can using following command:
266+ For example, upgrade gcc only, you can using following command:
267267
268- git submodule update --remote riscv- gcc
268+ git submodule update --remote gcc
269269
270270#### How to Check Which Branch are Used for Specific submodule
271271
272272The branch info has recorded in ` .gitmodules ` file, which can set or update via
273273` git submodule add -b ` or ` git submodule set-branch ` .
274274
275275However the only way to check which branch are using is to check ` .gitmodules `
276- file, here is the example for ` riscv- gcc` , it using riscv- gcc-10.2.0 branch, so
277- it will has a section named ` riscv- gcc` and has a field ` branch ` is
278- ` riscv- gcc-10.2.0 ` .
276+ file, here is the example for ` gcc ` , it's using releases/ gcc-12 branch, so
277+ it will has a section named ` gcc ` and has a field ` branch ` is
278+ ` releases/ gcc-12 ` .
279279
280280```
281- [submodule "riscv- gcc"]
282- path = riscv- gcc
283- url = ../riscv- gcc.git
284- branch = riscv- gcc-10.2.0
281+ [submodule "gcc"]
282+ path = gcc
283+ url = ../gcc.git
284+ branch = releases/ gcc-12
285285```
286286
287287#### Use Source Tree Other Than ` riscv-gnu-toolchain `
You can’t perform that action at this time.
0 commit comments