[Buildroot] [PATCH] Add support for plain URL in $(PKG)_PATCH variable

Jérôme Pouiller jezz at sysmic.org
Wed Jan 30 23:11:08 UTC 2013


On Wednesday 30 January 2013 23:54:23 Yann E. MORIN wrote:
> Jérôme, All,
> 
> On Wednesday 30 January 2013 Jérôme Pouiller wrote:
> > Until now, $(PKG)_PATCH allow only to download patches from same URL than
> > tarball. This patch allow to detect when plain URL are used in
> > $(PKG)_PATCH and correctly handle them.
> > 
> > Downloaded patches are named
> > $(PKG_NAME)-$(PKG_VERSION)-$(PKG_PATCH_FILENAME).patch
> Well, I meant: $(PKG_NAME)-$(PKG_VERSION)-$(PKG_PATCH_FILENAME)
> We should keep the original filename (in case it is compresed).
In this case, I think files ending with .diff will not work (and compressed 
patches are not supported without a HOOK).

[...]
> > +			$(call DOWNLOAD,$($(PKG)_SITE)/$(p))\
> 
> The naming should also be applied for the 'plain-file' case, too.
Sure.

[...]
-- 
Jérôme Pouiller



More information about the buildroot mailing list