]> code.ossystems Code Review - openembedded-core.git/commitdiff
multilib: Drop populate_sdk variable manipulation
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Sep 2015 02:04:12 +0000 (19:04 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 26 Sep 2015 16:57:21 +0000 (17:57 +0100)
I believe this code dates from previous times when we didn't extend
the TOOLCHAIN_TARGET* variables to cover all multilibs. We now do
this so this code acutally breaks things by removing the non-multilib
variants.

By changing this, a multilib SDK now contains both sets of base libraries
which matches the tools we ship with it. If the user wishes to customise,
this also becomes easier.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/multilib.bbclass

index 8f61d8d41a414052aef977755e0cd2ece8031f85..c0cb6d7294f236e5cdb702505d8f1bd3d2d7f452 100644 (file)
@@ -93,10 +93,6 @@ python __anonymous () {
         # 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):
         return