summaryrefslogtreecommitdiff
path: root/meta/classes/multilib.bbclass
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:14:51 +0000
commit01fd9be5db633d881c789c5b119f794a3f1000da (patch)
treea059ba6f22bdc36caa7b3ac6527fa7ad0130a121 /meta/classes/multilib.bbclass
parent4fbb72a359fea2e0922f472f48f186bbd1ca2b36 (diff)
downloadopenembedded-core-01fd9be5db633d881c789c5b119f794a3f1000da.tar.gz
openembedded-core-01fd9be5db633d881c789c5b119f794a3f1000da.tar.bz2
openembedded-core-01fd9be5db633d881c789c5b119f794a3f1000da.tar.xz
openembedded-core-01fd9be5db633d881c789c5b119f794a3f1000da.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" Signed-off-by: Matthew McClintock <msm@freescale.com>
Diffstat (limited to 'meta/classes/multilib.bbclass')
-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 87d0cd4f5..61b77655f 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)
}