]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
staging.bbclass: staging_populate_sysroot_dir(): fix for multilib
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 23 Oct 2017 08:05:23 +0000 (16:05 +0800)
committerRobert Yang <liezhi.yang@windriver.com>
Wed, 22 Nov 2017 03:02:15 +0000 (11:02 +0800)
commit4d262e107568286f0a941eca5302b94b1719ec72
tree08c91b0fd71e31ff8d212095c07ff6dd93301652
parentb6bbb78bdc8ac7b04a5fda917dda4859037eefb5
staging.bbclass: staging_populate_sysroot_dir(): fix for multilib

Fixed:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"

$ bitbake core-image-sato lib32-core-image-sato
$ bitbake build-sysroots

All lib32 manifests which had been built should be installed, but only a few
such as qemux86_64-lib32-base-files were installed (it was installed because
MACHINE_ARCH was still qemux86-64 when multilib), but others such as
x86-lib32-zlib were not installed, this was incorrect. For multilib builds,
fix-up overrides to prepend :virtclass-multilib- and then again append
additional multilib arches from the PACKAGE_EXTRA_ARCHS list if needed can fix
the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/classes/staging.bbclass