From: Bernhard Fischer <rep.dot.nop@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] User-space packages - Staging_Dir or Target_Dir
Date: Tue, 28 Aug 2007 14:30:26 +0200 [thread overview]
Message-ID: <20070828123026.GC24891@aon.at> (raw)
In-Reply-To: <b6838d3a0708280435tc49ecfbs563b3aedf3d5b57c@mail.gmail.com>
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
>image?
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
debug-info.
>
>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
target.
See?
next prev parent reply other threads:[~2007-08-28 12:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-28 11:35 [Buildroot] User-space packages - Staging_Dir or Target_Dir Daniel Frey
2007-08-28 11:48 ` Thiago A. Corrêa
2007-08-28 12:30 ` Bernhard Fischer [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-08-28 0:36 Daniel Frey
2007-08-22 23:47 Daniel Frey
2007-08-23 11:26 ` Bernhard Fischer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070828123026.GC24891@aon.at \
--to=rep.dot.nop@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox