diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2012-07-09 10:11:38 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-09 16:48:37 +0100 |
commit | d66d2bdf6214939e8b131f47db2f35d3c64e7dd2 (patch) | |
tree | e01ac70f9223b008a6812cf6c0d6da388e5376ac /meta/classes | |
parent | 68ea7d827710ae7c5cf402887d4c12319038e064 (diff) | |
download | openembedded-core-d66d2bdf6214939e8b131f47db2f35d3c64e7dd2.tar.gz openembedded-core-d66d2bdf6214939e8b131f47db2f35d3c64e7dd2.tar.bz2 openembedded-core-d66d2bdf6214939e8b131f47db2f35d3c64e7dd2.zip |
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.
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.bbclass | 6 |
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 () { 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() |