|
@@ -82,7 +82,7 @@ endif
|
|
|
|
|
|
ifeq ($(BR2_PRIMARY_SITE_ONLY),)
|
|
ifeq ($(BR2_PRIMARY_SITE_ONLY),)
|
|
DOWNLOAD_URIS += \
|
|
DOWNLOAD_URIS += \
|
|
- -u $($(PKG)_SITE_METHOD)+$(dir $(call qstrip,$(1)))
|
|
|
|
|
|
+ -u $($(PKG)_SITE_METHOD)+$(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)/$($(PKG)_DL_SUBDIR)),urlencode) \
|