Download OpenEmbedded User Manual
Transcript
Chapter 9. Reference
9.13.5. git
The git fetcher is used to retrieve files from a git repository.
SRC_URI = "git://www.denx.de/git/u-boot.git;protocol=git;tag=${TAG}"
Supported options:
tag
The tag to retrieve. The default is "master".
protocol
The method to use to access the repository. Common options are "git" and "rsync". The default is
"rsync".
Related variables
GITDIR
The directory in which the git checkouts will be performed. The default is ${DL_DIR}/git.
DL_DIR
A compressed tar archive of the retrieved files will be placed in this directory. The archive name
will be of the form: "git_<host><mpath>_<tag>.tar.gz". Path separators in host will be replaced
with full stops.
9.13.6. Mirrors
The support for mirror sites enables spreading the load over sites and allows for downloads to occur even
when one of the mirror sites are unavailable.
Default mirrors, along with their primary URL, include:
GNU_MIRROR
ftp://ftp.gnu.org/gnu
DEBIAN_MIRROR
ftp://ftp.debian.org/debian/pool
131