|
@@ -75,17 +75,17 @@ export BR_NO_CHECK_HASH_FOR =
|
|
|
|
|
|
ifneq ($(call qstrip,$(BR2_PRIMARY_SITE)),)
|
|
ifneq ($(call qstrip,$(BR2_PRIMARY_SITE)),)
|
|
DOWNLOAD_URIS += \
|
|
DOWNLOAD_URIS += \
|
|
- -u $(call getschemeplusuri,$(call qstrip,$(BR2_PRIMARY_SITE)/$($(PKG)_DL_SUBDIR)),urlencode) \
|
|
|
|
- -u $(call getschemeplusuri,$(call qstrip,$(BR2_PRIMARY_SITE)),urlencode)
|
|
|
|
|
|
+ $(call getschemeplusuri,$(call qstrip,$(BR2_PRIMARY_SITE)/$($(PKG)_DL_SUBDIR)),urlencode) \
|
|
|
|
+ $(call getschemeplusuri,$(call qstrip,$(BR2_PRIMARY_SITE)),urlencode)
|
|
endif
|
|
endif
|
|
|
|
|
|
ifeq ($(BR2_PRIMARY_SITE_ONLY),)
|
|
ifeq ($(BR2_PRIMARY_SITE_ONLY),)
|
|
DOWNLOAD_URIS += \
|
|
DOWNLOAD_URIS += \
|
|
- -u $(patsubst %/,%,$(dir $(call qstrip,$(1))))
|
|
|
|
|
|
+ $(patsubst %/,%,$(dir $(call qstrip,$(1))))
|
|
ifneq ($(call qstrip,$(BR2_BACKUP_SITE)),)
|
|
ifneq ($(call qstrip,$(BR2_BACKUP_SITE)),)
|
|
DOWNLOAD_URIS += \
|
|
DOWNLOAD_URIS += \
|
|
- -u $(call getschemeplusuri,$(call qstrip,$(BR2_BACKUP_SITE)/$($(PKG)_DL_SUBDIR)),urlencode) \
|
|
|
|
- -u $(call getschemeplusuri,$(call qstrip,$(BR2_BACKUP_SITE)),urlencode)
|
|
|
|
|
|
+ $(call getschemeplusuri,$(call qstrip,$(BR2_BACKUP_SITE)/$($(PKG)_DL_SUBDIR)),urlencode) \
|
|
|
|
+ $(call getschemeplusuri,$(call qstrip,$(BR2_BACKUP_SITE)),urlencode)
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
|
|
@@ -101,7 +101,7 @@ define DOWNLOAD
|
|
-N '$($(PKG)_RAWNAME)' \
|
|
-N '$($(PKG)_RAWNAME)' \
|
|
-o '$($(PKG)_DL_DIR)/$(notdir $(1))' \
|
|
-o '$($(PKG)_DL_DIR)/$(notdir $(1))' \
|
|
$(if $($(PKG)_GIT_SUBMODULES),-r) \
|
|
$(if $($(PKG)_GIT_SUBMODULES),-r) \
|
|
- $(DOWNLOAD_URIS) \
|
|
|
|
|
|
+ $(foreach uri,$(DOWNLOAD_URIS),-u $(uri)) \
|
|
$(QUIET) \
|
|
$(QUIET) \
|
|
-- \
|
|
-- \
|
|
$($(PKG)_DL_OPTS)
|
|
$($(PKG)_DL_OPTS)
|