diff options
author | Matthew McClintock <msm@freescale.com> | 2012-02-27 13:38:48 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-28 12:27:51 +0000 |
commit | b3f05552bc549a8f766552c31c1a38a35a1c918a (patch) | |
tree | 9694ff3efcb8d0f26a9ab76fb010789766d20400 /meta | |
parent | e42bc47ef80ae56a2de7b918a7e06cbda30cab10 (diff) | |
download | poky-b3f05552bc549a8f766552c31c1a38a35a1c918a.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/multilib.bbclass | 3 |
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 () { | |||
26 | e.data.setVar("MLPREFIX", variant + "-") | 26 | e.data.setVar("MLPREFIX", variant + "-") |
27 | e.data.setVar("PN", variant + "-" + e.data.getVar("PN", False)) | 27 | e.data.setVar("PN", variant + "-" + e.data.getVar("PN", False)) |
28 | e.data.setVar("SHLIBSDIR_virtclass-multilib-" + variant ,e.data.getVar("SHLIBSDIR", False) + "/" + variant) | 28 | e.data.setVar("SHLIBSDIR_virtclass-multilib-" + variant ,e.data.getVar("SHLIBSDIR", False) + "/" + variant) |
29 | e.data.setVar("TARGET_VENDOR_virtclass-multilib-" + variant, e.data.getVar("TARGET_VENDOR", False) + "ml" + variant) | 29 | if e.data.getVar("TARGET_VENDOR_virtclass-multilib-" + variant, False) is None: |
30 | e.data.setVar("TARGET_VENDOR_virtclass-multilib-" + variant, e.data.getVar("TARGET_VENDOR", False) + "ml" + variant) | ||
30 | e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + override) | 31 | e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + override) |
31 | } | 32 | } |
32 | 33 | ||