From: thomas.petazzoni@free-electrons.com (Thomas Petazzoni)
Subject: [lttng-dev] [LTTNG][LTTng-ust] "Out of system" building patches.
Date: Mon, 26 Aug 2013 16:22:49 +0200 [thread overview]
Message-ID: <20130826162249.4b450edb@skate> (raw)
In-Reply-To: <CAMaFG-3HCsKngNE1cNv9PfCFuhnHwsON=T-q084ZjD+1Aj2Zqg@mail.gmail.com>
Dear Jimmy Durand,
On Sat, 24 Aug 2013 17:34:16 +0200, Jimmy Durand wrote:
> > What feature is this patchset adding that is not covered by the usual
> > approach ? Or what is it fixing ?
> >
> Actually, this is enough for a regular system build, but if you wish to
> build
> it in another directory with --prefix=<PATH>, which is the case for cross-
> compiling, this not enough.
When I hear someone say that --prefix=... is needed for
cross-compilation, it's usually an indication that the
cross-compilation is done incorrectly.
--prefix indicates the location where the software will be *executed*
on the target. So even when you're cross-compiling, the default of
--prefix=/usr or --prefix=/usr/local is fine.
All what you need to do is pass
DESTDIR=/your/temporary/location/on/your/build/machine when doing make
install.
Buildroot (http://buildroot.org), which some of your colleagues at
OpenWide are using, does cross-compile LTTng without such changes to
LTTng build system.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
prev parent reply other threads:[~2013-08-26 14:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1377160051-12449-1-git-send-email-jimmy.durand.wesolowski@gmail.com>
[not found] ` <20130822125523.GB26852@Krystal>
[not found] ` <CAMaFG-3HCsKngNE1cNv9PfCFuhnHwsON=T-q084ZjD+1Aj2Zqg@mail.gmail.com>
[not found] ` <20130824175909.GA12409@Krystal>
2013-08-24 19:42 ` Jimmy Durand
2013-08-26 7:43 ` Jimmy Durand Wesolowski
2013-08-26 14:24 ` Thomas Petazzoni
2013-08-26 15:11 ` Mathieu Desnoyers
2013-08-26 15:14 ` Jimmy Durand Wesolowski
2013-08-26 15:19 ` Mathieu Desnoyers
2013-08-26 15:27 ` Mathieu Desnoyers
2013-08-26 15:53 ` Jimmy Durand Wesolowski
2013-08-26 16:00 ` Mathieu Desnoyers
2013-08-27 15:02 ` Jimmy Durand Wesolowski
2013-08-26 15:13 ` Jimmy Durand Wesolowski
2013-08-26 14:22 ` Thomas Petazzoni [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=20130826162249.4b450edb@skate \
--to=thomas.petazzoni@free-electrons.com \
/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