summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2021-01-30 10:54:44 -1000
committerPaul Spooren <mail@aparcar.org>2021-02-05 12:00:24 -1000
commit8286f3a3d3a7d65d36ee312c6fd3828d4e4fd048 (patch)
tree7cb33c9ee69ac7b04f88c1927d12e42305a81358 /include
parent450ec48d61254e241ecfaa7d0cf9dec40473469d (diff)
downloadopenwrt-8286f3a3d3a7d65d36ee312c6fd3828d4e4fd048.tar.gz
openwrt-8286f3a3d3a7d65d36ee312c6fd3828d4e4fd048.tar.bz2
openwrt-8286f3a3d3a7d65d36ee312c6fd3828d4e4fd048.zip
treewide: unify OpenWrt hosted source via @OPENWRT
Multiple sources are hosted on OpenWrts source server only. The source URLs to point to the server vary based on different epochs in OpenWrts history. Replace all by @OPENWRT which is an "empty" mirror, therefore using the fallback servers sources.cdn.openwrt.org and sources.openwrt.org. Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'include')
-rw-r--r--include/download.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/download.mk b/include/download.mk
index a638e69382..c69d84939c 100644
--- a/include/download.mk
+++ b/include/download.mk
@@ -27,7 +27,7 @@ define dl_method
$(strip \
$(if $(filter git,$(2)),$(call dl_method_git,$(1),$(2)),
$(if $(2),$(2), \
- $(if $(filter @APACHE/% @GITHUB/% @GNOME/% @GNU/% @KERNEL/% @SF/% @SAVANNAH/% ftp://% http://% https://% file://%,$(1)),default, \
+ $(if $(filter @OPENWRT @APACHE/% @GITHUB/% @GNOME/% @GNU/% @KERNEL/% @SF/% @SAVANNAH/% ftp://% http://% https://% file://%,$(1)),default, \
$(if $(filter git://%,$(1)),$(call dl_method_git,$(1),$(2)), \
$(if $(filter svn://%,$(1)),svn, \
$(if $(filter cvs://%,$(1)),cvs, \