From: "S. Lockwood-Childs" <sjl@vctlabs.com>
To: William Delacre <williamdelacre@gmail.com>,
Mark Asselstine <mark.asselstine@windriver.com>
Cc: openembedded-devel <openembedded-devel@lists.openembedded.org>
Subject: (No subject)
Date: Tue, 31 Jul 2018 11:46:37 -0700 [thread overview]
Message-ID: <20180731184637.GJ20696@vctlabs.com> (raw)
In-Reply-To: <2158826.FCmzKMqH1E@yow-masselst-lx1>
On Tue, Jul 31, 2018 at 10:30:02AM -0400, Mark Asselstine wrote:
> On Tuesday, July 31, 2018 7:54:22 AM EDT William Delacre wrote:
> > Le ven. 27 juil. 2018 à 18:40, S. Lockwood-Childs <sjl@vctlabs.com> a
> >
> > écrit :
> > > It depends on the role of the particular dependency:
> > >
> > > * tool you need to run during build <-- native dependency
> > > * library you need to link against during build <-- target dependency
> >
> > Thanks for the precision :-)
> >
> > My question may seem a bit stupid but how do you know which is which ?
> > Let’s say I want to write a recipe to install any specific software on my
> > target, how do I choose the dependencies ?
> > I have to refer to the software Makefile/CMakeList ?
>
> It is not always easy to see via code inspection. I would suggest keep a
> second build for a different arch than your build host, possibly ARM. Start by
> using the non-native DEPENDS and only if there is an issue with the ARM build
> look at using -native for a DEPENDS.
>
> To be honest I haven't had to worry about this too much as it is rare to run
> into issues.
Yes target build dependencies are more common, so this approach of defaulting
to target rather than native does make sense.
My other advice is to start out by reviewing the build instructions in the
README / INSTALL docs for the software package; if that package requires some
non-standard external build tool ("non-standard" meaning other than
autotools / make etc) that would need to be listed as native dependency,
that tool really should be mentioned in the build instructions.
--SJLC
next prev parent reply other threads:[~2018-07-31 18:42 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-23 12:28 (No subject) William Delacre
2018-07-26 19:40 ` Mark Asselstine
2018-07-27 15:03 ` Mark Asselstine
2018-07-27 16:04 ` William Delacre
2018-07-27 16:16 ` Mark Asselstine
2018-07-27 16:25 ` William Delacre
2018-07-27 16:44 ` S. Lockwood-Childs
2018-07-27 16:42 ` William Delacre
2018-07-27 16:47 ` Mark Asselstine
2018-07-31 11:54 ` William Delacre
2018-07-31 14:30 ` Mark Asselstine
2018-07-31 18:46 ` S. Lockwood-Childs [this message]
2018-07-31 22:34 ` William Delacre
-- strict thread matches above, loose matches on Subject: below --
2018-11-03 17:13 Ankit Navik
2018-06-06 8:05 Parthiban Nallathambi
2017-06-19 14:57 Мар'ян Пріцак
2017-06-19 19:01 ` Josef Holzmayr
2017-06-20 8:07 ` Tamtamis, Panagiotis
2017-06-20 14:07 ` Josef Holzmayr
2017-06-20 14:32 ` Tamtamis, Panagiotis
2017-06-20 14:55 ` Мар'ян Пріцак
2017-04-06 0:06 Andrej Rode
2016-02-23 0:55 Joe MacDonald
2014-07-11 14:54 Philip Balister
2014-07-12 4:55 ` Khem Raj
2013-07-31 15:07 Joe MacDonald
2012-06-21 21:36 Andreas Müller
2012-06-22 9:34 ` Henning Heinold
2012-05-01 7:57 Craig McQueen
2012-05-01 11:00 ` Radoslav Kolev
2012-02-15 12:06 Hauser, Wolfgang (external)
2011-03-01 17:45 Denis 'GNUtoo' Carikli
2011-03-01 18:25 ` Denis 'GNUtoo' Carikli
2010-07-29 10:44 Soumya R
2010-07-01 10:19 Soumya R
2010-07-01 19:04 ` Khem Raj
2010-07-02 2:50 ` Soumya R
2010-06-12 11:46 "Andreas Müller"
2010-06-10 5:56 Soumya R
2010-06-10 6:29 ` Frans Meulenbroeks
2010-06-08 8:22 Soumya R
2010-06-08 14:09 ` Khem Raj
2010-06-02 9:19 Soumya R
2010-06-02 15:41 ` Hodgson, Simon
2010-06-03 2:37 ` Soumya R
2010-06-03 5:10 ` Khem Raj
2010-06-03 8:24 ` Hodgson, Simon
2010-10-29 11:43 ` Nick Lee
2010-06-03 12:13 ` Soumya R
2010-06-03 12:59 ` Nicolas Ferre
2010-03-01 14:46 majo huber
2010-01-23 10:54 saleh usman
2009-08-03 13:18 Gregory Machairidis
2009-06-09 3:17 Rolf Leggewie
2009-06-09 3:26 ` Rolf Leggewie
2009-06-09 3:29 ` Rolf Leggewie
2009-03-19 17:59 Theodore A. Roth
2008-03-10 14:36 Lele
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=20180731184637.GJ20696@vctlabs.com \
--to=sjl@vctlabs.com \
--cc=mark.asselstine@windriver.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=williamdelacre@gmail.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