Skip to content

Fixes for mutilib SDK

Robert Yang openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6toolchain-shar-extract.sh: remove checkbashismmeta/files/toolchain-shar-extract.sh+2 -20 replies
2/6oe-pkgdata-util: avoid returning skipped packagesscripts/oe-pkgdata-util+4 -10 replies
3/6package_manager.py: make rpm install mutilib pkgs corectlymeta/lib/oe/package_manager.py+81 -20 replies
4/6multilib.bbclass: install all bits toochains when populate mlprefix SDKmeta/classes/multilib.bbclass+14 -00 replies
5/6populate_sdk_base.bbclass: fix SDKTARGETSYSROOT when populate mlprefix SDKmeta/classes/multilib.bbclass meta/classes/populate_sdk_base.bbclass+6 -10 replies
6/6meta-environment.bb: fix environment-setup* when populate mlprefix SDKmeta/recipes-core/meta/meta-environment.bb+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Fixes for mutilib SDK

* 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(-)
Signature · 1 line
1.7.9.5