[Buildroot] User-space packages - Staging_Dir or Target_Dir
rep.dot.nop at gmail.com
Tue Aug 28 12:30:26 UTC 2007
On Tue, Aug 28, 2007 at 07:35:03AM -0400, Daniel Frey wrote:
>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 handle it like this:
staging_dir contains non-stripped stuff.
If a file is needed on the target, it has to be copied to the target.
That copy (in target_dir) is then (eventually) stripped.
This provides for easy debugging in the staging_dir since those contain
>I have seen this done in the xml2 makefile and I wasn't sure if it was
>needed for every package.
It is not needed for every package.
Think about tcpdump/libpcap. Consider how you don't want libpcap on your
target if the only app that is using it is tcpdump anyway. You would
rather link tcpdump against libpcap.a and only install tcpdump to the
More information about the buildroot