mulitlib.bbclass: Ensure correct value of ALL_MULTILIB_PACKAGE_ARCHS is preserved

Submitted by Richard Purdie on April 14, 2012, 9:46 p.m. | Patch ID: 25849


Message ID 1334439977.8545.4.camel@ted
State Accepted
Commit 529bc145152bb36d9696226b93729377a3b6a240
Headers show

Commit Message

Richard Purdie April 14, 2012, 9:46 p.m.
The value of ALL_MULTILIB_PACKAGE_ARCHS needs to be consistent both
in multilib extended recipes and in normal context. If this isn't the
case it can lead to inconsistent configuration files at a minimum.

This patch ensures the value is preserved during the class extension code
since computing it after that point is hard.

[YOCTO #2290]

Signed-off-by: Richard Purdie <>

Patch hide | download patch | download mbox

diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass
index 61b7765..c2d2f85 100644
--- a/meta/classes/multilib.bbclass
+++ b/meta/classes/multilib.bbclass
@@ -20,6 +20,9 @@  python multilib_virtclass_handler () {, True)
         if val:
    + "_MULTILIB_ORIGINAL", val)
+    # Expand this since this won't work correctly once we set a multilib into place
     override = ":virtclass-multilib-" + variant