summaryrefslogtreecommitdiffstats
path: root/docs/manual/adding-packages-tips.txt
diff options
context:
space:
mode:
authorMischa Jonker <Mischa.Jonker@synopsys.com>2013-12-05 18:20:45 +0100
committerPeter Korsgaard <peter@korsgaard.com>2013-12-06 22:37:34 +0100
commitc7c7d0697c00e45bcfad15b027f5c66005f4c005 (patch)
treec9fca7ad9f24d6bed30227e52e3198418987e41a /docs/manual/adding-packages-tips.txt
parentbb083e95cfae94a3a50551a2004f5ccdb02189a6 (diff)
downloadbuildroot-c7c7d0697c00e45bcfad15b027f5c66005f4c005.tar.gz
buildroot-c7c7d0697c00e45bcfad15b027f5c66005f4c005.zip
docs: document the new github helper function
[Thomas: splitted from Mischa original commit] Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'docs/manual/adding-packages-tips.txt')
-rw-r--r--docs/manual/adding-packages-tips.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/manual/adding-packages-tips.txt b/docs/manual/adding-packages-tips.txt
index 00244fe7b2..73c25be015 100644
--- a/docs/manual/adding-packages-tips.txt
+++ b/docs/manual/adding-packages-tips.txt
@@ -41,11 +41,12 @@ How to add a package from github
Packages on github often don't have a download area with release tarballs.
However, it is possible to download tarballs directly from the repository
-on github.
+on github. As github is known to have changed download mechanisms in the
+past, the 'github' helper function should be used as shown below.
------------------------
FOO_VERSION = v1.0 # tag or full commit ID
-FOO_SITE = http://github.com/<user>/<package>/tarball/$(FOO_VERSION)
+FOO_SITE = $(call github,<user>,<package>,$(FOO_VERSION))
------------------------
.Notes
OpenPOWER on IntegriCloud