[Buildroot] [PATCH] pkg-download: make package name optional in github helper

Ismael Luceno ismael at iodev.co.uk
Thu Oct 5 21:20:10 UTC 2017


On 05/Oct/2017 19:50, Arnout Vandecappelle wrote:
> On 05-10-17 12:13, Ismael Luceno wrote:
<...>
> > It's "magic" anyway. It would perhaps make sense to implement this kind
> > of rules via rewriting AXEL_SITE, it could be something descriptive like:
> > 
> > 	AXEL_SITE = @ github user:axel-download-accelerator repo:libtls
> > 
> > Here's a mockup: http://tmp.iodev.co.uk/rtest.mk
> 
> Here also I don't think the added complexity in the implementation is
> worth it.  It is indeed a bit more explicit, but now you have to
> remember that the arguments are called user: and repo:. For me,
> $(call github,axel-download-accelerator,libtls) is an easy-to-remember
> way to refer to https://github.com/axel-download-accelerator/libtls.

Well, it's an interesting exercise anyway; I've simplified it a little
bit (same URL), I think this could be useful for other purposes.

It's perhaps not so obvious where to look for to see how it works, but
documentation fixes that.



More information about the buildroot mailing list