Patchwork [MULTILIB_SUBTASK4,2/5] classes/multilib.bbclass: Change the SHLIBSDIR.

login
register
mail settings
Submitter Lianhao Lu
Date July 5, 2011, 10:51 a.m.
Message ID <1970842424c414db50058ff99c6627e3ca034a04.1309862610.git.lianhao.lu@intel.com>
Download mbox | patch
Permalink /patch/6963/
State New, archived
Headers show

Comments

Lianhao Lu - July 5, 2011, 10:51 a.m.
Changes the SHLIBSDIR for the multilib version, so it won't mix up with
the normal version.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
---
 meta/classes/multilib.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass
index 36c52ef..17edc37 100644
--- a/meta/classes/multilib.bbclass
+++ b/meta/classes/multilib.bbclass
@@ -30,6 +30,7 @@  python multilib_virtclass_handler () {
             e.data.setVar("BASE_PACKAGE_ARCH", "${TARGET_ARCH}")
 
     bb.data.setVar("PN", variant + "-" + bb.data.getVar("PN", e.data, False), e.data)
+    bb.data.setVar("SHLIBSDIR_virtclass-multilib-" + variant ,bb.data.getVar("SHLIBSDIR",e.data,False) + "/" + variant, e.data)
     bb.data.setVar("OVERRIDES", bb.data.getVar("OVERRIDES", e.data, False) + override, e.data)
 }