All of lore.kernel.org
 help / color / mirror / Atom feed
From: Raphael Philipe <rapphil@gmail.com>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: yocto@yoctoproject.org
Subject: Re: Difference between target, cross, native and nativesdk.
Date: Tue, 20 Jan 2015 12:39:16 -0200	[thread overview]
Message-ID: <CAENGNhff5-CZRSJaD1t1ppPOOQNrWipF01hAdatWqSkjGVmnVA@mail.gmail.com> (raw)
In-Reply-To: <5100308.QAtzWr7jXK@peggleto-mobl5.ger.corp.intel.com>

Thank you Paul,

On Tue, Jan 20, 2015 at 10:23 AM, Paul Eggleton
<paul.eggleton@linux.intel.com> wrote:
> Hi Raphael,
>
> On Tuesday 20 January 2015 09:17:49 Raphael Philipe wrote:
>> I'm working on a set of recipes that must be configurable to be baked
>> in native, nativesdk, cross and target.
>>
>> I have a bunch of questions concerning this terms. I searched the
>> documentation and wasn't able to find a definitive explanation for
>> these terms.
>>
>> I will write some statements bellow about my understanding on these
>> terms, and I will ask you to please correct me if I'm wrong or add any
>> additional information:
>>
>> - By default, recipes bake binaries for the target architecture that
>> is described in the MACHINE variable in the local.conf
>
> Correct.
>
>> - One can use BBCLASSEXTEND = "native nativesdk" to bake binaries for
>> the host architecture (native) and for target sdk architecture. The
>> target sdk architecture is described in the SDKMACHINE variable and
>> the host architecture is the architecture of the machine executing
>> bitbake. BBCLASSEXTEND = "native nativesdk" will alow you to bake
>> recipes that are "virtual" using the suffix native ( so ${PN}-native)
>> and the prefix nativesdk (so nativesdk-${PN}).
>
> Correct. FYI alternatively you can also "inherit native" or "inherit
> nativesdk" to make a recipe specific to either of those classes (in which case
> the recipe itself should be named <something>-native or nativesdk-
> <something>), however BBCLASSEXTEND is preferred these days.
>
>> - Recipes that are cross need to inherit cross.bbclass. They are used for
>> ????
>
> Cross tools, i.e. tools that need to run in the native context and produce
> some binary output for the target.

For u-boot-fw-utils-cross, the binary that you refer is the enviroment
variables file of u-boot? In this case, the difference between cross
and native is not clear for me.

>
>> I'm looking for the reason why there is a u-boot-fw-utils and a
>> u-boot-fw-utils-cross. One produces a binary for the target and the
>> other for???
>
> Here's the start of the discussion that precipitated this move:
>
>   http://lists.openembedded.org/pipermail/openembedded-core/2013-September/084280.html
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre


  reply	other threads:[~2015-01-20 14:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-20 11:17 Difference between target, cross, native and nativesdk Raphael Philipe
2015-01-20 12:23 ` Paul Eggleton
2015-01-20 14:39   ` Raphael Philipe [this message]
2015-01-20 14:44     ` Paul Eggleton
2015-01-21 13:23       ` Raphael Philipe
2015-01-21 13:37         ` Otavio Salvador
2015-01-22 22:31           ` Dominic Sacré
2015-01-23 12:54             ` Otavio Salvador
2015-01-26 17:02               ` Dominic Sacré
2015-01-26 17:08               ` Denys Dmytriyenko
2015-01-21 19:27         ` Denys Dmytriyenko
2015-01-21 21:23           ` Richard Purdie
2015-01-21 21:31             ` Denys Dmytriyenko
2015-01-21 22:17               ` Richard Purdie

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=CAENGNhff5-CZRSJaD1t1ppPOOQNrWipF01hAdatWqSkjGVmnVA@mail.gmail.com \
    --to=rapphil@gmail.com \
    --cc=paul.eggleton@linux.intel.com \
    --cc=yocto@yoctoproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.