diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-11-28 01:34:19 -0800 |
---|---|---|
committer | Robert Yang <liezhi.yang@windriver.com> | 2016-11-28 17:27:30 -0800 |
commit | b10dffaf537bc8bebc034d64afa1f477cd50cccc (patch) | |
tree | f3ca6dd2c2e349da47edf706848a1cdb55618a78 /scripts/pybootchartgui | |
parent | af280990bff4a484fd8a18e3442b56a0a39b7611 (diff) | |
download | openembedded-core-contrib-rbt/img.tar.gz |
multilib.bbclass: update DEFAULTTUNE for image reciperbt/img
Fixed:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
$ bitbake -e lib32-core-image-minimal | grep ^TUNE_ARCH=
TUNE_ARCH="x86_64"
This is incorrect, it should be i686 (or other 32 bit tunes), this makes
we can't conditionlly install some packages, for example, the recipe-A
sets:
COMPATIBLE_HOST = "x86_64.*-linux"
Then it only can be installed when TARGET_ARCH is x86_64:
IMAGE_INSTALL_x86-64 += "package-A"
But it would be error when "bitbake lib32-core-image-minimal":
ERROR: lib32-recipe-A was skipped: incompatible with host i686-pokymllib32-linux (not in COMPATIBLE_HOST)
This is because TARGET_ARCH is not updated to "i686" when multilib, this
patch can fix the problem.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'scripts/pybootchartgui')
0 files changed, 0 insertions, 0 deletions