Browse Source

prefer http downloads over svn/git checkouts, remove git dependency

SVN-Revision: 9567
Felix Fietkau 18 years ago
parent
commit
5a9cdef549
2 changed files with 1 additions and 11 deletions
  1. 1 3
      include/download.mk
  2. 0 8
      include/prereq-build.mk

+ 1 - 3
include/download.mk

@@ -39,9 +39,7 @@ define DownloadMethod/default
 endef
 
 define wrap_mirror
-	@$(if $(CONFIG_LOCALMIRROR),$(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "x" || ) \
-	( $(1) ) \
-	$(if $(CONFIG_LOCALMIRROR),, || $(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "x")
+	@$(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "x" || ( $(1) )
 endef
 
 define DownloadMethod/svn

+ 0 - 8
include/prereq-build.mk

@@ -119,14 +119,6 @@ $(eval $(call Require,gnutar, \
 	Please install GNU tar. \
 ))
 
-define Require/git
-	which git-clone
-endef
-
-$(eval $(call Require,git, \
-	Please install git. \
-))
-
 $(eval $(call RequireCommand,svn, \
 	Please install the subversion client. \
 ))