[openwrt/openwrt] downloads.mk: introduce name-agnostic PROJECT_GIT variable

LEDE Commits lede-commits at lists.infradead.org
Wed Jan 10 12:27:50 PST 2018


jow pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/4700544e4068cb72932148ac1ecd294ca1388671

commit 4700544e4068cb72932148ac1ecd294ca1388671
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Fri Jan 5 10:43:55 2018 +0100

    downloads.mk: introduce name-agnostic PROJECT_GIT variable
    
    Introduce a name-agnostic PROJECT_GIT variable poiting to
    https://git.openwrt.org/ and declare LEDE_GIT and OPENWRT_GIT
    as aliases to it.
    
    After some transition time we can drop this alias variables.
    
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
 include/download.mk | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/include/download.mk b/include/download.mk
index 0a25641..2ba8a7b 100644
--- a/include/download.mk
+++ b/include/download.mk
@@ -6,8 +6,10 @@
 # See /LICENSE for more information.
 #
 
-OPENWRT_GIT = http://git.openwrt.org
-LEDE_GIT = https://git.lede-project.org
+PROJECT_GIT = https://git.openwrt.org
+
+OPENWRT_GIT = $(PROJECT_GIT)
+LEDE_GIT = $(PROJECT_GIT)
 
 ifdef PKG_SOURCE_VERSION
 PKG_VERSION ?= $(if $(PKG_SOURCE_DATE),$(PKG_SOURCE_DATE)-)$(call version_abbrev,$(PKG_SOURCE_VERSION))



More information about the lede-commits mailing list