doc: describe source repository

Add a chapter to the HTML documentation describing how to retrieve the
U-Boot sources.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
Heinrich Schuchardt 2020-09-05 10:58:52 +02:00 committed by Tom Rini
parent 75fb7b9163
commit 2974ba4f65
2 changed files with 31 additions and 0 deletions

1
doc/build/index.rst vendored
View File

@ -6,5 +6,6 @@ Build U-Boot
.. toctree::
:maxdepth: 2
source
clang
tools

30
doc/build/source.rst vendored Normal file
View File

@ -0,0 +1,30 @@
Obtaining the source
=====================
The source of the U-Boot project is maintained in a Git repository.
You can download the source via
.. code-block:: bash
git clone https://gitlab.denx.de/u-boot/u-boot.git
A mirror of the source is maintained on Github
.. code-block:: bash
git clone https://github.com/u-boot/u-boot
The released versions are available as tags which use the naming scheme::
v<year>.<month>
Release candidates are named::
v<year>.<month>-rc<number>
To checkout the October 2020 release you would use:
.. code-block:: bash
git checkout v2020.10