aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorNathan Lynch <ntl@pobox.com>2012-06-17 11:54:01 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-07-02 07:32:37 +0200
commitfe8d4626f0225285eed4190958a5dc75cbefd972 (patch)
tree7c3b4ec0ce176fb330326889a2ab879149b5ea17 /docs
parent9fd16a175b228888669a4e7b0b582c92893a9f7d (diff)
downloadbuildroot-novena-fe8d4626f0225285eed4190958a5dc75cbefd972.tar.gz
buildroot-novena-fe8d4626f0225285eed4190958a5dc75cbefd972.zip
docs: describe "file" and "local" methods in LIBFOO_SITE_METHOD
Based on description by Thomas Petazzoni at: http://free-electrons.com/blog/buildroot-2011-11/ Signed-off-by: Nathan Lynch <ntl@pobox.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'docs')
-rw-r--r--docs/manual/adding-packages-gentargets.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/manual/adding-packages-gentargets.txt b/docs/manual/adding-packages-gentargets.txt
index b296ac4d6..84cf06bd2 100644
--- a/docs/manual/adding-packages-gentargets.txt
+++ b/docs/manual/adding-packages-gentargets.txt
@@ -209,6 +209,14 @@ information is (assuming the package name is +libfoo+) :
** +bzr+ for retrieving source code from a Bazaar repository. Used
by default when +LIBFOO_SITE+ begins with +bzr://+. The
downloaded source code is cached as with the +svn+ method.
+ ** +file+ for a local tarball. One should use this when
+ +LIBFOO_SITE+ specifies a package tarball as a local filename.
+ Useful for software that isn't available publicly or in version
+ control.
+ ** +local+ for a local source code directory. One should use this
+ when +LIBFOO_SITE+ specifies a local directory path containing
+ the package source code. Buildroot copies the contents of the
+ source directory into the package's build directory.
* +LIBFOO_DEPENDENCIES+ lists the dependencies (in terms of package
name) that are required for the current target package to