summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2012-02-27 13:38:48 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-28 12:27:51 +0000
commitb3f05552bc549a8f766552c31c1a38a35a1c918a (patch)
tree9694ff3efcb8d0f26a9ab76fb010789766d20400
parente42bc47ef80ae56a2de7b918a7e06cbda30cab10 (diff)
downloadpoky-b3f05552bc549a8f766552c31c1a38a35a1c918a.tar.gz
poky-b3f05552bc549a8f766552c31c1a38a35a1c918a.tar.bz2
poky-b3f05552bc549a8f766552c31c1a38a35a1c918a.zip
multilib.bbclass: allow TARGET_VENDOR_virtclass-multilib to be overriden
If we set this bit, we can override the ugly "pokymllib32" to back to "poky" (powerpc-pokymllib32-linux-gcc -> powerpc-poky-linux-gcc). I've left this unset by default, but can be set by adding the following: TARGET_VENDOR_virtclass-multilib-lib32 = "-poky" (From OE-Core rev: 01fd9be5db633d881c789c5b119f794a3f1000da) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/multilib.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass
index 87d0cd4f5e..61b77655f9 100644
--- a/meta/classes/multilib.bbclass
+++ b/meta/classes/multilib.bbclass
@@ -26,7 +26,8 @@ python multilib_virtclass_handler () {
e.data.setVar("MLPREFIX", variant + "-")
e.data.setVar("PN", variant + "-" + e.data.getVar("PN", False))
e.data.setVar("SHLIBSDIR_virtclass-multilib-" + variant ,e.data.getVar("SHLIBSDIR", False) + "/" + variant)
- e.data.setVar("TARGET_VENDOR_virtclass-multilib-" + variant, e.data.getVar("TARGET_VENDOR", False) + "ml" + variant)
+ if e.data.getVar("TARGET_VENDOR_virtclass-multilib-" + variant, False) is None:
+ e.data.setVar("TARGET_VENDOR_virtclass-multilib-" + variant, e.data.getVar("TARGET_VENDOR", False) + "ml" + variant)
e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + override)
}