[Buildroot] LIBFOO_SITE in .mk file

Thomas De Schampheleire patrickdepinguin+buildroot at gmail.com
Thu Nov 24 08:15:34 UTC 2011


On Wed, Nov 23, 2011 at 10:38 PM, Jeff Krasky <jeff.krasky at dspcg.com> wrote:
> According to the documentation for making the .mk file
> (http://buildroot.uclibc.org/buildroot.html#autotools-tutorial), what is the
> syntax for specifying a local (hard drive location) of the .bz2 file?
>
> LIBFOO_SITE = http://www.foosoftware.org/download
>
> Is the example given.  Can I just do something like
>
> LIBFOO_SITE = /home/libfoo.tar.bz2

You can use

LIBFOO_SITE = file:///home/libfoo.tar.bz2

(note the three slashes; two from the scheme, the third one for an
absolute path)

Note that using file:// will not really help other people, except if
they have access to the same filesystem. You may consider using an
http/ftp server, or an scp url.

Best regards,
Thomas


More information about the buildroot mailing list