From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] Do I need to install twice?
Date: Wed, 01 Apr 2009 20:38:03 +0200 [thread overview]
Message-ID: <87bprg6wz8.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <461F49CC-88D4-4278-947D-453AAFCFDDC5@cannasoftware.com> (Lloyd Sargent's message of "Wed\, 1 Apr 2009 11\:33\:27 -0500")
>>>>> "Lloyd" == Lloyd Sargent <lloyd@cannasoftware.com> writes:
Lloyd> HOWEVER, I'm a little stumped. If I do the following:
Lloyd> $(MAKE) DESTDIR=$(TARGET_DIR) -C $(WXWIDGETS_DIR) install
Lloyd> The include directory is deleted so I am unable to build files for
Lloyd> WxWidgets. But my libraries are in the right place.
Lloyd> To have include files I can build against I added this line:
Lloyd> $(MAKE) DESTDIR=$(STAGING_DIR) -C $(WXWIDGETS_DIR) install
Lloyd> It gets me the include files but I've this bad feeling that it isn't
Lloyd> the right way to do it.
Lloyd> So have I got this right? Or have I just made a blunder?
No, it's because of the difference between TARGET_DIR and
STAGING_DIR. TARGET_DIR is your final target rootfs, where you
normally don't need header files and so on. For libraries we
additionally install them into STAGING_DIR and tell gcc to look for
header files there.
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2009-04-01 18:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-01 16:33 [Buildroot] Do I need to install twice? Lloyd Sargent
2009-04-01 18:38 ` Peter Korsgaard [this message]
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=87bprg6wz8.fsf@macbook.be.48ers.dk \
--to=jacmet@uclibc.org \
--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