[Buildroot] [PATCH] pkg-download.mk: do not add a trailing slash to <PKG>_SITE
Peter Korsgaard
peter at korsgaard.com
Thu Apr 5 06:35:55 UTC 2018
>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:
Hi,
>> > ifeq ($(BR2_PRIMARY_SITE_ONLY),)
>> > DOWNLOAD_URIS += \
>> > - -u $($(PKG)_SITE_METHOD)+$(dir $(call qstrip,$(1)))
>> > + -u $($(PKG)_SITE_METHOD)+$(patsubst %/,%,$(dir $(call qstrip,$(1))))
>>
>> Alternatively I *THINK* we can just use $($(PKG)_SITE) here.
> No, the <PKG>_PATCH and <PKG>_EXTRA_DOWNLOADS variables may contain full URLs.
Ahh, yes. It did seem too easy ;)
I'll add a note about this and commit, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list