[OE-core] clarifying issues building two SDKs, based on different target images

Khem Raj raj.khem at gmail.com
Sun Oct 23 16:16:22 UTC 2016


On Sun, Oct 23, 2016 at 7:15 AM, Robert P. J. Day <rpjday at 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 at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list