Skip to contentSkip to conversation

Image/SDK multilib fixes [resend]

PATCH Applied Mark Hatle 2 participants 3 messages Jul 9, 2012

lore
Share & tools
lore

Mark Hatle

author
#0 lore raw

cover Image/SDK multilib fixes [resend]

This is a rebased/resend of the "multilib: Enable multilib remapping for SDK generation fix"

There have been no changes other then a rebase or current origin/master.

--Mark

The following changes since commit 68ea7d827710ae7c5cf402887d4c12319038e064:

package_rpm: Avoid duplicate package generation failures (2012-07-09 11:37:29 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib mhatle/sdk
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/sdk

Mark Hatle (1):
multilib: Enable multilib remapping for SDK generation

 meta/classes/multilib.bbclass |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
Signature · 1 line
1.7.3.4
author
#1 lore raw

PATCH 1/1 multilib: Enable multilib remapping for SDK generation

Enable the remapping for SDK generation, this is required to be able to create an SDK that targets an alternative multilib. Note, this work does not finish SDK/multilib support, but it is one more step toward making it work properly.

---
 meta/classes/multilib.bbclass |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
meta/classes/multilib.bbclass +6 -0
index f3e7618..b92a3ff 100644
@@ -54,6 +54,12 @@ python __anonymous () {
         d.setVar("LINGUAS_INSTALL", "")
         # FIXME, we need to map this to something, not delete it!
         d.setVar("PACKAGE_INSTALL_ATTEMPTONLY", "")
+
+    if bb.data.inherits_class('populate_sdk_base', d):
+        clsextend.map_depends_variable("TOOLCHAIN_TARGET_TASK")
+        clsextend.map_depends_variable("TOOLCHAIN_TARGET_TASK_ATTEMPTONLY")
+
+    if bb.data.inherits_class('image', d) or bb.data.inherits_class('populate_sdk_base', d):
         return
 
     clsextend.rename_packages()
Signature · 1 line
1.7.3.4
Applied
#2 lore raw
In reply to Mark Hatle
Quoted 15 lines · Mark Hatle

This is a rebased/resend of the "multilib: Enable multilib remapping for SDK generation fix"

There have been no changes other then a rebase or current origin/master.

--Mark

The following changes since commit 68ea7d827710ae7c5cf402887d4c12319038e064:

   package_rpm: Avoid duplicate package generation failures (2012-07-09 11:37:29 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib mhatle/sdk
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/sdk

Quoted 6 lines

Mark Hatle (1):
multilib: Enable multilib remapping for SDK generation

  meta/classes/multilib.bbclass |    6 ++++++
  1 files changed, 6 insertions(+), 0 deletions(-)

Merged into OE-Core

Thanks
Sau!