[Buildroot] [PATCH 11/12] Add support for local packages through 'file://' pseudo-protocol

Thomas De Schampheleire patrickdepinguin+buildroot at gmail.com
Wed Jul 20 09:38:08 UTC 2011


Hi,

On Wed, Jul 20, 2011 at 7:52 AM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> From: David Wagner <david.wagner at free-electrons.com>
>
> This can be used this way :
>
> <pkg>_VERSION = 42
> <pkg>_SITE = file:///some/local/directory
> <pkg>_SOURCE = mypkg-$(<pkg>_VERSION).tar.bz2
>
> Can be useful to integrate a home-made project or for testing purposes.
> The default command to retrieve files is 'cp' but 'rsync' could also be used.
> Through sshfs, it should also be possible to get non-public remote files on a
> ssh server.
>
> [ Thomas Petazzoni: use $(PKG)_SITE and $(PKG)_SOURCE variables
>  instead of $(1) and $(2) ]

If you add support for file:// in BR2_PRIMARY_SITE (see my other
patches), then you do need $(1) here instead of $(PKG)_SITE.

Thomas


More information about the buildroot mailing list