Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/4] multilib.bbclass: allow TARGET_VENDOR_virtclass-multilib to be overriden
@ 2012-02-27 19:38 Matthew McClintock
  2012-02-27 19:38 ` [PATCH 2/4] bitbake.conf: add default value for TUNE_PKGARCH Matthew McClintock
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Matthew McClintock @ 2012-02-27 19:38 UTC (permalink / raw)
  To: openembedded-core

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>
---
 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 87d0cd4..61b7765 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)
 }
 
-- 
1.7.6.1





^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-02-28 18:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-27 19:38 [PATCH 1/4] multilib.bbclass: allow TARGET_VENDOR_virtclass-multilib to be overriden Matthew McClintock
2012-02-27 19:38 ` [PATCH 2/4] bitbake.conf: add default value for TUNE_PKGARCH Matthew McClintock
2012-02-27 19:38 ` [PATCH 3/4] arch-powerpc.inc: use default value of TUNE_PKGARCH Matthew McClintock
2012-02-27 21:42   ` McClintock Matthew-B29882
2012-02-27 21:52     ` McClintock Matthew-B29882
2012-02-27 19:38 ` [PATCH 4/4] tune-ppc*.inc: update to use new default value for TUNE_PKGARCH Matthew McClintock
2012-02-27 22:55 ` [PATCH 1/4] multilib.bbclass: allow TARGET_VENDOR_virtclass-multilib to be overriden McClintock Matthew-B29882
2012-02-28 18:45 ` Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox