path: root/meta/classes/multilib.bbclass
diff options
authorRichard Purdie <>2015-05-02 10:04:37 +0100
committerRichard Purdie <>2015-05-03 11:39:48 +0100
commitb4cf6631efd526728ac515ced1a7e578674ca6c1 (patch)
tree6a62462ac3db41af69781ab159a848e779977b63 /meta/classes/multilib.bbclass
parent51aaa647b203d0f7ddd2f53f7191c4d2918b09b8 (diff)
multilib: Tweak value of PN used for OVERRIDES
Currently, PN is used in overrides which is expanded to have a MLPREFIX. This means and pn- overrides without the prefix would be ignored which is not what is usually expected. We noticed huge problems using poky-lsb with multilib since the per recipe overrides were not applied. This adds in handling for PN with and without the prefix. This should unbreak world-lsb builds on the autobuilder. Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta/classes/multilib.bbclass')
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass
index eea2fd59a1..2b5d356e43 100644
--- a/meta/classes/multilib.bbclass
+++ b/meta/classes/multilib.bbclass
@@ -18,6 +18,11 @@ python multilib_virtclass_handler () {
if val: + "_MULTILIB_ORIGINAL", val)
+ overrides ="OVERRIDES", False)
+ pn ="PN", False)
+ overrides = overrides.replace("pn-${PN}", "pn-${PN}:pn-" + pn)
+"OVERRIDES", overrides)
if'image',"MLPREFIX", variant + "-")"PN", variant + "-" +"PN", False))