[OE-core] [PATCH 0/6] Fixes for mutilib SDK
Robert Yang
liezhi.yang at windriver.com
Tue Sep 22 02:45:56 UTC 2015
Hi RP and Ross,
These patches are required by multilib's do_rootfs and do_populate_sdk,
otherwise they are broken or partly broken. These patches don't affect
do_rootfs or do_populate_sdk without multilib are to be installed.
// Robert
On 09/16/2015 10:04 AM, Robert Yang wrote:
> * This fixed:
> MACHINE = "qemux86-64"
> require conf/multilib.conf
> MULTILIBS = "multilib:lib32"
> DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
>
> $ bitbake core-image-minimal -cpopulate_sdk
> Install poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-1.8+snapshot.sh,
> then source environment-setup-core2-64-pokymllib32-linux or
> environment-setup-core2-64-poky-linux, both of them will compile hello.c
> well. (The 32bit was broken in the past)
>
> $ bitbake lib32-core-image-minimal -cpopulate_sdk
> Install poky-glibc-x86_64-lib32-core-image-minimal-core2-64-toolchain-1.8+snapshot.sh,
> then source environment-setup-core2-64-poky-linux or
> environment-setup-core2-64-pokymllib32-linux, both of them will compile
> hello.c well (neither of them worked in the past)
>
> This also fixed the problem that not all dependencies mutilib packages
> are installed, please see:
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=4408
>
> Tested:
> $ bitbake core-image-minimal core-image-sato -cpopulate_sdk && bitbake core-image-sato-sdk world core-image-minimal core-image-sato
>
> // Robert
>
> The following changes since commit f0189829498e30231d826c9f55aad73e622d076e:
>
> qemu: Update to upstream patches (2015-09-14 11:22:02 +0100)
>
> are available in the git repository at:
>
> git://git.openembedded.org/openembedded-core-contrib rbt/sdk
> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/sdk
>
> Robert Yang (6):
> toolchain-shar-extract.sh: remove checkbashism
> oe-pkgdata-util: avoid returning skipped packages
> package_manager.py: make rpm install mutilib pkgs corectly
> multilib.bbclass: install all bits toochains when populate mlprefix
> SDK
> populate_sdk_base.bbclass: fix SDKTARGETSYSROOT when populate
> mlprefix SDK
> meta-environment.bb: fix environment-setup* when populate mlprefix
> SDK
>
> meta/classes/multilib.bbclass | 15 +++++
> meta/classes/populate_sdk_base.bbclass | 6 +-
> meta/files/toolchain-shar-extract.sh | 4 +-
> meta/lib/oe/package_manager.py | 83 +++++++++++++++++++++++++++-
> meta/recipes-core/meta/meta-environment.bb | 4 ++
> scripts/oe-pkgdata-util | 5 +-
> 6 files changed, 111 insertions(+), 6 deletions(-)
>
More information about the Openembedded-core
mailing list