summaryrefslogtreecommitdiffstats
path: root/include/download.mk
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-04-09 10:25:34 +0000
committerJohn Crispin <john@openwrt.org>2016-04-09 10:25:34 +0000
commit5c408ede6ce4fe37f9b659f2c3420912e1e2bd9b (patch)
tree062886b658a0bc75efc4ff27d47891ca9898645d /include/download.mk
parent0039bc665cd805542703cbed31628a58544eaca1 (diff)
downloadmaster-31e0f0ae-5c408ede6ce4fe37f9b659f2c3420912e1e2bd9b.tar.gz
master-31e0f0ae-5c408ede6ce4fe37f9b659f2c3420912e1e2bd9b.tar.bz2
master-31e0f0ae-5c408ede6ce4fe37f9b659f2c3420912e1e2bd9b.zip
download: add @GITHUB download facility
Define a new alias (@GITHUB) for downloading raw github repository files Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 49138
Diffstat (limited to 'include/download.mk')
-rw-r--r--include/download.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/download.mk b/include/download.mk
index 63af908114..a359514002 100644
--- a/include/download.mk
+++ b/include/download.mk
@@ -13,7 +13,7 @@ DOWNLOAD_RDEP=$(STAMP_PREPARED) $(HOST_STAMP_PREPARED)
define dl_method
$(strip \
$(if $(2),$(2), \
- $(if $(filter @APACHE/% @GNOME/% @GNU/% @KERNEL/% @SF/% @SAVANNAH/% ftp://% http://% https://% file://%,$(1)),default, \
+ $(if $(filter @APACHE/% @GITHUB/% @GNOME/% @GNU/% @KERNEL/% @SF/% @SAVANNAH/% ftp://% http://% https://% file://%,$(1)),default, \
$(if $(filter git://%,$(1)),git, \
$(if $(filter svn://%,$(1)),svn, \
$(if $(filter cvs://%,$(1)),cvs, \