infra: introduce github helper function
authorMischa Jonker <Mischa.Jonker@synopsys.com>
Thu, 5 Dec 2013 17:20:44 +0000 (18:20 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 6 Dec 2013 21:34:51 +0000 (22:34 +0100)
commitbb083e95cfae94a3a50551a2004f5ccdb02189a6
tree2a0b821ee8126ead3bc6e4a6139d12f38fcbe06b
parent877aa47659e770067205180abef22c28e49bde21
infra: introduce github helper function

In order to make it easier to cope with changes in github download-URL's,
this patch introduces the github helper function. It generates the site
URL of a github repository. It's usage is $(call github,user,pkg,version).

[Thomas: extracted from Mischa original commit, macro moved to
pkg-download.mk]

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>
package/pkg-download.mk