docs: fix $(PKG)_SITE_METHOD names (UPPER CASE => lower case)
Currently, the documentation says $(PKG)_SITE_METHOD should have upper case names such as SVN or GIT, but the implementation only accepts lower case svn or git. This fixes the documentation. Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
d7c595749d
commit
f210ab4e2f
@ -1060,17 +1060,17 @@ $(eval $(call GENTARGETS,package,libfoo,host))
|
|||||||
|
|
||||||
<li><code>LIBFOO_SITE_METHOD</code> may contain the method to
|
<li><code>LIBFOO_SITE_METHOD</code> may contain the method to
|
||||||
fetch the package source code. It can either
|
fetch the package source code. It can either
|
||||||
be <code>WGET</code> (for normal FTP/HTTP downloads of
|
be <code>wget</code> (for normal FTP/HTTP downloads of
|
||||||
tarballs), <code>SVN</code> or <code>GIT</code>. When not
|
tarballs), <code>svn</code> or <code>git</code>. When not
|
||||||
specified, it is guessed from the URL given
|
specified, it is guessed from the URL given
|
||||||
in <code>LIBFOO_SITE</code>: <code>git://</code>
|
in <code>LIBFOO_SITE</code>: <code>git://</code>
|
||||||
and <code>svn://</code> URLs will use the <code>GIT</code>
|
and <code>svn://</code> URLs will use the <code>git</code>
|
||||||
and <code>SVN</code> methods respectively. All other URL-types
|
and <code>svn</code> methods respectively. All other URL-types
|
||||||
will use the <code>WGET</code> method. So for example, in the
|
will use the <code>wget</code> method. So for example, in the
|
||||||
case of a package whose source code is available through
|
case of a package whose source code is available through
|
||||||
Subversion repository on HTTP, one <i>must</i>
|
Subversion repository on HTTP, one <i>must</i>
|
||||||
specifiy <code>LIBFOO_SITE_METHOD=SVN</code>. For <code>SVN</code>
|
specifiy <code>LIBFOO_SITE_METHOD=svn</code>. For <code>svn</code>
|
||||||
and <code>GIT</code> methods, what Buildroot does is a
|
and <code>git</code> methods, what Buildroot does is a
|
||||||
checkout/clone of the repository which is then tarballed and
|
checkout/clone of the repository which is then tarballed and
|
||||||
stored into the download cache. Next builds will not
|
stored into the download cache. Next builds will not
|
||||||
checkout/clone again, but will use the tarball
|
checkout/clone again, but will use the tarball
|
||||||
|
Loading…
Reference in New Issue
Block a user