All of lore.kernel.org
 help / color / mirror / Atom feed
* clarifying issues building two SDKs, based on different target images
@ 2016-10-23 14:15 Robert P. J. Day
  2016-10-23 16:16 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2016-10-23 14:15 UTC (permalink / raw)
  To: OE Core mailing list


  if you can tolerate it, a few more questions about building SDKs
before i sit down and start burning through machine cycles configuring
and building for the rest of the day.

  first, given that:

"SDK_RDEPENDS=${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"

do those two variables map *precisely* to the target.manifest and
host.manifest files generated when building an SDK? they *appear* to,
i just wanted to ensure there wasn't some subtle mismatch that might
confuse me later.

  next, i assume that if, in the same build directory, i choose to
build two standard SDKs differing in only the target image:

$ bitbake -c populate_sdk core-image-minimal
$ bitbake -c populate_sdk core-image-sato

all common files between the two SDKs will be reused in the final
construction. so if i build an SDK based on core-image-sato, turning
around and building one based on core-image-minimal should take very
little time indeed, correct?

  finally (and the one i'm most unsure about), if i build those two
SDKs, i'm *assuming* that the x86 nativesdk content will be the same;
it's the target PPC sysroots that will be different (obviously, the
sysroot for sato will be noticeably larger than the one for minimal).

  what happens if i try to install those two SDKs in the same
directory (/opt/poky.2.2/)? would that even work?

  and now, off to read more manual ...

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



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

* Re: clarifying issues building two SDKs, based on different target images
  2016-10-23 14:15 clarifying issues building two SDKs, based on different target images Robert P. J. Day
@ 2016-10-23 16:16 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2016-10-23 16:16 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: OE Core mailing list

On Sun, Oct 23, 2016 at 7:15 AM, Robert P. J. Day <rpjday@crashcourse.ca> wrote:
>
>   if you can tolerate it, a few more questions about building SDKs
> before i sit down and start burning through machine cycles configuring
> and building for the rest of the day.
>
>   first, given that:
>
> "SDK_RDEPENDS=${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"
>
> do those two variables map *precisely* to the target.manifest and
> host.manifest files generated when building an SDK? they *appear* to,
> i just wanted to ensure there wasn't some subtle mismatch that might
> confuse me later.

thats correct.

>
>   next, i assume that if, in the same build directory, i choose to
> build two standard SDKs differing in only the target image:
>
> $ bitbake -c populate_sdk core-image-minimal
> $ bitbake -c populate_sdk core-image-sato
>
> all common files between the two SDKs will be reused in the final
> construction. so if i build an SDK based on core-image-sato, turning
> around and building one based on core-image-minimal should take very
> little time indeed, correct?

Correct

>
>   finally (and the one i'm most unsure about), if i build those two
> SDKs, i'm *assuming* that the x86 nativesdk content will be the same;
> it's the target PPC sysroots that will be different (obviously, the
> sysroot for sato will be noticeably larger than the one for minimal).
>

nativesdk packages are meant for the host on which SDK would install eventually
so it should be independent of target and thusly common for all of target arches

>   what happens if i try to install those two SDKs in the same
> directory (/opt/poky.2.2/)? would that even work?

The superset will remain I guess.

>
>   and now, off to read more manual ...
>
> rday
>
> --
>
> ========================================================================
> Robert P. J. Day                                 Ottawa, Ontario, CANADA
>                         http://crashcourse.ca
>
> Twitter:                                       http://twitter.com/rpjday
> LinkedIn:                               http://ca.linkedin.com/in/rpjday
> ========================================================================
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

end of thread, other threads:[~2016-10-23 16:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-23 14:15 clarifying issues building two SDKs, based on different target images Robert P. J. Day
2016-10-23 16:16 ` Khem Raj

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.