[Buildroot] [PATCH 1 of 6] pkg-download.mk: allow using localfiles outside of package infrastructure

Thomas De Schampheleire patrickdepinguin+buildroot at gmail.com
Wed Jun 6 20:18:55 UTC 2012


Op 6 jun. 2012 22:15 schreef "Thomas Petazzoni" <
thomas.petazzoni at free-electrons.com> het volgende:
>
> Le Tue, 05 Jun 2012 21:22:12 +0200,
> Thomas De Schampheleire <patrickdepinguin+buildroot at gmail.com> a écrit :
>
> > The localfiles download method uses $($(PKG)_SITE))) and
> > $($(PKG)_SOURCE) instead of $(1) and $(2). This means that it can only
> > be used for package downloads (through gentargets, autotargets, ...)
> > and not for other downloads like external toolchains.
> >
> > This patch changes localfiles to allow this, just as the wget and scp
> > download methods already did.
> > For the version control download methods, nothing changes.
> >
> > Signed-off-by: Thomas De Schampheleire <
thomas.de.schampheleire at gmail.com>
>
> I generally agree with this, but for consistency sake, it should
> probably done similarly for all other download methods, no? Of course,
> it can be done later as separate patches, the code is already
> inconsistent, so this patch does not make it worse from that
> perspective.

Well, for wget and scp it was already ok, and I didn't think it made sense
for the git, bzr, hg and svn methods, as you'd only use these for packages,
right?

Best regards,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20120606/f7ba63d9/attachment-0001.html>


More information about the buildroot mailing list