Bump buildroot to version 2017-02
TG-3 #closed
This commit is contained in:
@@ -81,7 +81,8 @@ define DOWNLOAD_GIT
|
||||
-- \
|
||||
$($(PKG)_SITE) \
|
||||
$($(PKG)_DL_VERSION) \
|
||||
$($(PKG)_BASE_NAME)
|
||||
$($(PKG)_RAW_BASE_NAME) \
|
||||
$($(PKG)_DL_OPTS)
|
||||
endef
|
||||
|
||||
# TODO: improve to check that the given PKG_DL_VERSION exists on the remote
|
||||
@@ -97,7 +98,8 @@ define DOWNLOAD_BZR
|
||||
-- \
|
||||
$($(PKG)_SITE) \
|
||||
$($(PKG)_DL_VERSION) \
|
||||
$($(PKG)_BASE_NAME)
|
||||
$($(PKG)_RAW_BASE_NAME) \
|
||||
$($(PKG)_DL_OPTS)
|
||||
endef
|
||||
|
||||
define SOURCE_CHECK_BZR
|
||||
@@ -112,7 +114,8 @@ define DOWNLOAD_CVS
|
||||
$(call stripurischeme,$(call qstrip,$($(PKG)_SITE))) \
|
||||
$($(PKG)_DL_VERSION) \
|
||||
$($(PKG)_RAWNAME) \
|
||||
$($(PKG)_BASE_NAME)
|
||||
$($(PKG)_RAW_BASE_NAME) \
|
||||
$($(PKG)_DL_OPTS)
|
||||
endef
|
||||
|
||||
# Not all CVS servers support ls/rls, use login to see if we can connect
|
||||
@@ -127,7 +130,8 @@ define DOWNLOAD_SVN
|
||||
-- \
|
||||
$($(PKG)_SITE) \
|
||||
$($(PKG)_DL_VERSION) \
|
||||
$($(PKG)_BASE_NAME)
|
||||
$($(PKG)_RAW_BASE_NAME) \
|
||||
$($(PKG)_DL_OPTS)
|
||||
endef
|
||||
|
||||
define SOURCE_CHECK_SVN
|
||||
@@ -143,7 +147,8 @@ define DOWNLOAD_SCP
|
||||
-H $(PKGDIR)/$($(PKG)_RAWNAME).hash \
|
||||
$(QUIET) \
|
||||
-- \
|
||||
'$(call stripurischeme,$(call qstrip,$(1)))'
|
||||
'$(call stripurischeme,$(call qstrip,$(1)))' \
|
||||
$($(PKG)_DL_OPTS)
|
||||
endef
|
||||
|
||||
define SOURCE_CHECK_SCP
|
||||
@@ -157,7 +162,8 @@ define DOWNLOAD_HG
|
||||
-- \
|
||||
$($(PKG)_SITE) \
|
||||
$($(PKG)_DL_VERSION) \
|
||||
$($(PKG)_BASE_NAME)
|
||||
$($(PKG)_RAW_BASE_NAME) \
|
||||
$($(PKG)_DL_OPTS)
|
||||
endef
|
||||
|
||||
# TODO: improve to check that the given PKG_DL_VERSION exists on the remote
|
||||
@@ -172,7 +178,8 @@ define DOWNLOAD_WGET
|
||||
-H $(PKGDIR)/$($(PKG)_RAWNAME).hash \
|
||||
$(QUIET) \
|
||||
-- \
|
||||
'$(call qstrip,$(1))'
|
||||
'$(call qstrip,$(1))' \
|
||||
$($(PKG)_DL_OPTS)
|
||||
endef
|
||||
|
||||
define SOURCE_CHECK_WGET
|
||||
@@ -185,7 +192,8 @@ define DOWNLOAD_LOCALFILES
|
||||
-H $(PKGDIR)/$($(PKG)_RAWNAME).hash \
|
||||
$(QUIET) \
|
||||
-- \
|
||||
$(call stripurischeme,$(call qstrip,$(1)))
|
||||
$(call stripurischeme,$(call qstrip,$(1))) \
|
||||
$($(PKG)_DL_OPTS)
|
||||
endef
|
||||
|
||||
define SOURCE_CHECK_LOCALFILES
|
||||
@@ -202,6 +210,10 @@ endef
|
||||
#
|
||||
# E.G. use like this:
|
||||
# $(call DOWNLOAD,$(FOO_SITE))
|
||||
#
|
||||
# For PRIMARY and BACKUP site, any ? in the URL is replaced by %3F. A ? in
|
||||
# the URL is used to separate query arguments, but the PRIMARY and BACKUP
|
||||
# sites serve just plain files.
|
||||
################################################################################
|
||||
|
||||
define DOWNLOAD
|
||||
@@ -218,7 +230,7 @@ define DOWNLOAD_INNER
|
||||
case "$(call geturischeme,$(BR2_PRIMARY_SITE))" in \
|
||||
file) $(call $(3)_LOCALFILES,$(BR2_PRIMARY_SITE)/$(2),$(2)) && exit ;; \
|
||||
scp) $(call $(3)_SCP,$(BR2_PRIMARY_SITE)/$(2),$(2)) && exit ;; \
|
||||
*) $(call $(3)_WGET,$(BR2_PRIMARY_SITE)/$(2),$(2)) && exit ;; \
|
||||
*) $(call $(3)_WGET,$(BR2_PRIMARY_SITE)/$(subst ?,%3F,$(2)),$(2)) && exit ;; \
|
||||
esac ; \
|
||||
fi ; \
|
||||
if test "$(BR2_PRIMARY_SITE_ONLY)" = "y" ; then \
|
||||
@@ -237,7 +249,7 @@ define DOWNLOAD_INNER
|
||||
esac ; \
|
||||
fi ; \
|
||||
if test -n "$(call qstrip,$(BR2_BACKUP_SITE))" ; then \
|
||||
$(call $(3)_WGET,$(BR2_BACKUP_SITE)/$(2),$(2)) && exit ; \
|
||||
$(call $(3)_WGET,$(BR2_BACKUP_SITE)/$(subst ?,%3F,$(2)),$(2)) && exit ; \
|
||||
fi ; \
|
||||
exit 1
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user