All of lore.kernel.org
 help / color / mirror / Atom feed
* Difference between target, cross, native and nativesdk.
@ 2015-01-20 11:17 Raphael Philipe
  2015-01-20 12:23 ` Paul Eggleton
  0 siblings, 1 reply; 14+ messages in thread
From: Raphael Philipe @ 2015-01-20 11:17 UTC (permalink / raw)
  To: yocto

Hi,

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

- 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}).

- Recipes that are cross need to inherit cross.bbclass. They are used for  ????

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???

thank you.


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-01-26 18:09 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.