summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/pkg-download.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/pkg-download.mk b/package/pkg-download.mk
index 8e4a1ec33b..758b211097 100644
--- a/package/pkg-download.mk
+++ b/package/pkg-download.mk
@@ -55,6 +55,9 @@ notdomain=$(patsubst $(call domain,$(1),$(2))$(call domainseparator,$(2))%,%,$(c
# default domainseparator is /, specify alternative value as first argument
domainseparator=$(if $(1),$(1),/)
+# github(user,package,version): returns site of github repository
+github = https://github.com/$(1)/$(2)/tarball/$(3)
+
################################################################################
# The DOWNLOAD_* helpers are in charge of getting a working copy
# of the source repository for their corresponding SCM,
OpenPOWER on IntegriCloud