[Buildroot] User-space packages - Staging_Dir or Target_Dir

Daniel Frey dmfrey+linux at gmail.com
Tue Aug 28 11:35:03 UTC 2007

Do I need to explicitly copy what I install into the staging dir into the
root dir in order for the new libraries to be included in the resulting

I have seen this done in the xml2 makefile and I wasn't sure if it was
needed for every package.


>On Wed, Aug 22, 2007 at 07:47:59PM -0400, Daniel Frey wrote:
>>When constructing my make files for my packages in the package/, what is
>>suggested installation directory, TARGET_DIR or STAGING_DIR?
>>Some of the included packages install them to STAGING_DIR.  The
>>Documentation on the buildroot website has them installed in the
>>Is there a correct way, or preferred way?
>Depends :)
>Files that go straight to the target have to me installed to the
>TARGET_DIR. Intermediate files (prerequisites of stuff that will be on
>the target like helper libraries, headers, etc) have to live in
>STAGING_DIR. Sometimes only a small fraction of files in the staging_dir
>is needed in the real target, so they are copied selectively.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20070828/84514f0e/attachment.html>

More information about the buildroot mailing list