diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2013-08-02 17:46:40 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-30 18:06:26 +0100 |
commit | a27d5b08d438861309827aecb731c29218679730 (patch) | |
tree | 4d4a3f025d9290a0fea394b758d81c50da1df912 /meta | |
parent | ce37ef05c14ba28773823d1f14f629c37c76d827 (diff) | |
download | openembedded-core-a27d5b08d438861309827aecb731c29218679730.tar.gz openembedded-core-a27d5b08d438861309827aecb731c29218679730.tar.bz2 openembedded-core-a27d5b08d438861309827aecb731c29218679730.zip |
multilib.bbclass: Expand the WHITELISTs with multilib prefix
fix the following failures:
ERROR: Nothing PROVIDES 'virtual/lib32-i586-pokymllib32-linux-compilerlibs'
ERROR: Nothing RPROVIDES 'lib32-update-alternatives-cworth'
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/multilib.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index b04825f987..dac160e17e 100644 --- a/meta/classes/multilib.bbclass +++ b/meta/classes/multilib.bbclass @@ -50,6 +50,13 @@ python multilib_virtclass_handler () { e.data.setVar("SHLIBSDIR_virtclass-multilib-" + variant ,e.data.getVar("SHLIBSDIR", False) + "/" + variant) e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + override) + # Expand the WHITELISTs with multilib prefix + for whitelist in ["HOSTTOOLS_WHITELIST_GPLv3", "WHITELIST_GPLv3", "LGPLv2_WHITELIST_GPLv3"]: + pkgs = e.data.getVar(whitelist, True) + for pkg in pkgs.split(): + pkgs += " " + variant + "-" + pkg + e.data.setVar(whitelist, pkgs) + # DEFAULTTUNE can change TARGET_ARCH override so expand this now before update_data newtune = e.data.getVar("DEFAULTTUNE_" + "virtclass-multilib-" + variant, False) if newtune: |