[Buildroot] using a local package file : why copy it to the dl directory ?

Ryan Barnett rjbarnet at rockwellcollins.com
Wed Oct 9 00:06:54 UTC 2013


Sagaert,

Sagaert Johan <sagaert.johan at skynet.be> wrote on 
10/08/2013 06:12:20 PM:

> Dear Thomas
> 
> Maybe I did not explain it well, I did not mean to build out of the 
> tree, but the local package_xxx_tar.bz2 (in the case of tarred
> bz2)
> is already on our local system, so I tought there was no need to copy 
> the archive to the dl directory.

I believe you need to utilize the feature of specifying the DL directory
out-of-tree (outside of the buildroot source). Please see the manual:

http://buildroot.uclibc.org/downloads/manual/manual.html#_location_of_downloaded_packages

Finally when you specify the DL directory, copy or move the 
package_xx_tar.bz2
to the BR2_DL_DIR location. The reason the your tar file get copied to 
this location
is because buildroot's goal is to have every external file it depends on 
in one
location. This is an important feature because it makes it easy for us to 
have
all the packages in one location when we redistribute/release a system put 
together
using buildroot. 

> Johan 

Thanks,
-Ryan

------------------------------------------------------------------------------------------
Ryan J Barnett / Software Engineer / Platform SW
MS 137-157, 855 35th St NE, Cedar Rapids, IA, 52498-3161, US
rjbarnet at rockwellcollins.com
www.rockwellcollins.com
 




More information about the buildroot mailing list