summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2012-07-09 10:11:38 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-09 16:58:54 +0100
commite2b9acb88897fc6758f9d185a3f838aa2bc010c5 (patch)
treeb5f22107ddad43ebbbeace2a188292a4d65cc27b /meta/classes
parentf40ce3e1f4ceebc90b3c058dc82750829149c21d (diff)
downloadpoky-e2b9acb88897fc6758f9d185a3f838aa2bc010c5.tar.gz
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. (From OE-Core rev: d66d2bdf6214939e8b131f47db2f35d3c64e7dd2) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/multilib.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass
index f3e7618c95..b92a3ff295 100644
--- a/meta/classes/multilib.bbclass
+++ b/meta/classes/multilib.bbclass
@@ -54,6 +54,12 @@ python __anonymous () {
54 d.setVar("LINGUAS_INSTALL", "") 54 d.setVar("LINGUAS_INSTALL", "")
55 # FIXME, we need to map this to something, not delete it! 55 # FIXME, we need to map this to something, not delete it!
56 d.setVar("PACKAGE_INSTALL_ATTEMPTONLY", "") 56 d.setVar("PACKAGE_INSTALL_ATTEMPTONLY", "")
57
58 if bb.data.inherits_class('populate_sdk_base', d):
59 clsextend.map_depends_variable("TOOLCHAIN_TARGET_TASK")
60 clsextend.map_depends_variable("TOOLCHAIN_TARGET_TASK_ATTEMPTONLY")
61
62 if bb.data.inherits_class('image', d) or bb.data.inherits_class('populate_sdk_base', d):
57 return 63 return
58 64
59 clsextend.rename_packages() 65 clsextend.rename_packages()